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_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 #include <wx/image.h>
2931 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2932 char** cArray
= NULL
;
2935 if (!PyList_Check(listOfStrings
)) {
2936 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2939 count
= PyList_Size(listOfStrings
);
2940 cArray
= new char*[count
];
2942 for(int x
=0; x
<count
; x
++) {
2943 // TODO: Need some validation and error checking here
2944 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2950 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2951 char** cArray
= NULL
;
2954 cArray
= ConvertListOfStrings(listOfStrings
);
2957 bmp
= new wxBitmap(cArray
);
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2964 PyString_AsStringAndSize(bits
, &buf
, &length
);
2965 return new wxBitmap(buf
, width
, height
, depth
);
2967 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2968 wxSize
size(self
->GetWidth(), self
->GetHeight());
2971 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2972 wxMask
*mask
= new wxMask(*self
, colour
);
2973 self
->SetMask(mask
);
2975 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2976 self
->SetWidth(size
.x
);
2977 self
->SetHeight(size
.y
);
2979 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2980 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2982 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2983 // appears to me that the other platforms are already doing it, so I'll just
2984 // automatically do it for wxMSW here.
2986 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2987 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2989 #define wxPy_premultiply(p, a) (p)
2990 #define wxPy_unpremultiply(p, a) (p)
2994 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2995 buffer data
, int DATASIZE
,
2996 buffer alpha
, int ALPHASIZE
)
2998 if (DATASIZE
!= width
*height
*3) {
2999 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3003 if (ALPHASIZE
!= width
*height
) {
3004 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3008 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3009 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3011 // raise an exception...
3012 wxPyErr_SetString(PyExc_RuntimeError
,
3013 "Failed to gain raw access to bitmap data.");
3018 wxAlphaPixelData::Iterator
p(pixData
);
3019 for (int y
=0; y
<height
; y
++) {
3020 wxAlphaPixelData::Iterator rowStart
= p
;
3021 for (int x
=0; x
<width
; x
++) {
3022 byte a
= *(alpha
++);
3023 p
.Red() = wxPy_premultiply(*(data
++), a
);
3024 p
.Green() = wxPy_premultiply(*(data
++), a
);
3025 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3030 p
.OffsetY(pixData
, 1);
3035 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3037 if (DATASIZE
!= width
*height
*3) {
3038 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3042 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3043 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3045 // raise an exception...
3046 wxPyErr_SetString(PyExc_RuntimeError
,
3047 "Failed to gain raw access to bitmap data.");
3051 wxNativePixelData::Iterator
p(pixData
);
3052 for (int y
=0; y
<height
; y
++) {
3053 wxNativePixelData::Iterator rowStart
= p
;
3054 for (int x
=0; x
<width
; x
++) {
3055 p
.Red() = *(data
++);
3056 p
.Green() = *(data
++);
3057 p
.Blue() = *(data
++);
3061 p
.OffsetY(pixData
, 1);
3067 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3069 if (DATASIZE
!= width
*height
*4) {
3070 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3074 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3075 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3077 // raise an exception...
3078 wxPyErr_SetString(PyExc_RuntimeError
,
3079 "Failed to gain raw access to bitmap data.");
3084 wxAlphaPixelData::Iterator
p(pixData
);
3085 for (int y
=0; y
<height
; y
++) {
3086 wxAlphaPixelData::Iterator rowStart
= p
;
3087 for (int x
=0; x
<width
; x
++) {
3089 p
.Red() = wxPy_premultiply(*(data
++), a
);
3090 p
.Green() = wxPy_premultiply(*(data
++), a
);
3091 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3092 p
.Alpha() = a
; data
++;
3096 p
.OffsetY(pixData
, 1);
3102 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3104 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3105 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3106 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3108 self
->Green() = green
;
3109 self
->Blue() = blue
;
3111 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3112 PyObject
* rv
= PyTuple_New(3);
3113 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3114 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3115 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3119 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3121 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3122 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3123 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3124 self
->Red() = wxPy_premultiply(red
, alpha
);
3125 self
->Green() = wxPy_premultiply(green
, alpha
);
3126 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3127 self
->Alpha() = alpha
;
3129 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3130 PyObject
* rv
= PyTuple_New(4);
3131 int red
= self
->Red();
3132 int green
= self
->Green();
3133 int blue
= self
->Blue();
3134 int alpha
= self
->Alpha();
3136 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3137 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3138 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3139 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3142 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3143 if ( !colour
.IsOk() )
3144 return new wxMask(bitmap
, *wxBLACK
);
3146 return new wxMask(bitmap
, colour
);
3149 #include <wx/iconbndl.h>
3151 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3152 wxIcon
* icon
= new wxIcon();
3153 icon
->CopyFromBitmap(bmp
);
3156 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3157 char** cArray
= NULL
;
3160 cArray
= ConvertListOfStrings(listOfStrings
);
3163 icon
= new wxIcon(cArray
);
3167 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3171 return new wxIconLocation(*filename
);
3174 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3181 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3188 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3190 wxImage
img(cursorName
, type
);
3191 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3192 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3193 return new wxCursor(img
);
3195 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3200 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3203 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3204 return self
->operator bool();
3207 #include <wx/fontutil.h>
3208 #include <wx/fontmap.h>
3209 #include <wx/fontenum.h>
3211 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3212 return self
->ToString();
3215 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3216 static wxNativeEncodingInfo info
;
3217 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3224 SWIGINTERNINLINE PyObject
*
3225 SWIG_From_size_t (size_t value
)
3227 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3231 SWIGINTERNINLINE
int
3232 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3235 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3236 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3240 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3241 wxFontEncoding alt_enc
;
3242 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3243 return PyInt_FromLong(alt_enc
);
3249 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3250 wxNativeFontInfo nfi
;
3251 nfi
.FromString(info
);
3252 return new wxFont(nfi
);
3254 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3255 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3257 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3258 return wxFontBase::New(pixelSize
, family
,
3259 style
, weight
, underlined
,
3262 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3263 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3265 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3266 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3268 class wxPyFontEnumerator
: public wxFontEnumerator
{
3270 wxPyFontEnumerator() {}
3271 ~wxPyFontEnumerator() {}
3273 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3274 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3279 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3280 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3283 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3285 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3287 ret
= wxArrayString2PyList_helper(arr
);
3288 wxPyEndBlockThreads(blocked
);
3291 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3293 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3294 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3295 ret
= wxArrayString2PyList_helper(arr
);
3296 wxPyEndBlockThreads(blocked
);
3302 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3305 loc
= new wxLocale();
3307 loc
= new wxLocale(language
, flags
);
3308 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3309 // for the floating point conversions and such to work right.
3310 #if PY_VERSION_HEX < 0x02040000
3311 setlocale(LC_NUMERIC
, "C");
3315 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3316 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3317 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3318 // for the floating point conversions and such to work right.
3319 #if PY_VERSION_HEX < 0x02040000
3320 setlocale(LC_NUMERIC
, "C");
3324 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3325 bool rc
= self
->Init(language
, flags
);
3326 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3327 // for the floating point conversions and such to work right.
3328 #if PY_VERSION_HEX < 0x02040000
3329 setlocale(LC_NUMERIC
, "C");
3334 class wxPyLocale
: public wxLocale
3339 wxPyLocale(const wxChar
*szName
, // name (for messages)
3340 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3341 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3342 bool bLoadDefault
= true, // preload wxstd.mo?
3343 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3345 wxPyLocale(int language
, // wxLanguage id or custom language
3346 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3350 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3351 const wxChar
*szDomain
= NULL
) const;
3352 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3353 const wxChar
*szOrigString2
, size_t n
,
3354 const wxChar
*szDomain
= NULL
) const;
3356 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3357 const wxChar
*szDomain
= NULL
) const;
3358 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3359 const wxChar
*szOrigString2
, size_t n
,
3360 const wxChar
*szDomain
= NULL
) const;
3364 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3367 wxPyLocale::wxPyLocale() : wxLocale()
3371 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3372 const wxChar
*szShort
, // dir prefix (for msg files)
3373 const wxChar
*szLocale
, // locale (for setlocale)
3374 bool bLoadDefault
, // preload wxstd.mo?
3375 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3376 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3380 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3381 int flags
) : wxLocale(language
, flags
)
3385 wxPyLocale::~wxPyLocale()
3389 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3390 const wxChar
*szDomain
) const
3392 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3393 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3396 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3397 const wxChar
*szOrigString2
, size_t n
,
3398 const wxChar
*szDomain
) const
3400 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3401 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3404 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3405 const wxChar
*szDomain
) const
3408 static wxString str
;
3409 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.
3410 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3411 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3412 PyObject
* param1
= wx2PyString(szOrigString
);
3413 PyObject
* param2
= wx2PyString(szDomain
);
3414 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3418 str
= Py2wxString(ret
);
3422 wxPyEndBlockThreads(blocked
);
3423 return (found
? (wxChar
*)str
.c_str() : NULL
);
3426 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3427 const wxChar
*szOrigString2
, size_t n
,
3428 const wxChar
*szDomain
) const
3431 static wxString str
;
3432 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.
3433 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3434 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3435 PyObject
* param1
= wx2PyString(szOrigString
);
3436 PyObject
* param2
= wx2PyString(szOrigString2
);
3437 PyObject
* param4
= wx2PyString(szDomain
);
3438 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3443 str
= Py2wxString(ret
);
3447 wxPyEndBlockThreads(blocked
);
3448 return (found
? (wxChar
*)str
.c_str() : NULL
);
3451 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3454 loc
= new wxPyLocale();
3456 loc
= new wxPyLocale(language
, flags
);
3457 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3458 // for the floating point conversions and such to work right.
3459 #if PY_VERSION_HEX < 0x02040000
3460 setlocale(LC_NUMERIC
, "C");
3465 #include "wx/wxPython/pydrawxxx.h"
3467 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3469 self
->GetPixel(x
, y
, &col
);
3472 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3474 self
->GetPixel(pt
, &col
);
3479 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3481 if (PyNumber_Check(obj
)) {
3482 if (val
) *val
= PyFloat_AsDouble(obj
);
3485 return SWIG_TypeError
;
3488 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3490 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3493 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3495 self
->GetClippingBox(rect
);
3498 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3500 self
->GetPartialTextExtents(text
, widths
);
3504 #define SWIG_From_double PyFloat_FromDouble
3506 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3507 self
->SetLogicalOrigin(point
.x
, point
.y
);
3509 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3510 self
->SetDeviceOrigin(point
.x
, point
.y
);
3512 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3513 self
->CalcBoundingBox(point
.x
, point
.y
);
3515 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3516 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3518 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3519 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3521 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3522 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3524 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3525 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3527 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3528 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3530 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3531 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3534 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3542 #include <wx/dcbuffer.h>
3545 #include <wx/dcps.h>
3548 class wxMetaFile
: public wxObject
{
3550 wxMetaFile(const wxString
&)
3551 { wxPyRaiseNotImplemented(); }
3554 class wxMetaFileDC
: public wxClientDC
{
3556 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3557 { wxPyRaiseNotImplemented(); }
3562 class wxPrinterDC
: public wxClientDC
{
3564 wxPrinterDC(const wxPrintData
&)
3565 { wxPyRaiseNotImplemented(); }
3570 #include <wx/graphics.h>
3573 #if !wxUSE_GRAPHICS_CONTEXT
3574 // C++ stub classes for platforms or build configurations that don't have
3575 // wxGraphicsContext yet.
3578 class wxGraphicsObject
: public wxObject
3581 wxGraphicsObject( wxGraphicsRenderer
* ) {
3582 PyErr_SetString(PyExc_NotImplementedError
,
3583 "wx.GraphicsObject is not available on this platform.");
3585 wxGraphicsObject( const wxGraphicsObject
& ) {}
3586 virtual ~wxGraphicsObject() {}
3587 bool IsNull() const { return false; }
3588 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3593 class wxGraphicsPen
: public wxGraphicsObject
3596 virtual ~wxGraphicsPen() {}
3598 wxGraphicsPen wxNullGraphicsPen
;
3602 class wxGraphicsBrush
: public wxGraphicsObject
3605 wxGraphicsBrush() {}
3606 virtual ~wxGraphicsBrush() {}
3608 wxGraphicsBrush wxNullGraphicsBrush
;
3612 class wxGraphicsFont
: public wxGraphicsObject
3616 virtual ~wxGraphicsFont() {}
3618 wxGraphicsFont wxNullGraphicsFont
;
3622 class wxGraphicsPath
: public wxGraphicsObject
3625 wxGraphicsPath(wxGraphicsRenderer
* ) {
3626 PyErr_SetString(PyExc_NotImplementedError
,
3627 "wx.GraphicsPath is not available on this platform.");
3629 virtual ~wxGraphicsPath() {}
3631 virtual wxGraphicsPath
*Clone() const { return NULL
; }
3633 void MoveToPoint( wxDouble
, wxDouble
) {}
3634 void MoveToPoint( const wxPoint2DDouble
& ) {}
3635 void AddLineToPoint( wxDouble
, wxDouble
) {}
3636 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3637 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3638 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3639 void AddPath( const wxGraphicsPath
* ) {}
3640 void CloseSubpath() {}
3641 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3642 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3643 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3644 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3646 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3647 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3648 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3649 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3651 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3652 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3653 void * GetNativePath() const { return NULL
; }
3654 void UnGetNativePath(void *) {}
3655 void Transform( wxGraphicsMatrix
* ) {}
3656 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3657 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3659 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3660 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3664 class wxGraphicsMatrix
: public wxGraphicsObject
3667 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3668 PyErr_SetString(PyExc_NotImplementedError
,
3669 "wx.GraphicsMatrix is not available on this platform.");
3671 virtual ~wxGraphicsMatrix() {}
3672 virtual wxGraphicsMatrix
*Clone() const { return NULL
; }
3673 virtual void Concat( const wxGraphicsMatrix
* ) {}
3674 virtual void Copy( const wxGraphicsMatrix
* ) {}
3675 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3676 wxDouble
, wxDouble
) {}
3677 virtual void Invert() {}
3678 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3679 virtual bool IsIdentity() { return false; }
3680 virtual void Translate( wxDouble
, wxDouble
) {}
3681 virtual void Scale( wxDouble
, wxDouble
) {}
3682 virtual void Rotate( wxDouble
) {}
3683 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3684 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3685 virtual void * GetNativeMatrix() const { return NULL
; }
3690 class wxGraphicsContext
: public wxGraphicsObject
3694 wxGraphicsContext(wxGraphicsRenderer
* ) {
3695 PyErr_SetString(PyExc_NotImplementedError
,
3696 "wx.GraphicsContext is not available on this platform.");
3699 virtual ~wxGraphicsContext() {}
3701 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3702 PyErr_SetString(PyExc_NotImplementedError
,
3703 "wx.GraphicsContext is not available on this platform.");
3706 static wxGraphicsContext
* CreateFromNative( void * ) {
3707 PyErr_SetString(PyExc_NotImplementedError
,
3708 "wx.GraphicsContext is not available on this platform.");
3711 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3712 PyErr_SetString(PyExc_NotImplementedError
,
3713 "wx.GraphicsContext is not available on this platform.");
3716 static wxGraphicsContext
* Create( wxWindow
* ) {
3717 PyErr_SetString(PyExc_NotImplementedError
,
3718 "wx.GraphicsContext is not available on this platform.");
3721 wxGraphicsPath
* CreatePath() { return NULL
; }
3723 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3725 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3727 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3728 const wxColour
&, const wxColour
&) { return NULL
; }
3730 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3731 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3732 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3734 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3736 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3737 wxDouble
, wxDouble
) { return NULL
; }
3739 virtual void PushState() {}
3740 virtual void PopState() {}
3741 virtual void Clip( const wxRegion
& ) {}
3742 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3743 virtual void ResetClip() {}
3744 virtual void * GetNativeContext() { return NULL
; }
3745 virtual void Translate( wxDouble
, wxDouble
) {}
3746 virtual void Scale( wxDouble
, wxDouble
) {}
3747 virtual void Rotate( wxDouble
) {}
3748 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3749 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3750 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3752 virtual void SetPen( const wxGraphicsPen
& ) {}
3753 void SetPen( const wxPen
& ) {}
3755 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3756 void SetBrush( const wxBrush
& ) {}
3758 virtual void SetFont( const wxGraphicsFont
& ) {}
3759 void SetFont( const wxFont
&, const wxColour
& ) {}
3761 virtual void StrokePath( const wxGraphicsPath
* ) {}
3762 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3763 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3765 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3766 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3767 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3768 wxDouble
*, wxDouble
* ) const {}
3769 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3771 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3772 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3774 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3775 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3776 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3777 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3778 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3779 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3780 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3781 virtual bool ShouldOffset() const { return false; }
3785 class wxGraphicsRenderer
: public wxObject
3788 wxGraphicsRenderer() {
3789 PyErr_SetString(PyExc_NotImplementedError
,
3790 "wx.GraphicsRenderer is not available on this platform.");
3793 virtual ~wxGraphicsRenderer() {}
3795 static wxGraphicsRenderer
* GetDefaultRenderer(
3796 PyErr_SetString(PyExc_NotImplementedError
,
3797 "wx.GraphicsRenderer is not available on this platform.");
3800 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3801 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3802 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3803 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3805 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3807 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3808 wxDouble
, wxDouble
) { return NULL
; }
3810 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3811 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3812 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3813 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3814 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3815 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3816 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3821 class wxGCDC
: public wxWindowDC
3824 wxGCDC(const wxWindowDC
&) {
3825 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3826 PyErr_SetString(PyExc_NotImplementedError
,
3827 "wxGCDC is not available on this platform.");
3828 wxPyEndBlockThreads(blocked
);
3832 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3833 PyErr_SetString(PyExc_NotImplementedError
,
3834 "wxGCDC is not available on this platform.");
3835 wxPyEndBlockThreads(blocked
);
3838 virtual ~wxGCDC() {}
3840 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3841 void SetGraphicsContext( wxGraphicsContext
* ) {}
3846 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3847 wxDouble width
= 0.0,
3849 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3850 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3851 PyObject
* rv
= PyTuple_New(2);
3852 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3853 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3856 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3857 wxArrayDouble widths
;
3858 self
->GetPartialTextExtents(text
, widths
);
3861 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3862 size_t c1
, c2
, count
;
3863 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3864 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3866 if ( beginP
!= NULL
&& endP
!= NULL
)
3868 count
= wxMin(c1
, c2
);
3869 self
->StrokeLines(count
, beginP
, endP
);
3875 #include "wx/dcgraph.h"
3878 #include <wx/overlay.h>
3882 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3883 self
->AddColour(name
, wxColour(red
, green
, blue
));
3886 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3887 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3888 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3889 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3892 #include <wx/effects.h>
3895 #include "wx/renderer.h"
3898 SWIGINTERNINLINE PyObject
*
3899 SWIG_From_bool (bool value
)
3901 return PyBool_FromLong(value
? 1 : 0);
3905 #include "wx/wxPython/pseudodc.h"
3907 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3909 self
->GetIdBounds(id
, rect
);
3915 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3916 PyObject
*resultobj
= 0;
3917 wxGDIObject
*result
= 0 ;
3919 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3921 if (!wxPyCheckForApp()) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (wxGDIObject
*)new wxGDIObject();
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3934 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3935 PyObject
*resultobj
= 0;
3936 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3939 PyObject
*swig_obj
[1] ;
3941 if (!args
) SWIG_fail
;
3943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3944 if (!SWIG_IsOK(res1
)) {
3945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3947 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= SWIG_Py_Void();
3962 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3963 PyObject
*resultobj
= 0;
3964 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3968 PyObject
*swig_obj
[1] ;
3970 if (!args
) SWIG_fail
;
3972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3973 if (!SWIG_IsOK(res1
)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3976 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (bool)(arg1
)->IsNull();
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3992 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3995 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3996 return SWIG_Py_Void();
3999 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4000 return SWIG_Python_InitShadowInstance(args
);
4003 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
= 0;
4005 byte arg1
= (byte
) 0 ;
4006 byte arg2
= (byte
) 0 ;
4007 byte arg3
= (byte
) 0 ;
4008 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4009 wxColour
*result
= 0 ;
4010 unsigned char val1
;
4012 unsigned char val2
;
4014 unsigned char val3
;
4016 unsigned char val4
;
4018 PyObject
* obj0
= 0 ;
4019 PyObject
* obj1
= 0 ;
4020 PyObject
* obj2
= 0 ;
4021 PyObject
* obj3
= 0 ;
4022 char * kwnames
[] = {
4023 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4028 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4029 if (!SWIG_IsOK(ecode1
)) {
4030 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4032 arg1
= static_cast< byte
>(val1
);
4035 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4036 if (!SWIG_IsOK(ecode2
)) {
4037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4039 arg2
= static_cast< byte
>(val2
);
4042 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4043 if (!SWIG_IsOK(ecode3
)) {
4044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4046 arg3
= static_cast< byte
>(val3
);
4049 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4050 if (!SWIG_IsOK(ecode4
)) {
4051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4053 arg4
= static_cast< byte
>(val4
);
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4068 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
= 0;
4070 wxString
*arg1
= 0 ;
4071 wxColour
*result
= 0 ;
4072 bool temp1
= false ;
4073 PyObject
* obj0
= 0 ;
4074 char * kwnames
[] = {
4075 (char *) "colorName", NULL
4078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4080 arg1
= wxString_in_helper(obj0
);
4081 if (arg1
== NULL
) SWIG_fail
;
4085 if (!wxPyCheckForApp()) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4106 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
= 0;
4108 unsigned long arg1
;
4109 wxColour
*result
= 0 ;
4110 unsigned long val1
;
4112 PyObject
* obj0
= 0 ;
4113 char * kwnames
[] = {
4114 (char *) "colRGB", NULL
4117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4118 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4119 if (!SWIG_IsOK(ecode1
)) {
4120 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4122 arg1
= static_cast< unsigned long >(val1
);
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxColour
*)new wxColour(arg1
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4136 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4137 PyObject
*resultobj
= 0;
4138 wxColour
*arg1
= (wxColour
*) 0 ;
4141 PyObject
*swig_obj
[1] ;
4143 if (!args
) SWIG_fail
;
4145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4146 if (!SWIG_IsOK(res1
)) {
4147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4149 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= SWIG_Py_Void();
4164 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4165 PyObject
*resultobj
= 0;
4166 wxColour
*arg1
= (wxColour
*) 0 ;
4170 PyObject
*swig_obj
[1] ;
4172 if (!args
) SWIG_fail
;
4174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4175 if (!SWIG_IsOK(res1
)) {
4176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4178 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (byte
)(arg1
)->Red();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4185 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4192 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4193 PyObject
*resultobj
= 0;
4194 wxColour
*arg1
= (wxColour
*) 0 ;
4198 PyObject
*swig_obj
[1] ;
4200 if (!args
) SWIG_fail
;
4202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4203 if (!SWIG_IsOK(res1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4206 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (byte
)(arg1
)->Green();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4220 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4221 PyObject
*resultobj
= 0;
4222 wxColour
*arg1
= (wxColour
*) 0 ;
4226 PyObject
*swig_obj
[1] ;
4228 if (!args
) SWIG_fail
;
4230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4231 if (!SWIG_IsOK(res1
)) {
4232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4234 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 result
= (byte
)(arg1
)->Blue();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4248 SWIGINTERN PyObject
*_wrap_Colour_Alpha(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_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4262 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (byte
)(arg1
)->Alpha();
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_IsOk(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_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4290 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= (bool)(arg1
)->IsOk();
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4306 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
= 0;
4308 wxColour
*arg1
= (wxColour
*) 0 ;
4312 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4315 unsigned char val2
;
4317 unsigned char val3
;
4319 unsigned char val4
;
4321 unsigned char val5
;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4325 PyObject
* obj2
= 0 ;
4326 PyObject
* obj3
= 0 ;
4327 PyObject
* obj4
= 0 ;
4328 char * kwnames
[] = {
4329 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4334 if (!SWIG_IsOK(res1
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4337 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4338 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4339 if (!SWIG_IsOK(ecode2
)) {
4340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4342 arg2
= static_cast< byte
>(val2
);
4343 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4344 if (!SWIG_IsOK(ecode3
)) {
4345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4347 arg3
= static_cast< byte
>(val3
);
4348 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4349 if (!SWIG_IsOK(ecode4
)) {
4350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4352 arg4
= static_cast< byte
>(val4
);
4354 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4355 if (!SWIG_IsOK(ecode5
)) {
4356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4358 arg5
= static_cast< byte
>(val5
);
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_Py_Void();
4373 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
= 0;
4375 wxColour
*arg1
= (wxColour
*) 0 ;
4376 unsigned long arg2
;
4379 unsigned long val2
;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4383 char * kwnames
[] = {
4384 (char *) "self",(char *) "colRGB", NULL
4387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4389 if (!SWIG_IsOK(res1
)) {
4390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4392 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4393 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4394 if (!SWIG_IsOK(ecode2
)) {
4395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4397 arg2
= static_cast< unsigned long >(val2
);
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= SWIG_Py_Void();
4411 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
= 0;
4413 wxColour
*arg1
= (wxColour
*) 0 ;
4414 wxString
*arg2
= 0 ;
4417 bool temp2
= false ;
4418 PyObject
* obj0
= 0 ;
4419 PyObject
* obj1
= 0 ;
4420 char * kwnames
[] = {
4421 (char *) "self",(char *) "colourName", NULL
4424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4426 if (!SWIG_IsOK(res1
)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4429 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4431 arg2
= wxString_in_helper(obj1
);
4432 if (arg2
== NULL
) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 (arg1
)->Set((wxString
const &)*arg2
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_Py_Void();
4456 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
= 0;
4458 wxColour
*arg1
= (wxColour
*) 0 ;
4459 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4467 char * kwnames
[] = {
4468 (char *) "self",(char *) "flags", NULL
4471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",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_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4476 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4478 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4479 if (!SWIG_IsOK(ecode2
)) {
4480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4482 arg2
= static_cast< long >(val2
);
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4503 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4504 PyObject
*resultobj
= 0;
4505 wxColour
*arg1
= (wxColour
*) 0 ;
4509 PyObject
*swig_obj
[1] ;
4511 if (!args
) SWIG_fail
;
4513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4514 if (!SWIG_IsOK(res1
)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4517 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= SWIG_From_long(static_cast< long >(result
));
4531 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
= 0;
4533 wxColour
*arg1
= (wxColour
*) 0 ;
4534 PyObject
*arg2
= (PyObject
*) 0 ;
4538 PyObject
* obj0
= 0 ;
4539 PyObject
* obj1
= 0 ;
4540 char * kwnames
[] = {
4541 (char *) "self",(char *) "other", NULL
4544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4546 if (!SWIG_IsOK(res1
)) {
4547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4549 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4552 result
= (bool)wxColour___eq__(arg1
,arg2
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4564 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
= 0;
4566 wxColour
*arg1
= (wxColour
*) 0 ;
4567 PyObject
*arg2
= (PyObject
*) 0 ;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4573 char * kwnames
[] = {
4574 (char *) "self",(char *) "other", NULL
4577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4579 if (!SWIG_IsOK(res1
)) {
4580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4582 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4585 result
= (bool)wxColour___ne__(arg1
,arg2
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4597 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
*resultobj
= 0;
4599 wxColour
*arg1
= (wxColour
*) 0 ;
4600 bool arg2
= (bool) false ;
4601 PyObject
*result
= 0 ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4608 char * kwnames
[] = {
4609 (char *) "self",(char *) "includeAlpha", NULL
4612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4614 if (!SWIG_IsOK(res1
)) {
4615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4617 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4619 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4620 if (!SWIG_IsOK(ecode2
)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4623 arg2
= static_cast< bool >(val2
);
4626 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4636 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4637 PyObject
*resultobj
= 0;
4638 wxColour
*arg1
= (wxColour
*) 0 ;
4639 unsigned long result
;
4642 PyObject
*swig_obj
[1] ;
4644 if (!args
) SWIG_fail
;
4646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4647 if (!SWIG_IsOK(res1
)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4650 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4652 result
= (unsigned long)wxColour_GetRGB(arg1
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4662 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4665 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4666 return SWIG_Py_Void();
4669 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4670 return SWIG_Python_InitShadowInstance(args
);
4673 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
= 0;
4676 unsigned char *arg2
= (unsigned char *) 0 ;
4677 unsigned char *arg3
= (unsigned char *) 0 ;
4678 unsigned char *arg4
= (unsigned char *) 0 ;
4679 wxPalette
*result
= 0 ;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4690 PyObject
* obj2
= 0 ;
4691 PyObject
* obj3
= 0 ;
4692 char * kwnames
[] = {
4693 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4697 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4698 if (!SWIG_IsOK(ecode1
)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4701 arg1
= static_cast< int >(val1
);
4702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4703 if (!SWIG_IsOK(res2
)) {
4704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4706 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4707 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4708 if (!SWIG_IsOK(res3
)) {
4709 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4711 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4712 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4713 if (!SWIG_IsOK(res4
)) {
4714 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4716 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4718 if (!wxPyCheckForApp()) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4731 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4732 PyObject
*resultobj
= 0;
4733 wxPalette
*arg1
= (wxPalette
*) 0 ;
4736 PyObject
*swig_obj
[1] ;
4738 if (!args
) SWIG_fail
;
4740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4741 if (!SWIG_IsOK(res1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4744 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4752 resultobj
= SWIG_Py_Void();
4759 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
= 0;
4761 wxPalette
*arg1
= (wxPalette
*) 0 ;
4768 unsigned char val2
;
4770 unsigned char val3
;
4772 unsigned char val4
;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 PyObject
* obj2
= 0 ;
4777 PyObject
* obj3
= 0 ;
4778 char * kwnames
[] = {
4779 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4784 if (!SWIG_IsOK(res1
)) {
4785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4787 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4788 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4789 if (!SWIG_IsOK(ecode2
)) {
4790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4792 arg2
= static_cast< byte
>(val2
);
4793 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4794 if (!SWIG_IsOK(ecode3
)) {
4795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4797 arg3
= static_cast< byte
>(val3
);
4798 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4799 if (!SWIG_IsOK(ecode4
)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4802 arg4
= static_cast< byte
>(val4
);
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_From_int(static_cast< int >(result
));
4816 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4817 PyObject
*resultobj
= 0;
4818 wxPalette
*arg1
= (wxPalette
*) 0 ;
4820 byte
*arg3
= (byte
*) 0 ;
4821 byte
*arg4
= (byte
*) 0 ;
4822 byte
*arg5
= (byte
*) 0 ;
4829 int res3
= SWIG_TMPOBJ
;
4831 int res4
= SWIG_TMPOBJ
;
4833 int res5
= SWIG_TMPOBJ
;
4834 PyObject
* obj0
= 0 ;
4835 PyObject
* obj1
= 0 ;
4836 char * kwnames
[] = {
4837 (char *) "self",(char *) "pixel", NULL
4843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4848 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4850 if (!SWIG_IsOK(ecode2
)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4853 arg2
= static_cast< int >(val2
);
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4863 if (SWIG_IsTmpObj(res3
)) {
4864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4866 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4869 if (SWIG_IsTmpObj(res4
)) {
4870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4872 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4875 if (SWIG_IsTmpObj(res5
)) {
4876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4878 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4887 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4888 PyObject
*resultobj
= 0;
4889 wxPalette
*arg1
= (wxPalette
*) 0 ;
4893 PyObject
*swig_obj
[1] ;
4895 if (!args
) SWIG_fail
;
4897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4898 if (!SWIG_IsOK(res1
)) {
4899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4901 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_From_int(static_cast< int >(result
));
4915 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4916 PyObject
*resultobj
= 0;
4917 wxPalette
*arg1
= (wxPalette
*) 0 ;
4921 PyObject
*swig_obj
[1] ;
4923 if (!args
) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4929 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (bool)(arg1
)->IsOk();
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4945 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4948 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4949 return SWIG_Py_Void();
4952 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 return SWIG_Python_InitShadowInstance(args
);
4956 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
= 0;
4958 wxColour
*arg1
= 0 ;
4959 int arg2
= (int) 1 ;
4960 int arg3
= (int) wxSOLID
;
4967 PyObject
* obj0
= 0 ;
4968 PyObject
* obj1
= 0 ;
4969 PyObject
* obj2
= 0 ;
4970 char * kwnames
[] = {
4971 (char *) "colour",(char *) "width",(char *) "style", NULL
4974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4977 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4981 if (!SWIG_IsOK(ecode2
)) {
4982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4984 arg2
= static_cast< int >(val2
);
4987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4988 if (!SWIG_IsOK(ecode3
)) {
4989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4991 arg3
= static_cast< int >(val3
);
4994 if (!wxPyCheckForApp()) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) SWIG_fail
;
5000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5007 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5008 PyObject
*resultobj
= 0;
5009 wxPen
*arg1
= (wxPen
*) 0 ;
5012 PyObject
*swig_obj
[1] ;
5014 if (!args
) SWIG_fail
;
5016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5017 if (!SWIG_IsOK(res1
)) {
5018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5020 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= SWIG_Py_Void();
5035 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5036 PyObject
*resultobj
= 0;
5037 wxPen
*arg1
= (wxPen
*) 0 ;
5041 PyObject
*swig_obj
[1] ;
5043 if (!args
) SWIG_fail
;
5045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5046 if (!SWIG_IsOK(res1
)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5049 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (int)(arg1
)->GetCap();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 resultobj
= SWIG_From_int(static_cast< int >(result
));
5063 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5064 PyObject
*resultobj
= 0;
5065 wxPen
*arg1
= (wxPen
*) 0 ;
5069 PyObject
*swig_obj
[1] ;
5071 if (!args
) SWIG_fail
;
5073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5074 if (!SWIG_IsOK(res1
)) {
5075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5077 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= (arg1
)->GetColour();
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5091 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxPen
*arg1
= (wxPen
*) 0 ;
5097 PyObject
*swig_obj
[1] ;
5099 if (!args
) SWIG_fail
;
5101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5102 if (!SWIG_IsOK(res1
)) {
5103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5105 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (int)(arg1
)->GetJoin();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= SWIG_From_int(static_cast< int >(result
));
5119 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(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_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5133 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (int)(arg1
)->GetStyle();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_From_int(static_cast< int >(result
));
5147 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(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_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5161 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (int)(arg1
)->GetWidth();
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_From_int(static_cast< int >(result
));
5175 SWIGINTERN PyObject
*_wrap_Pen_IsOk(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_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5189 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (bool)(arg1
)->IsOk();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5205 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
= 0;
5207 wxPen
*arg1
= (wxPen
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5215 char * kwnames
[] = {
5216 (char *) "self",(char *) "cap_style", NULL
5219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5221 if (!SWIG_IsOK(res1
)) {
5222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5224 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5226 if (!SWIG_IsOK(ecode2
)) {
5227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5229 arg2
= static_cast< int >(val2
);
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 (arg1
)->SetCap(arg2
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_Py_Void();
5243 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
= 0;
5245 wxPen
*arg1
= (wxPen
*) 0 ;
5246 wxColour
*arg2
= 0 ;
5250 PyObject
* obj0
= 0 ;
5251 PyObject
* obj1
= 0 ;
5252 char * kwnames
[] = {
5253 (char *) "self",(char *) "colour", NULL
5256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5258 if (!SWIG_IsOK(res1
)) {
5259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5261 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 (arg1
)->SetColour(*arg2
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_Py_Void();
5279 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
= 0;
5281 wxPen
*arg1
= (wxPen
*) 0 ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 char * kwnames
[] = {
5290 (char *) "self",(char *) "join_style", NULL
5293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5295 if (!SWIG_IsOK(res1
)) {
5296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5298 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5300 if (!SWIG_IsOK(ecode2
)) {
5301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5303 arg2
= static_cast< int >(val2
);
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5306 (arg1
)->SetJoin(arg2
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= SWIG_Py_Void();
5317 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
= 0;
5319 wxPen
*arg1
= (wxPen
*) 0 ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5327 char * kwnames
[] = {
5328 (char *) "self",(char *) "style", NULL
5331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5333 if (!SWIG_IsOK(res1
)) {
5334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5336 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5338 if (!SWIG_IsOK(ecode2
)) {
5339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5341 arg2
= static_cast< int >(val2
);
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 (arg1
)->SetStyle(arg2
);
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 resultobj
= SWIG_Py_Void();
5355 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
*resultobj
= 0;
5357 wxPen
*arg1
= (wxPen
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5365 char * kwnames
[] = {
5366 (char *) "self",(char *) "width", NULL
5369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5371 if (!SWIG_IsOK(res1
)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5374 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5376 if (!SWIG_IsOK(ecode2
)) {
5377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5379 arg2
= static_cast< int >(val2
);
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->SetWidth(arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= SWIG_Py_Void();
5393 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
= 0;
5395 wxPen
*arg1
= (wxPen
*) 0 ;
5397 wxDash
*arg3
= (wxDash
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5401 PyObject
* obj1
= 0 ;
5402 char * kwnames
[] = {
5403 (char *) "self",(char *) "dashes", NULL
5406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5408 if (!SWIG_IsOK(res1
)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5411 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5413 arg2
= PyList_Size(obj1
);
5414 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5415 if (arg3
== NULL
) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 (arg1
)->SetDashes(arg2
,arg3
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= SWIG_Py_Void();
5425 if (arg3
) delete [] arg3
;
5430 if (arg3
) delete [] arg3
;
5436 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5437 PyObject
*resultobj
= 0;
5438 wxPen
*arg1
= (wxPen
*) 0 ;
5439 PyObject
*result
= 0 ;
5442 PyObject
*swig_obj
[1] ;
5444 if (!args
) SWIG_fail
;
5446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5447 if (!SWIG_IsOK(res1
)) {
5448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5450 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5464 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
= 0;
5466 wxPen
*arg1
= (wxPen
*) 0 ;
5467 PyObject
*arg2
= (PyObject
*) 0 ;
5468 PyObject
*arg3
= (PyObject
*) 0 ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5473 PyObject
* obj2
= 0 ;
5474 char * kwnames
[] = {
5475 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5480 if (!SWIG_IsOK(res1
)) {
5481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5483 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 wxPen__SetDashes(arg1
,arg2
,arg3
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= SWIG_Py_Void();
5499 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5500 PyObject
*resultobj
= 0;
5501 wxPen
*arg1
= (wxPen
*) 0 ;
5505 PyObject
*swig_obj
[1] ;
5507 if (!args
) SWIG_fail
;
5509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5510 if (!SWIG_IsOK(res1
)) {
5511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5513 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= SWIG_From_int(static_cast< int >(result
));
5527 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
= 0;
5529 wxPen
*arg1
= (wxPen
*) 0 ;
5530 wxPen
*arg2
= (wxPen
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 char * kwnames
[] = {
5539 (char *) "self",(char *) "other", NULL
5542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5544 if (!SWIG_IsOK(res1
)) {
5545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5547 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5549 if (!SWIG_IsOK(res2
)) {
5550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5552 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5568 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
= 0;
5570 wxPen
*arg1
= (wxPen
*) 0 ;
5571 wxPen
*arg2
= (wxPen
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "self",(char *) "other", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5588 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5590 if (!SWIG_IsOK(res2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5593 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5596 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5609 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5612 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5613 return SWIG_Py_Void();
5616 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5617 return SWIG_Python_InitShadowInstance(args
);
5620 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
= 0;
5622 wxColour
*arg1
= 0 ;
5623 int arg2
= (int) wxSOLID
;
5624 wxBrush
*result
= 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5630 char * kwnames
[] = {
5631 (char *) "colour",(char *) "style", NULL
5634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5637 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5641 if (!SWIG_IsOK(ecode2
)) {
5642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5644 arg2
= static_cast< int >(val2
);
5647 if (!wxPyCheckForApp()) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5660 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
= 0;
5662 wxBitmap
*arg1
= 0 ;
5663 wxBrush
*result
= 0 ;
5666 PyObject
* obj0
= 0 ;
5667 char * kwnames
[] = {
5668 (char *) "stippleBitmap", NULL
5671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5672 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5673 if (!SWIG_IsOK(res1
)) {
5674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5679 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5681 if (!wxPyCheckForApp()) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5694 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5695 PyObject
*resultobj
= 0;
5696 wxBrush
*arg1
= (wxBrush
*) 0 ;
5699 PyObject
*swig_obj
[1] ;
5701 if (!args
) SWIG_fail
;
5703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5704 if (!SWIG_IsOK(res1
)) {
5705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5707 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_Py_Void();
5722 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
= 0;
5724 wxBrush
*arg1
= (wxBrush
*) 0 ;
5725 wxColour
*arg2
= 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 char * kwnames
[] = {
5732 (char *) "self",(char *) "col", NULL
5735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5740 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5743 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->SetColour((wxColour
const &)*arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_Py_Void();
5758 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
= 0;
5760 wxBrush
*arg1
= (wxBrush
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5768 char * kwnames
[] = {
5769 (char *) "self",(char *) "style", NULL
5772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5774 if (!SWIG_IsOK(res1
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5777 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5779 if (!SWIG_IsOK(ecode2
)) {
5780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5782 arg2
= static_cast< int >(val2
);
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 (arg1
)->SetStyle(arg2
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_Py_Void();
5796 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
= 0;
5798 wxBrush
*arg1
= (wxBrush
*) 0 ;
5799 wxBitmap
*arg2
= 0 ;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5806 char * kwnames
[] = {
5807 (char *) "self",(char *) "stipple", NULL
5810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5815 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5817 if (!SWIG_IsOK(res2
)) {
5818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5823 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= SWIG_Py_Void();
5837 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5838 PyObject
*resultobj
= 0;
5839 wxBrush
*arg1
= (wxBrush
*) 0 ;
5843 PyObject
*swig_obj
[1] ;
5845 if (!args
) SWIG_fail
;
5847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5848 if (!SWIG_IsOK(res1
)) {
5849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5851 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= ((wxBrush
const *)arg1
)->GetColour();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5865 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5866 PyObject
*resultobj
= 0;
5867 wxBrush
*arg1
= (wxBrush
*) 0 ;
5871 PyObject
*swig_obj
[1] ;
5873 if (!args
) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5879 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= SWIG_From_int(static_cast< int >(result
));
5893 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5894 PyObject
*resultobj
= 0;
5895 wxBrush
*arg1
= (wxBrush
*) 0 ;
5896 wxBitmap
*result
= 0 ;
5899 PyObject
*swig_obj
[1] ;
5901 if (!args
) SWIG_fail
;
5903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5904 if (!SWIG_IsOK(res1
)) {
5905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5907 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5921 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5922 PyObject
*resultobj
= 0;
5923 wxBrush
*arg1
= (wxBrush
*) 0 ;
5927 PyObject
*swig_obj
[1] ;
5929 if (!args
) SWIG_fail
;
5931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5932 if (!SWIG_IsOK(res1
)) {
5933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5935 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5951 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5952 PyObject
*resultobj
= 0;
5953 wxBrush
*arg1
= (wxBrush
*) 0 ;
5957 PyObject
*swig_obj
[1] ;
5959 if (!args
) SWIG_fail
;
5961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5962 if (!SWIG_IsOK(res1
)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5965 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (bool)(arg1
)->IsOk();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5981 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5984 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5985 return SWIG_Py_Void();
5988 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5989 return SWIG_Python_InitShadowInstance(args
);
5992 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
= 0;
5994 wxString
*arg1
= 0 ;
5995 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5996 wxBitmap
*result
= 0 ;
5997 bool temp1
= false ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 char * kwnames
[] = {
6003 (char *) "name",(char *) "type", NULL
6006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6008 arg1
= wxString_in_helper(obj0
);
6009 if (arg1
== NULL
) SWIG_fail
;
6013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6014 if (!SWIG_IsOK(ecode2
)) {
6015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6017 arg2
= static_cast< wxBitmapType
>(val2
);
6020 if (!wxPyCheckForApp()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6041 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6042 PyObject
*resultobj
= 0;
6043 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6046 PyObject
*swig_obj
[1] ;
6048 if (!args
) SWIG_fail
;
6050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6051 if (!SWIG_IsOK(res1
)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= SWIG_Py_Void();
6067 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
= 0;
6071 int arg3
= (int) -1 ;
6072 wxBitmap
*result
= 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6081 PyObject
* obj2
= 0 ;
6082 char * kwnames
[] = {
6083 (char *) "width",(char *) "height",(char *) "depth", NULL
6086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6088 if (!SWIG_IsOK(ecode1
)) {
6089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6091 arg1
= static_cast< int >(val1
);
6092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6093 if (!SWIG_IsOK(ecode2
)) {
6094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6096 arg2
= static_cast< int >(val2
);
6098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6099 if (!SWIG_IsOK(ecode3
)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6102 arg3
= static_cast< int >(val3
);
6105 if (!wxPyCheckForApp()) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6118 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
= 0;
6121 wxBitmap
*result
= 0 ;
6124 PyObject
* obj0
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "icon", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6137 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6139 if (!wxPyCheckForApp()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6152 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
= 0;
6155 int arg2
= (int) -1 ;
6156 wxBitmap
*result
= 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 char * kwnames
[] = {
6164 (char *) "image",(char *) "depth", NULL
6167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6168 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6169 if (!SWIG_IsOK(res1
)) {
6170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6175 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6178 if (!SWIG_IsOK(ecode2
)) {
6179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6181 arg2
= static_cast< int >(val2
);
6184 if (!wxPyCheckForApp()) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6197 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
= 0;
6199 PyObject
*arg1
= (PyObject
*) 0 ;
6200 wxBitmap
*result
= 0 ;
6201 PyObject
* obj0
= 0 ;
6202 char * kwnames
[] = {
6203 (char *) "listOfStrings", NULL
6206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6209 if (!wxPyCheckForApp()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6222 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
= 0;
6224 PyObject
*arg1
= (PyObject
*) 0 ;
6227 int arg4
= (int) 1 ;
6228 wxBitmap
*result
= 0 ;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6237 PyObject
* obj2
= 0 ;
6238 PyObject
* obj3
= 0 ;
6239 char * kwnames
[] = {
6240 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6246 if (!SWIG_IsOK(ecode2
)) {
6247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6249 arg2
= static_cast< int >(val2
);
6250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6251 if (!SWIG_IsOK(ecode3
)) {
6252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6254 arg3
= static_cast< int >(val3
);
6256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6257 if (!SWIG_IsOK(ecode4
)) {
6258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6260 arg4
= static_cast< int >(val4
);
6263 if (!wxPyCheckForApp()) SWIG_fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6276 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6277 PyObject
*resultobj
= 0;
6278 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6282 PyObject
*swig_obj
[1] ;
6284 if (!args
) SWIG_fail
;
6286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6287 if (!SWIG_IsOK(res1
)) {
6288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6290 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6292 result
= (bool)(arg1
)->IsOk();
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6304 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6305 PyObject
*resultobj
= 0;
6306 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6310 PyObject
*swig_obj
[1] ;
6312 if (!args
) SWIG_fail
;
6314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6315 if (!SWIG_IsOK(res1
)) {
6316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6318 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6320 result
= (int)(arg1
)->GetWidth();
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= SWIG_From_int(static_cast< int >(result
));
6330 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6331 PyObject
*resultobj
= 0;
6332 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6336 PyObject
*swig_obj
[1] ;
6338 if (!args
) SWIG_fail
;
6340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6341 if (!SWIG_IsOK(res1
)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6344 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6346 result
= (int)(arg1
)->GetHeight();
6347 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= SWIG_From_int(static_cast< int >(result
));
6356 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6362 PyObject
*swig_obj
[1] ;
6364 if (!args
) SWIG_fail
;
6366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6367 if (!SWIG_IsOK(res1
)) {
6368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6370 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6372 result
= (int)(arg1
)->GetDepth();
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_From_int(static_cast< int >(result
));
6382 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6383 PyObject
*resultobj
= 0;
6384 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6388 PyObject
*swig_obj
[1] ;
6390 if (!args
) SWIG_fail
;
6392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6393 if (!SWIG_IsOK(res1
)) {
6394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6396 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6398 result
= wxBitmap_GetSize(arg1
);
6399 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6408 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6409 PyObject
*resultobj
= 0;
6410 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6411 SwigValueWrapper
<wxImage
> result
;
6414 PyObject
*swig_obj
[1] ;
6416 if (!args
) SWIG_fail
;
6418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6419 if (!SWIG_IsOK(res1
)) {
6420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6422 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6424 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6434 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6435 PyObject
*resultobj
= 0;
6436 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6437 wxMask
*result
= 0 ;
6440 PyObject
*swig_obj
[1] ;
6442 if (!args
) SWIG_fail
;
6444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6445 if (!SWIG_IsOK(res1
)) {
6446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6448 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6450 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6460 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
*resultobj
= 0;
6462 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6463 wxMask
*arg2
= (wxMask
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6468 PyObject
* obj1
= 0 ;
6469 char * kwnames
[] = {
6470 (char *) "self",(char *) "mask", NULL
6473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6475 if (!SWIG_IsOK(res1
)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6479 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6480 if (!SWIG_IsOK(res2
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6484 (arg1
)->SetMask(arg2
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_Py_Void();
6494 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
= 0;
6496 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6497 wxColour
*arg2
= 0 ;
6501 PyObject
* obj0
= 0 ;
6502 PyObject
* obj1
= 0 ;
6503 char * kwnames
[] = {
6504 (char *) "self",(char *) "colour", NULL
6507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6509 if (!SWIG_IsOK(res1
)) {
6510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6512 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6515 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6518 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= SWIG_Py_Void();
6528 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
*resultobj
= 0;
6530 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6532 SwigValueWrapper
<wxBitmap
> result
;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 char * kwnames
[] = {
6539 (char *) "self",(char *) "rect", NULL
6542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6547 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6550 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6553 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6563 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
= 0;
6565 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6566 wxString
*arg2
= 0 ;
6568 wxPalette
*arg4
= (wxPalette
*) NULL
;
6572 bool temp2
= false ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6579 PyObject
* obj2
= 0 ;
6580 PyObject
* obj3
= 0 ;
6581 char * kwnames
[] = {
6582 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6587 if (!SWIG_IsOK(res1
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6590 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6592 arg2
= wxString_in_helper(obj1
);
6593 if (arg2
== NULL
) SWIG_fail
;
6596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6597 if (!SWIG_IsOK(ecode3
)) {
6598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6600 arg3
= static_cast< wxBitmapType
>(val3
);
6602 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6603 if (!SWIG_IsOK(res4
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6606 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6609 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6629 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
= 0;
6631 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6632 wxString
*arg2
= 0 ;
6637 bool temp2
= false ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 PyObject
* obj2
= 0 ;
6643 char * kwnames
[] = {
6644 (char *) "self",(char *) "name",(char *) "type", NULL
6647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6652 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6654 arg2
= wxString_in_helper(obj1
);
6655 if (arg2
== NULL
) SWIG_fail
;
6658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6659 if (!SWIG_IsOK(ecode3
)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6662 arg3
= static_cast< wxBitmapType
>(val3
);
6664 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6684 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6685 PyObject
*resultobj
= 0;
6686 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6687 wxPalette
*result
= 0 ;
6690 PyObject
*swig_obj
[1] ;
6692 if (!args
) SWIG_fail
;
6694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6695 if (!SWIG_IsOK(res1
)) {
6696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6698 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6700 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6710 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
= 0;
6712 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6721 char * kwnames
[] = {
6722 (char *) "self",(char *) "icon", NULL
6725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6727 if (!SWIG_IsOK(res1
)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6730 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6732 if (!SWIG_IsOK(res2
)) {
6733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6738 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6740 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6752 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 char * kwnames
[] = {
6763 (char *) "self",(char *) "height", NULL
6766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6768 if (!SWIG_IsOK(res1
)) {
6769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6771 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6773 if (!SWIG_IsOK(ecode2
)) {
6774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6776 arg2
= static_cast< int >(val2
);
6778 (arg1
)->SetHeight(arg2
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= SWIG_Py_Void();
6788 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
= 0;
6790 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 char * kwnames
[] = {
6799 (char *) "self",(char *) "width", NULL
6802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6804 if (!SWIG_IsOK(res1
)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6807 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6809 if (!SWIG_IsOK(ecode2
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6812 arg2
= static_cast< int >(val2
);
6814 (arg1
)->SetWidth(arg2
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_Py_Void();
6824 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
= 0;
6826 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "self",(char *) "depth", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6843 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6845 if (!SWIG_IsOK(ecode2
)) {
6846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6848 arg2
= static_cast< int >(val2
);
6850 (arg1
)->SetDepth(arg2
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_Py_Void();
6860 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
= 0;
6862 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6868 PyObject
* obj1
= 0 ;
6869 char * kwnames
[] = {
6870 (char *) "self",(char *) "size", NULL
6873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6875 if (!SWIG_IsOK(res1
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6878 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6881 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6884 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_Py_Void();
6894 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
= 0;
6896 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6897 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6905 char * kwnames
[] = {
6906 (char *) "self",(char *) "other", NULL
6909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6911 if (!SWIG_IsOK(res1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6914 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6915 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6916 if (!SWIG_IsOK(res2
)) {
6917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6919 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6921 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6933 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
= 0;
6935 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6936 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 char * kwnames
[] = {
6945 (char *) "self",(char *) "other", NULL
6948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6950 if (!SWIG_IsOK(res1
)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6953 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6955 if (!SWIG_IsOK(res2
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6958 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6960 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6972 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6975 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6976 return SWIG_Py_Void();
6979 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6980 return SWIG_Python_InitShadowInstance(args
);
6983 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
= 0;
6991 wxBitmap
*result
= 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7000 PyObject
* obj2
= 0 ;
7001 PyObject
* obj3
= 0 ;
7002 char * kwnames
[] = {
7003 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7008 if (!SWIG_IsOK(ecode1
)) {
7009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7011 arg1
= static_cast< int >(val1
);
7012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7013 if (!SWIG_IsOK(ecode2
)) {
7014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7016 arg2
= static_cast< int >(val2
);
7018 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7022 if (obj3
!= Py_None
) {
7023 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7028 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7038 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7044 wxBitmap
*result
= 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 PyObject
* obj2
= 0 ;
7053 char * kwnames
[] = {
7054 (char *) "width",(char *) "height",(char *) "data", NULL
7057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7059 if (!SWIG_IsOK(ecode1
)) {
7060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7062 arg1
= static_cast< int >(val1
);
7063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7064 if (!SWIG_IsOK(ecode2
)) {
7065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7067 arg2
= static_cast< int >(val2
);
7069 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7073 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7083 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7089 wxBitmap
*result
= 0 ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7097 PyObject
* obj2
= 0 ;
7098 char * kwnames
[] = {
7099 (char *) "width",(char *) "height",(char *) "data", NULL
7102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7103 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7104 if (!SWIG_IsOK(ecode1
)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7107 arg1
= static_cast< int >(val1
);
7108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7109 if (!SWIG_IsOK(ecode2
)) {
7110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7112 arg2
= static_cast< int >(val2
);
7114 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7118 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7128 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7129 PyObject
*resultobj
= 0;
7130 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7134 PyObject
*swig_obj
[1] ;
7136 if (!args
) SWIG_fail
;
7138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7139 if (!SWIG_IsOK(res1
)) {
7140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7142 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7144 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7154 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7155 PyObject
*resultobj
= 0;
7156 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7160 PyObject
*swig_obj
[1] ;
7162 if (!args
) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7168 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7170 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= SWIG_From_int(static_cast< int >(result
));
7180 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7181 PyObject
*resultobj
= 0;
7182 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7186 PyObject
*swig_obj
[1] ;
7188 if (!args
) SWIG_fail
;
7190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7191 if (!SWIG_IsOK(res1
)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7194 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7196 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_From_int(static_cast< int >(result
));
7206 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7207 PyObject
*resultobj
= 0;
7208 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7212 PyObject
*swig_obj
[1] ;
7214 if (!args
) SWIG_fail
;
7216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7217 if (!SWIG_IsOK(res1
)) {
7218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7220 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7222 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7232 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7233 PyObject
*resultobj
= 0;
7234 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7238 PyObject
*swig_obj
[1] ;
7240 if (!args
) SWIG_fail
;
7242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7243 if (!SWIG_IsOK(res1
)) {
7244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7246 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7248 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_From_int(static_cast< int >(result
));
7258 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7262 return SWIG_Py_Void();
7265 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7266 PyObject
*resultobj
= 0;
7267 wxBitmap
*arg1
= 0 ;
7268 wxNativePixelData
*result
= 0 ;
7272 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7280 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7282 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7292 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7293 PyObject
*resultobj
= 0;
7294 wxBitmap
*arg1
= 0 ;
7296 wxNativePixelData
*result
= 0 ;
7301 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7303 if (!SWIG_IsOK(res1
)) {
7304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7309 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7312 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7315 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7325 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7326 PyObject
*resultobj
= 0;
7327 wxBitmap
*arg1
= 0 ;
7330 wxNativePixelData
*result
= 0 ;
7336 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7344 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7347 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7351 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7354 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7364 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7368 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7371 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7374 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7377 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7381 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7386 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7387 PyObject
*resultobj
= 0;
7388 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7391 PyObject
*swig_obj
[1] ;
7393 if (!args
) SWIG_fail
;
7395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7396 if (!SWIG_IsOK(res1
)) {
7397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7399 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7405 resultobj
= SWIG_Py_Void();
7412 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7413 PyObject
*resultobj
= 0;
7414 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7415 wxNativePixelData_Accessor result
;
7418 PyObject
*swig_obj
[1] ;
7420 if (!args
) SWIG_fail
;
7422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7423 if (!SWIG_IsOK(res1
)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7426 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7428 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7438 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7439 PyObject
*resultobj
= 0;
7440 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7443 PyObject
*swig_obj
[1] ;
7445 if (!args
) SWIG_fail
;
7447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7448 if (!SWIG_IsOK(res1
)) {
7449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7451 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= SWIG_Py_Void();
7463 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7464 PyObject
*resultobj
= 0;
7465 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7469 PyObject
*swig_obj
[1] ;
7471 if (!args
) SWIG_fail
;
7473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7474 if (!SWIG_IsOK(res1
)) {
7475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7477 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7479 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7491 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7494 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7495 return SWIG_Py_Void();
7498 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7499 return SWIG_Python_InitShadowInstance(args
);
7502 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7503 PyObject
*resultobj
= 0;
7504 wxNativePixelData
*arg1
= 0 ;
7505 wxNativePixelData_Accessor
*result
= 0 ;
7509 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7511 if (!SWIG_IsOK(res1
)) {
7512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7517 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7519 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7529 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7530 PyObject
*resultobj
= 0;
7531 wxBitmap
*arg1
= 0 ;
7532 wxNativePixelData
*arg2
= 0 ;
7533 wxNativePixelData_Accessor
*result
= 0 ;
7539 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7541 if (!SWIG_IsOK(res1
)) {
7542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7547 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7548 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7549 if (!SWIG_IsOK(res2
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7555 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7557 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7567 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7568 PyObject
*resultobj
= 0;
7569 wxNativePixelData_Accessor
*result
= 0 ;
7571 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7573 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7583 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7587 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7590 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7593 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7596 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7600 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7605 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7606 PyObject
*resultobj
= 0;
7607 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7610 PyObject
*swig_obj
[1] ;
7612 if (!args
) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7618 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
= 0;
7633 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7634 wxNativePixelData
*arg2
= 0 ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7641 char * kwnames
[] = {
7642 (char *) "self",(char *) "data", NULL
7645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7647 if (!SWIG_IsOK(res1
)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7650 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7652 if (!SWIG_IsOK(res2
)) {
7653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7658 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7660 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= SWIG_Py_Void();
7670 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 PyObject
*resultobj
= 0;
7672 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7676 PyObject
*swig_obj
[1] ;
7678 if (!args
) SWIG_fail
;
7680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7681 if (!SWIG_IsOK(res1
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7684 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7686 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7687 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7698 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7699 PyObject
*resultobj
= 0;
7700 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7703 PyObject
*swig_obj
[1] ;
7705 if (!args
) SWIG_fail
;
7707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7708 if (!SWIG_IsOK(res1
)) {
7709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7711 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7713 wxNativePixelData_Accessor_nextPixel(arg1
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_Py_Void();
7723 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
= 0;
7725 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7726 wxNativePixelData
*arg2
= 0 ;
7737 PyObject
* obj0
= 0 ;
7738 PyObject
* obj1
= 0 ;
7739 PyObject
* obj2
= 0 ;
7740 PyObject
* obj3
= 0 ;
7741 char * kwnames
[] = {
7742 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7747 if (!SWIG_IsOK(res1
)) {
7748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7750 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7752 if (!SWIG_IsOK(res2
)) {
7753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7758 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7760 if (!SWIG_IsOK(ecode3
)) {
7761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7763 arg3
= static_cast< int >(val3
);
7764 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7765 if (!SWIG_IsOK(ecode4
)) {
7766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7768 arg4
= static_cast< int >(val4
);
7770 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= SWIG_Py_Void();
7780 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
*resultobj
= 0;
7782 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7783 wxNativePixelData
*arg2
= 0 ;
7791 PyObject
* obj0
= 0 ;
7792 PyObject
* obj1
= 0 ;
7793 PyObject
* obj2
= 0 ;
7794 char * kwnames
[] = {
7795 (char *) "self",(char *) "data",(char *) "x", NULL
7798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7800 if (!SWIG_IsOK(res1
)) {
7801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7803 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7805 if (!SWIG_IsOK(res2
)) {
7806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7811 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7813 if (!SWIG_IsOK(ecode3
)) {
7814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7816 arg3
= static_cast< int >(val3
);
7818 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_Py_Void();
7828 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
= 0;
7830 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7831 wxNativePixelData
*arg2
= 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7841 PyObject
* obj2
= 0 ;
7842 char * kwnames
[] = {
7843 (char *) "self",(char *) "data",(char *) "y", NULL
7846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7848 if (!SWIG_IsOK(res1
)) {
7849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7851 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7853 if (!SWIG_IsOK(res2
)) {
7854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7859 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7861 if (!SWIG_IsOK(ecode3
)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7864 arg3
= static_cast< int >(val3
);
7866 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_Py_Void();
7876 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
= 0;
7878 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7879 wxNativePixelData
*arg2
= 0 ;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7892 PyObject
* obj2
= 0 ;
7893 PyObject
* obj3
= 0 ;
7894 char * kwnames
[] = {
7895 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7900 if (!SWIG_IsOK(res1
)) {
7901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7903 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7905 if (!SWIG_IsOK(res2
)) {
7906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7911 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7913 if (!SWIG_IsOK(ecode3
)) {
7914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7916 arg3
= static_cast< int >(val3
);
7917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7918 if (!SWIG_IsOK(ecode4
)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7921 arg4
= static_cast< int >(val4
);
7923 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_Py_Void();
7933 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
= 0;
7935 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7941 unsigned char val2
;
7943 unsigned char val3
;
7945 unsigned char val4
;
7947 PyObject
* obj0
= 0 ;
7948 PyObject
* obj1
= 0 ;
7949 PyObject
* obj2
= 0 ;
7950 PyObject
* obj3
= 0 ;
7951 char * kwnames
[] = {
7952 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7957 if (!SWIG_IsOK(res1
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7960 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7961 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7962 if (!SWIG_IsOK(ecode2
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7965 arg2
= static_cast< byte
>(val2
);
7966 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7967 if (!SWIG_IsOK(ecode3
)) {
7968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7970 arg3
= static_cast< byte
>(val3
);
7971 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7972 if (!SWIG_IsOK(ecode4
)) {
7973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7975 arg4
= static_cast< byte
>(val4
);
7977 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= SWIG_Py_Void();
7987 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7988 PyObject
*resultobj
= 0;
7989 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7990 PyObject
*result
= 0 ;
7993 PyObject
*swig_obj
[1] ;
7995 if (!args
) SWIG_fail
;
7997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7998 if (!SWIG_IsOK(res1
)) {
7999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8001 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8003 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8013 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8016 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8017 return SWIG_Py_Void();
8020 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8021 return SWIG_Python_InitShadowInstance(args
);
8024 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8025 PyObject
*resultobj
= 0;
8026 wxBitmap
*arg1
= 0 ;
8027 wxAlphaPixelData
*result
= 0 ;
8031 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8033 if (!SWIG_IsOK(res1
)) {
8034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8039 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8041 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8051 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8052 PyObject
*resultobj
= 0;
8053 wxBitmap
*arg1
= 0 ;
8055 wxAlphaPixelData
*result
= 0 ;
8060 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8062 if (!SWIG_IsOK(res1
)) {
8063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8068 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8071 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8074 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8084 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8085 PyObject
*resultobj
= 0;
8086 wxBitmap
*arg1
= 0 ;
8089 wxAlphaPixelData
*result
= 0 ;
8095 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8097 if (!SWIG_IsOK(res1
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8103 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8106 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8110 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8113 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8123 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8127 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8130 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8133 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8136 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8140 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8145 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8146 PyObject
*resultobj
= 0;
8147 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8150 PyObject
*swig_obj
[1] ;
8152 if (!args
) SWIG_fail
;
8154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8155 if (!SWIG_IsOK(res1
)) {
8156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8158 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= SWIG_Py_Void();
8171 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8172 PyObject
*resultobj
= 0;
8173 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8174 wxAlphaPixelData_Accessor result
;
8177 PyObject
*swig_obj
[1] ;
8179 if (!args
) SWIG_fail
;
8181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8182 if (!SWIG_IsOK(res1
)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8185 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8187 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8197 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8198 PyObject
*resultobj
= 0;
8199 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8202 PyObject
*swig_obj
[1] ;
8204 if (!args
) SWIG_fail
;
8206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8207 if (!SWIG_IsOK(res1
)) {
8208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8210 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_Py_Void();
8222 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8223 PyObject
*resultobj
= 0;
8224 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8228 PyObject
*swig_obj
[1] ;
8230 if (!args
) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8236 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8238 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8250 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8253 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8254 return SWIG_Py_Void();
8257 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8258 return SWIG_Python_InitShadowInstance(args
);
8261 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8262 PyObject
*resultobj
= 0;
8263 wxAlphaPixelData
*arg1
= 0 ;
8264 wxAlphaPixelData_Accessor
*result
= 0 ;
8268 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8270 if (!SWIG_IsOK(res1
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8276 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8278 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8288 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8289 PyObject
*resultobj
= 0;
8290 wxBitmap
*arg1
= 0 ;
8291 wxAlphaPixelData
*arg2
= 0 ;
8292 wxAlphaPixelData_Accessor
*result
= 0 ;
8298 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8300 if (!SWIG_IsOK(res1
)) {
8301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8306 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8307 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8308 if (!SWIG_IsOK(res2
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8314 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8316 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8326 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8327 PyObject
*resultobj
= 0;
8328 wxAlphaPixelData_Accessor
*result
= 0 ;
8330 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8332 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8342 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8346 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8349 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8352 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8355 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8359 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8364 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8365 PyObject
*resultobj
= 0;
8366 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8369 PyObject
*swig_obj
[1] ;
8371 if (!args
) SWIG_fail
;
8373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8374 if (!SWIG_IsOK(res1
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8377 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_Py_Void();
8390 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
= 0;
8392 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8393 wxAlphaPixelData
*arg2
= 0 ;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8400 char * kwnames
[] = {
8401 (char *) "self",(char *) "data", NULL
8404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8409 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8410 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8411 if (!SWIG_IsOK(res2
)) {
8412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8417 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8419 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 resultobj
= SWIG_Py_Void();
8429 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8430 PyObject
*resultobj
= 0;
8431 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8435 PyObject
*swig_obj
[1] ;
8437 if (!args
) SWIG_fail
;
8439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8440 if (!SWIG_IsOK(res1
)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8443 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8445 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8446 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8457 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8458 PyObject
*resultobj
= 0;
8459 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8462 PyObject
*swig_obj
[1] ;
8464 if (!args
) SWIG_fail
;
8466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8467 if (!SWIG_IsOK(res1
)) {
8468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8470 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8472 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_Py_Void();
8482 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
= 0;
8484 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8485 wxAlphaPixelData
*arg2
= 0 ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8498 PyObject
* obj2
= 0 ;
8499 PyObject
* obj3
= 0 ;
8500 char * kwnames
[] = {
8501 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8506 if (!SWIG_IsOK(res1
)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8509 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8511 if (!SWIG_IsOK(res2
)) {
8512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8517 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8519 if (!SWIG_IsOK(ecode3
)) {
8520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8522 arg3
= static_cast< int >(val3
);
8523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8524 if (!SWIG_IsOK(ecode4
)) {
8525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8527 arg4
= static_cast< int >(val4
);
8529 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_Py_Void();
8539 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
= 0;
8541 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8542 wxAlphaPixelData
*arg2
= 0 ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8552 PyObject
* obj2
= 0 ;
8553 char * kwnames
[] = {
8554 (char *) "self",(char *) "data",(char *) "x", NULL
8557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8559 if (!SWIG_IsOK(res1
)) {
8560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8562 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8564 if (!SWIG_IsOK(res2
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8570 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8572 if (!SWIG_IsOK(ecode3
)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8575 arg3
= static_cast< int >(val3
);
8577 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_Py_Void();
8587 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
= 0;
8589 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8590 wxAlphaPixelData
*arg2
= 0 ;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8600 PyObject
* obj2
= 0 ;
8601 char * kwnames
[] = {
8602 (char *) "self",(char *) "data",(char *) "y", NULL
8605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8607 if (!SWIG_IsOK(res1
)) {
8608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8610 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8612 if (!SWIG_IsOK(res2
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8618 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8620 if (!SWIG_IsOK(ecode3
)) {
8621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8623 arg3
= static_cast< int >(val3
);
8625 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_Py_Void();
8635 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
= 0;
8637 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8638 wxAlphaPixelData
*arg2
= 0 ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8651 PyObject
* obj2
= 0 ;
8652 PyObject
* obj3
= 0 ;
8653 char * kwnames
[] = {
8654 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8662 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8664 if (!SWIG_IsOK(res2
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8670 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8672 if (!SWIG_IsOK(ecode3
)) {
8673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8675 arg3
= static_cast< int >(val3
);
8676 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8677 if (!SWIG_IsOK(ecode4
)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8680 arg4
= static_cast< int >(val4
);
8682 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= SWIG_Py_Void();
8692 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
= 0;
8694 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8701 unsigned char val2
;
8703 unsigned char val3
;
8705 unsigned char val4
;
8707 unsigned char val5
;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8711 PyObject
* obj2
= 0 ;
8712 PyObject
* obj3
= 0 ;
8713 PyObject
* obj4
= 0 ;
8714 char * kwnames
[] = {
8715 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8720 if (!SWIG_IsOK(res1
)) {
8721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8723 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8724 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8725 if (!SWIG_IsOK(ecode2
)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8728 arg2
= static_cast< byte
>(val2
);
8729 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8730 if (!SWIG_IsOK(ecode3
)) {
8731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8733 arg3
= static_cast< byte
>(val3
);
8734 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8735 if (!SWIG_IsOK(ecode4
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8738 arg4
= static_cast< byte
>(val4
);
8739 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8740 if (!SWIG_IsOK(ecode5
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8743 arg5
= static_cast< byte
>(val5
);
8745 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= SWIG_Py_Void();
8755 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8756 PyObject
*resultobj
= 0;
8757 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8758 PyObject
*result
= 0 ;
8761 PyObject
*swig_obj
[1] ;
8763 if (!args
) SWIG_fail
;
8765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8766 if (!SWIG_IsOK(res1
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8769 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8771 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8781 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8784 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8785 return SWIG_Py_Void();
8788 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8789 return SWIG_Python_InitShadowInstance(args
);
8792 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxBitmap
*arg1
= 0 ;
8795 wxColour
const &arg2_defvalue
= wxNullColour
;
8796 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8797 wxMask
*result
= 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 char * kwnames
[] = {
8804 (char *) "bitmap",(char *) "colour", NULL
8807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8815 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8819 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8823 if (!wxPyCheckForApp()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8836 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8837 PyObject
*resultobj
= 0;
8838 wxMask
*arg1
= (wxMask
*) 0 ;
8841 PyObject
*swig_obj
[1] ;
8843 if (!args
) SWIG_fail
;
8845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8846 if (!SWIG_IsOK(res1
)) {
8847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8849 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_Py_Void();
8862 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8865 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8866 return SWIG_Py_Void();
8869 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8870 return SWIG_Python_InitShadowInstance(args
);
8873 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
= 0;
8875 wxString
*arg1
= 0 ;
8877 int arg3
= (int) -1 ;
8878 int arg4
= (int) -1 ;
8879 wxIcon
*result
= 0 ;
8880 bool temp1
= false ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8890 PyObject
* obj3
= 0 ;
8891 char * kwnames
[] = {
8892 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8897 arg1
= wxString_in_helper(obj0
);
8898 if (arg1
== NULL
) SWIG_fail
;
8901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8902 if (!SWIG_IsOK(ecode2
)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8905 arg2
= static_cast< wxBitmapType
>(val2
);
8907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8908 if (!SWIG_IsOK(ecode3
)) {
8909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8911 arg3
= static_cast< int >(val3
);
8914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8915 if (!SWIG_IsOK(ecode4
)) {
8916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8918 arg4
= static_cast< int >(val4
);
8921 if (!wxPyCheckForApp()) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8942 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8943 PyObject
*resultobj
= 0;
8944 wxIcon
*arg1
= (wxIcon
*) 0 ;
8947 PyObject
*swig_obj
[1] ;
8949 if (!args
) SWIG_fail
;
8951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8952 if (!SWIG_IsOK(res1
)) {
8953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8955 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= SWIG_Py_Void();
8970 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8971 PyObject
*resultobj
= 0;
8972 wxIcon
*result
= 0 ;
8974 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8976 if (!wxPyCheckForApp()) SWIG_fail
;
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (wxIcon
*)new wxIcon();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8989 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
= 0;
8991 wxIconLocation
*arg1
= 0 ;
8992 wxIcon
*result
= 0 ;
8995 PyObject
* obj0
= 0 ;
8996 char * kwnames
[] = {
8997 (char *) "loc", NULL
9000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9008 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9010 if (!wxPyCheckForApp()) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9023 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
= 0;
9025 wxBitmap
*arg1
= 0 ;
9026 wxIcon
*result
= 0 ;
9029 PyObject
* obj0
= 0 ;
9030 char * kwnames
[] = {
9031 (char *) "bmp", NULL
9034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9035 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9036 if (!SWIG_IsOK(res1
)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9042 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9044 if (!wxPyCheckForApp()) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9057 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
= 0;
9059 PyObject
*arg1
= (PyObject
*) 0 ;
9060 wxIcon
*result
= 0 ;
9061 PyObject
* obj0
= 0 ;
9062 char * kwnames
[] = {
9063 (char *) "listOfStrings", NULL
9066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9069 if (!wxPyCheckForApp()) SWIG_fail
;
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 result
= (wxIcon
*)new_wxIcon(arg1
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9082 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
= 0;
9084 wxIcon
*arg1
= (wxIcon
*) 0 ;
9085 wxString
*arg2
= 0 ;
9090 bool temp2
= false ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9096 char * kwnames
[] = {
9097 (char *) "self",(char *) "name",(char *) "type", NULL
9100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9102 if (!SWIG_IsOK(res1
)) {
9103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9105 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9107 arg2
= wxString_in_helper(obj1
);
9108 if (arg2
== NULL
) SWIG_fail
;
9111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9112 if (!SWIG_IsOK(ecode3
)) {
9113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9115 arg3
= static_cast< wxBitmapType
>(val3
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9139 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9140 PyObject
*resultobj
= 0;
9141 wxIcon
*arg1
= (wxIcon
*) 0 ;
9145 PyObject
*swig_obj
[1] ;
9147 if (!args
) SWIG_fail
;
9149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9150 if (!SWIG_IsOK(res1
)) {
9151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9153 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 result
= (bool)(arg1
)->IsOk();
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9169 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9170 PyObject
*resultobj
= 0;
9171 wxIcon
*arg1
= (wxIcon
*) 0 ;
9175 PyObject
*swig_obj
[1] ;
9177 if (!args
) SWIG_fail
;
9179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9180 if (!SWIG_IsOK(res1
)) {
9181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9183 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (int)(arg1
)->GetWidth();
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= SWIG_From_int(static_cast< int >(result
));
9197 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9198 PyObject
*resultobj
= 0;
9199 wxIcon
*arg1
= (wxIcon
*) 0 ;
9203 PyObject
*swig_obj
[1] ;
9205 if (!args
) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9211 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (int)(arg1
)->GetHeight();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_From_int(static_cast< int >(result
));
9225 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 PyObject
*resultobj
= 0;
9227 wxIcon
*arg1
= (wxIcon
*) 0 ;
9231 PyObject
*swig_obj
[1] ;
9233 if (!args
) SWIG_fail
;
9235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9236 if (!SWIG_IsOK(res1
)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9239 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (int)(arg1
)->GetDepth();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= SWIG_From_int(static_cast< int >(result
));
9253 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
= 0;
9255 wxIcon
*arg1
= (wxIcon
*) 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 char * kwnames
[] = {
9264 (char *) "self",(char *) "w", NULL
9267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9272 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9274 if (!SWIG_IsOK(ecode2
)) {
9275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9277 arg2
= static_cast< int >(val2
);
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->SetWidth(arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_Py_Void();
9291 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= 0;
9293 wxIcon
*arg1
= (wxIcon
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9300 PyObject
* obj1
= 0 ;
9301 char * kwnames
[] = {
9302 (char *) "self",(char *) "h", NULL
9305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9310 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9312 if (!SWIG_IsOK(ecode2
)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9315 arg2
= static_cast< int >(val2
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 (arg1
)->SetHeight(arg2
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_Py_Void();
9329 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9330 PyObject
*resultobj
= 0;
9331 wxIcon
*arg1
= (wxIcon
*) 0 ;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9339 char * kwnames
[] = {
9340 (char *) "self",(char *) "d", NULL
9343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9345 if (!SWIG_IsOK(res1
)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9348 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9350 if (!SWIG_IsOK(ecode2
)) {
9351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9353 arg2
= static_cast< int >(val2
);
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 (arg1
)->SetDepth(arg2
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 resultobj
= SWIG_Py_Void();
9367 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
*resultobj
= 0;
9369 wxIcon
*arg1
= (wxIcon
*) 0 ;
9370 wxBitmap
*arg2
= 0 ;
9375 PyObject
* obj0
= 0 ;
9376 PyObject
* obj1
= 0 ;
9377 char * kwnames
[] = {
9378 (char *) "self",(char *) "bmp", NULL
9381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9383 if (!SWIG_IsOK(res1
)) {
9384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9386 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9388 if (!SWIG_IsOK(res2
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9394 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 resultobj
= SWIG_Py_Void();
9408 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9411 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9412 return SWIG_Py_Void();
9415 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9416 return SWIG_Python_InitShadowInstance(args
);
9419 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
= 0;
9421 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9422 int arg2
= (int) 0 ;
9423 wxIconLocation
*result
= 0 ;
9424 bool temp1
= false ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "filename",(char *) "num", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9436 arg1
= wxString_in_helper(obj0
);
9437 if (arg1
== NULL
) SWIG_fail
;
9442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9443 if (!SWIG_IsOK(ecode2
)) {
9444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9446 arg2
= static_cast< int >(val2
);
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9469 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9470 PyObject
*resultobj
= 0;
9471 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9474 PyObject
*swig_obj
[1] ;
9476 if (!args
) SWIG_fail
;
9478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9479 if (!SWIG_IsOK(res1
)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9482 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_Py_Void();
9497 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9498 PyObject
*resultobj
= 0;
9499 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9503 PyObject
*swig_obj
[1] ;
9505 if (!args
) SWIG_fail
;
9507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9508 if (!SWIG_IsOK(res1
)) {
9509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9511 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9527 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
= 0;
9529 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9530 wxString
*arg2
= 0 ;
9533 bool temp2
= false ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9536 char * kwnames
[] = {
9537 (char *) "self",(char *) "filename", NULL
9540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9542 if (!SWIG_IsOK(res1
)) {
9543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9545 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9547 arg2
= wxString_in_helper(obj1
);
9548 if (arg2
== NULL
) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 (arg1
)->SetFileName((wxString
const &)*arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_Py_Void();
9572 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9573 PyObject
*resultobj
= 0;
9574 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9575 wxString
*result
= 0 ;
9578 PyObject
*swig_obj
[1] ;
9580 if (!args
) SWIG_fail
;
9582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9583 if (!SWIG_IsOK(res1
)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9586 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9591 result
= (wxString
*) &_result_ref
;
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9600 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9609 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
= 0;
9611 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9618 PyObject
* obj1
= 0 ;
9619 char * kwnames
[] = {
9620 (char *) "self",(char *) "num", NULL
9623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9625 if (!SWIG_IsOK(res1
)) {
9626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9628 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9630 if (!SWIG_IsOK(ecode2
)) {
9631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9633 arg2
= static_cast< int >(val2
);
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 wxIconLocation_SetIndex(arg1
,arg2
);
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_Py_Void();
9647 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9648 PyObject
*resultobj
= 0;
9649 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9653 PyObject
*swig_obj
[1] ;
9655 if (!args
) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9661 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (int)wxIconLocation_GetIndex(arg1
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_From_int(static_cast< int >(result
));
9675 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9678 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9679 return SWIG_Py_Void();
9682 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9683 return SWIG_Python_InitShadowInstance(args
);
9686 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9687 PyObject
*resultobj
= 0;
9688 wxIconBundle
*result
= 0 ;
9690 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (wxIconBundle
*)new wxIconBundle();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9704 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
= 0;
9706 wxString
*arg1
= 0 ;
9708 wxIconBundle
*result
= 0 ;
9709 bool temp1
= false ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 char * kwnames
[] = {
9715 (char *) "file",(char *) "type", NULL
9718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9720 arg1
= wxString_in_helper(obj0
);
9721 if (arg1
== NULL
) SWIG_fail
;
9724 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9725 if (!SWIG_IsOK(ecode2
)) {
9726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9728 arg2
= static_cast< long >(val2
);
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9750 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
= 0;
9753 wxIconBundle
*result
= 0 ;
9756 PyObject
* obj0
= 0 ;
9757 char * kwnames
[] = {
9758 (char *) "icon", NULL
9761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9769 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9783 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9784 PyObject
*resultobj
= 0;
9785 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9788 PyObject
*swig_obj
[1] ;
9790 if (!args
) SWIG_fail
;
9792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9793 if (!SWIG_IsOK(res1
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9796 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_Py_Void();
9811 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
= 0;
9813 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9820 PyObject
* obj1
= 0 ;
9821 char * kwnames
[] = {
9822 (char *) "self",(char *) "icon", NULL
9825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9827 if (!SWIG_IsOK(res1
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9830 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9832 if (!SWIG_IsOK(res2
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9838 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= SWIG_Py_Void();
9852 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
= 0;
9854 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9855 wxString
*arg2
= 0 ;
9859 bool temp2
= false ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9864 PyObject
* obj2
= 0 ;
9865 char * kwnames
[] = {
9866 (char *) "self",(char *) "file",(char *) "type", NULL
9869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9871 if (!SWIG_IsOK(res1
)) {
9872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9874 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9876 arg2
= wxString_in_helper(obj1
);
9877 if (arg2
== NULL
) SWIG_fail
;
9880 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9881 if (!SWIG_IsOK(ecode3
)) {
9882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9884 arg3
= static_cast< long >(val3
);
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_Py_Void();
9906 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9908 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9910 wxIcon
*result
= 0 ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9916 char * kwnames
[] = {
9917 (char *) "self",(char *) "size", NULL
9920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9922 if (!SWIG_IsOK(res1
)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9925 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9928 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9934 result
= (wxIcon
*) &_result_ref
;
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9940 wxIcon
* resultptr
= new wxIcon(*result
);
9941 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9949 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9952 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9953 return SWIG_Py_Void();
9956 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9957 return SWIG_Python_InitShadowInstance(args
);
9960 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
= 0;
9962 wxString
*arg1
= 0 ;
9964 int arg3
= (int) 0 ;
9965 int arg4
= (int) 0 ;
9966 wxCursor
*result
= 0 ;
9967 bool temp1
= false ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9976 PyObject
* obj2
= 0 ;
9977 PyObject
* obj3
= 0 ;
9978 char * kwnames
[] = {
9979 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9984 arg1
= wxString_in_helper(obj0
);
9985 if (arg1
== NULL
) SWIG_fail
;
9988 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9989 if (!SWIG_IsOK(ecode2
)) {
9990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9992 arg2
= static_cast< long >(val2
);
9994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9995 if (!SWIG_IsOK(ecode3
)) {
9996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9998 arg3
= static_cast< int >(val3
);
10001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10002 if (!SWIG_IsOK(ecode4
)) {
10003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10005 arg4
= static_cast< int >(val4
);
10008 if (!wxPyCheckForApp()) SWIG_fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10029 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10030 PyObject
*resultobj
= 0;
10031 wxCursor
*arg1
= (wxCursor
*) 0 ;
10034 PyObject
*swig_obj
[1] ;
10036 if (!args
) SWIG_fail
;
10037 swig_obj
[0] = args
;
10038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10042 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_Py_Void();
10057 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= 0;
10060 wxCursor
*result
= 0 ;
10063 PyObject
* obj0
= 0 ;
10064 char * kwnames
[] = {
10065 (char *) "id", NULL
10068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10070 if (!SWIG_IsOK(ecode1
)) {
10071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10073 arg1
= static_cast< int >(val1
);
10075 if (!wxPyCheckForApp()) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (wxCursor
*)new wxCursor(arg1
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10088 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
= 0;
10090 wxImage
*arg1
= 0 ;
10091 wxCursor
*result
= 0 ;
10094 PyObject
* obj0
= 0 ;
10095 char * kwnames
[] = {
10096 (char *) "image", NULL
10099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10100 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10101 if (!SWIG_IsOK(res1
)) {
10102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10107 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10109 if (!wxPyCheckForApp()) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10122 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10123 PyObject
*resultobj
= 0;
10124 wxCursor
*arg1
= (wxCursor
*) 0 ;
10128 PyObject
*swig_obj
[1] ;
10130 if (!args
) SWIG_fail
;
10131 swig_obj
[0] = args
;
10132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10133 if (!SWIG_IsOK(res1
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10136 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (bool)(arg1
)->IsOk();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10152 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10155 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10156 return SWIG_Py_Void();
10159 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 return SWIG_Python_InitShadowInstance(args
);
10163 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
= 0;
10165 int arg1
= (int) 0 ;
10166 int arg2
= (int) 0 ;
10167 int arg3
= (int) 0 ;
10168 int arg4
= (int) 0 ;
10169 wxRegion
*result
= 0 ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 PyObject
* obj2
= 0 ;
10181 PyObject
* obj3
= 0 ;
10182 char * kwnames
[] = {
10183 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10189 if (!SWIG_IsOK(ecode1
)) {
10190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10192 arg1
= static_cast< int >(val1
);
10195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10196 if (!SWIG_IsOK(ecode2
)) {
10197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10199 arg2
= static_cast< int >(val2
);
10202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10203 if (!SWIG_IsOK(ecode3
)) {
10204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10206 arg3
= static_cast< int >(val3
);
10209 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10210 if (!SWIG_IsOK(ecode4
)) {
10211 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10213 arg4
= static_cast< int >(val4
);
10216 if (!wxPyCheckForApp()) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10229 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
= 0;
10231 wxBitmap
*arg1
= 0 ;
10232 wxRegion
*result
= 0 ;
10235 PyObject
* obj0
= 0 ;
10236 char * kwnames
[] = {
10237 (char *) "bmp", NULL
10240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10241 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10242 if (!SWIG_IsOK(res1
)) {
10243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10248 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10250 if (!wxPyCheckForApp()) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10263 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
= 0;
10265 wxBitmap
*arg1
= 0 ;
10266 wxColour
*arg2
= 0 ;
10267 int arg3
= (int) 0 ;
10268 wxRegion
*result
= 0 ;
10274 PyObject
* obj0
= 0 ;
10275 PyObject
* obj1
= 0 ;
10276 PyObject
* obj2
= 0 ;
10277 char * kwnames
[] = {
10278 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10283 if (!SWIG_IsOK(res1
)) {
10284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10289 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10292 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10296 if (!SWIG_IsOK(ecode3
)) {
10297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10299 arg3
= static_cast< int >(val3
);
10302 if (!wxPyCheckForApp()) SWIG_fail
;
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10304 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10315 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
*resultobj
= 0;
10318 wxPoint
*arg2
= (wxPoint
*) 0 ;
10319 int arg3
= (int) wxWINDING_RULE
;
10320 wxRegion
*result
= 0 ;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 char * kwnames
[] = {
10326 (char *) "points",(char *) "fillStyle", NULL
10329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10331 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10332 if (arg2
== NULL
) SWIG_fail
;
10335 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10336 if (!SWIG_IsOK(ecode3
)) {
10337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10339 arg3
= static_cast< int >(val3
);
10342 if (!wxPyCheckForApp()) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10350 if (arg2
) delete [] arg2
;
10355 if (arg2
) delete [] arg2
;
10361 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10362 PyObject
*resultobj
= 0;
10363 wxRegion
*arg1
= (wxRegion
*) 0 ;
10366 PyObject
*swig_obj
[1] ;
10368 if (!args
) SWIG_fail
;
10369 swig_obj
[0] = args
;
10370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10371 if (!SWIG_IsOK(res1
)) {
10372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10374 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= SWIG_Py_Void();
10389 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10390 PyObject
*resultobj
= 0;
10391 wxRegion
*arg1
= (wxRegion
*) 0 ;
10394 PyObject
*swig_obj
[1] ;
10396 if (!args
) SWIG_fail
;
10397 swig_obj
[0] = args
;
10398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10402 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_Py_Void();
10416 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
= 0;
10418 wxRegion
*arg1
= (wxRegion
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 PyObject
* obj2
= 0 ;
10431 char * kwnames
[] = {
10432 (char *) "self",(char *) "x",(char *) "y", NULL
10435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10437 if (!SWIG_IsOK(res1
)) {
10438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10440 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10442 if (!SWIG_IsOK(ecode2
)) {
10443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10445 arg2
= static_cast< int >(val2
);
10446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10447 if (!SWIG_IsOK(ecode3
)) {
10448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10450 arg3
= static_cast< int >(val3
);
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10466 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
= 0;
10468 wxRegion
*arg1
= (wxRegion
*) 0 ;
10471 wxRegionContain result
;
10478 PyObject
* obj0
= 0 ;
10479 PyObject
* obj1
= 0 ;
10480 PyObject
* obj2
= 0 ;
10481 char * kwnames
[] = {
10482 (char *) "self",(char *) "x",(char *) "y", NULL
10485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10487 if (!SWIG_IsOK(res1
)) {
10488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10490 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10492 if (!SWIG_IsOK(ecode2
)) {
10493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10495 arg2
= static_cast< int >(val2
);
10496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10497 if (!SWIG_IsOK(ecode3
)) {
10498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10500 arg3
= static_cast< int >(val3
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_From_int(static_cast< int >(result
));
10514 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
= 0;
10516 wxRegion
*arg1
= (wxRegion
*) 0 ;
10517 wxPoint
*arg2
= 0 ;
10518 wxRegionContain result
;
10522 PyObject
* obj0
= 0 ;
10523 PyObject
* obj1
= 0 ;
10524 char * kwnames
[] = {
10525 (char *) "self",(char *) "pt", NULL
10528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10533 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= SWIG_From_int(static_cast< int >(result
));
10551 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
= 0;
10553 wxRegion
*arg1
= (wxRegion
*) 0 ;
10555 wxRegionContain result
;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "self",(char *) "rect", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10570 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10573 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_From_int(static_cast< int >(result
));
10588 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxRegion
*arg1
= (wxRegion
*) 0 ;
10595 wxRegionContain result
;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 PyObject
* obj3
= 0 ;
10610 PyObject
* obj4
= 0 ;
10611 char * kwnames
[] = {
10612 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10620 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10622 if (!SWIG_IsOK(ecode2
)) {
10623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10625 arg2
= static_cast< int >(val2
);
10626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10627 if (!SWIG_IsOK(ecode3
)) {
10628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10630 arg3
= static_cast< int >(val3
);
10631 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10632 if (!SWIG_IsOK(ecode4
)) {
10633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10635 arg4
= static_cast< int >(val4
);
10636 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10637 if (!SWIG_IsOK(ecode5
)) {
10638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10640 arg5
= static_cast< int >(val5
);
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_From_int(static_cast< int >(result
));
10654 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10655 PyObject
*resultobj
= 0;
10656 wxRegion
*arg1
= (wxRegion
*) 0 ;
10660 PyObject
*swig_obj
[1] ;
10662 if (!args
) SWIG_fail
;
10663 swig_obj
[0] = args
;
10664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10668 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (arg1
)->GetBox();
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10682 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 PyObject
* obj3
= 0 ;
10704 PyObject
* obj4
= 0 ;
10705 char * kwnames
[] = {
10706 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10711 if (!SWIG_IsOK(res1
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10714 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10716 if (!SWIG_IsOK(ecode2
)) {
10717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10719 arg2
= static_cast< int >(val2
);
10720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10721 if (!SWIG_IsOK(ecode3
)) {
10722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10724 arg3
= static_cast< int >(val3
);
10725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10726 if (!SWIG_IsOK(ecode4
)) {
10727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10729 arg4
= static_cast< int >(val4
);
10730 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10731 if (!SWIG_IsOK(ecode5
)) {
10732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10734 arg5
= static_cast< int >(val5
);
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10750 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= 0;
10752 wxRegion
*arg1
= (wxRegion
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char * kwnames
[] = {
10761 (char *) "self",(char *) "rect", NULL
10764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10766 if (!SWIG_IsOK(res1
)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10769 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10772 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10789 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= 0;
10791 wxRegion
*arg1
= (wxRegion
*) 0 ;
10792 wxRegion
*arg2
= 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 char * kwnames
[] = {
10801 (char *) "self",(char *) "region", NULL
10804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10806 if (!SWIG_IsOK(res1
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10809 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10811 if (!SWIG_IsOK(res2
)) {
10812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10817 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10834 PyObject
*resultobj
= 0;
10835 wxRegion
*arg1
= (wxRegion
*) 0 ;
10839 PyObject
*swig_obj
[1] ;
10841 if (!args
) SWIG_fail
;
10842 swig_obj
[0] = args
;
10843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10844 if (!SWIG_IsOK(res1
)) {
10845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10847 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 result
= (bool)(arg1
)->IsEmpty();
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10863 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
= 0;
10865 wxRegion
*arg1
= (wxRegion
*) 0 ;
10866 wxRegion
*arg2
= 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 char * kwnames
[] = {
10875 (char *) "self",(char *) "region", NULL
10878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10883 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10885 if (!SWIG_IsOK(res2
)) {
10886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10891 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10907 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
= 0;
10909 wxRegion
*arg1
= (wxRegion
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 PyObject
* obj2
= 0 ;
10928 PyObject
* obj3
= 0 ;
10929 PyObject
* obj4
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10939 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10941 if (!SWIG_IsOK(ecode2
)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10944 arg2
= static_cast< int >(val2
);
10945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10946 if (!SWIG_IsOK(ecode3
)) {
10947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10949 arg3
= static_cast< int >(val3
);
10950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10951 if (!SWIG_IsOK(ecode4
)) {
10952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10954 arg4
= static_cast< int >(val4
);
10955 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10956 if (!SWIG_IsOK(ecode5
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10959 arg5
= static_cast< int >(val5
);
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10975 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
= 0;
10977 wxRegion
*arg1
= (wxRegion
*) 0 ;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 char * kwnames
[] = {
10986 (char *) "self",(char *) "rect", NULL
10989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10991 if (!SWIG_IsOK(res1
)) {
10992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10994 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10997 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11014 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
= 0;
11016 wxRegion
*arg1
= (wxRegion
*) 0 ;
11017 wxRegion
*arg2
= 0 ;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 char * kwnames
[] = {
11026 (char *) "self",(char *) "region", NULL
11029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11031 if (!SWIG_IsOK(res1
)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11034 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11036 if (!SWIG_IsOK(res2
)) {
11037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11042 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11058 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
= 0;
11060 wxRegion
*arg1
= (wxRegion
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 PyObject
* obj2
= 0 ;
11079 PyObject
* obj3
= 0 ;
11080 PyObject
* obj4
= 0 ;
11081 char * kwnames
[] = {
11082 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11090 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11092 if (!SWIG_IsOK(ecode2
)) {
11093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11095 arg2
= static_cast< int >(val2
);
11096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11097 if (!SWIG_IsOK(ecode3
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11100 arg3
= static_cast< int >(val3
);
11101 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11102 if (!SWIG_IsOK(ecode4
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11105 arg4
= static_cast< int >(val4
);
11106 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11107 if (!SWIG_IsOK(ecode5
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11110 arg5
= static_cast< int >(val5
);
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11126 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
= 0;
11128 wxRegion
*arg1
= (wxRegion
*) 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 char * kwnames
[] = {
11137 (char *) "self",(char *) "rect", NULL
11140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11145 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11165 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
= 0;
11167 wxRegion
*arg1
= (wxRegion
*) 0 ;
11168 wxRegion
*arg2
= 0 ;
11174 PyObject
* obj0
= 0 ;
11175 PyObject
* obj1
= 0 ;
11176 char * kwnames
[] = {
11177 (char *) "self",(char *) "region", NULL
11180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11185 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11187 if (!SWIG_IsOK(res2
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11193 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11209 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
= 0;
11211 wxRegion
*arg1
= (wxRegion
*) 0 ;
11227 PyObject
* obj0
= 0 ;
11228 PyObject
* obj1
= 0 ;
11229 PyObject
* obj2
= 0 ;
11230 PyObject
* obj3
= 0 ;
11231 PyObject
* obj4
= 0 ;
11232 char * kwnames
[] = {
11233 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11238 if (!SWIG_IsOK(res1
)) {
11239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11241 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11243 if (!SWIG_IsOK(ecode2
)) {
11244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11246 arg2
= static_cast< int >(val2
);
11247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11248 if (!SWIG_IsOK(ecode3
)) {
11249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11251 arg3
= static_cast< int >(val3
);
11252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11253 if (!SWIG_IsOK(ecode4
)) {
11254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11256 arg4
= static_cast< int >(val4
);
11257 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11258 if (!SWIG_IsOK(ecode5
)) {
11259 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11261 arg5
= static_cast< int >(val5
);
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11277 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
= 0;
11279 wxRegion
*arg1
= (wxRegion
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 char * kwnames
[] = {
11288 (char *) "self",(char *) "rect", NULL
11291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11293 if (!SWIG_IsOK(res1
)) {
11294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11296 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11316 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
= 0;
11318 wxRegion
*arg1
= (wxRegion
*) 0 ;
11319 wxRegion
*arg2
= 0 ;
11325 PyObject
* obj0
= 0 ;
11326 PyObject
* obj1
= 0 ;
11327 char * kwnames
[] = {
11328 (char *) "self",(char *) "region", NULL
11331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11333 if (!SWIG_IsOK(res1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11336 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11338 if (!SWIG_IsOK(res2
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11344 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11360 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11361 PyObject
*resultobj
= 0;
11362 wxRegion
*arg1
= (wxRegion
*) 0 ;
11363 SwigValueWrapper
<wxBitmap
> result
;
11366 PyObject
*swig_obj
[1] ;
11368 if (!args
) SWIG_fail
;
11369 swig_obj
[0] = args
;
11370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11371 if (!SWIG_IsOK(res1
)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11374 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (arg1
)->ConvertToBitmap();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11388 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
= 0;
11390 wxRegion
*arg1
= (wxRegion
*) 0 ;
11391 wxBitmap
*arg2
= 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 char * kwnames
[] = {
11400 (char *) "self",(char *) "bmp", NULL
11403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11405 if (!SWIG_IsOK(res1
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11408 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11410 if (!SWIG_IsOK(res2
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11416 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11432 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
= 0;
11434 wxRegion
*arg1
= (wxRegion
*) 0 ;
11435 wxBitmap
*arg2
= 0 ;
11436 wxColour
*arg3
= 0 ;
11437 int arg4
= (int) 0 ;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 PyObject
* obj2
= 0 ;
11449 PyObject
* obj3
= 0 ;
11450 char * kwnames
[] = {
11451 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11459 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11461 if (!SWIG_IsOK(res2
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11467 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11470 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11474 if (!SWIG_IsOK(ecode4
)) {
11475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11477 arg4
= static_cast< int >(val4
);
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11494 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11497 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11498 return SWIG_Py_Void();
11501 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 return SWIG_Python_InitShadowInstance(args
);
11505 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
= 0;
11507 wxRegion
*arg1
= 0 ;
11508 wxRegionIterator
*result
= 0 ;
11511 PyObject
* obj0
= 0 ;
11512 char * kwnames
[] = {
11513 (char *) "region", NULL
11516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11517 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11518 if (!SWIG_IsOK(res1
)) {
11519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11524 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11526 if (!wxPyCheckForApp()) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11539 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11540 PyObject
*resultobj
= 0;
11541 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11544 PyObject
*swig_obj
[1] ;
11546 if (!args
) SWIG_fail
;
11547 swig_obj
[0] = args
;
11548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11552 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_Py_Void();
11567 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11568 PyObject
*resultobj
= 0;
11569 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11573 PyObject
*swig_obj
[1] ;
11575 if (!args
) SWIG_fail
;
11576 swig_obj
[0] = args
;
11577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11578 if (!SWIG_IsOK(res1
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11581 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (int)(arg1
)->GetX();
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_From_int(static_cast< int >(result
));
11595 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11596 PyObject
*resultobj
= 0;
11597 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11601 PyObject
*swig_obj
[1] ;
11603 if (!args
) SWIG_fail
;
11604 swig_obj
[0] = args
;
11605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11606 if (!SWIG_IsOK(res1
)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11609 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (int)(arg1
)->GetY();
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_From_int(static_cast< int >(result
));
11623 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11624 PyObject
*resultobj
= 0;
11625 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11629 PyObject
*swig_obj
[1] ;
11631 if (!args
) SWIG_fail
;
11632 swig_obj
[0] = args
;
11633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11634 if (!SWIG_IsOK(res1
)) {
11635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11637 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (int)(arg1
)->GetW();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= SWIG_From_int(static_cast< int >(result
));
11651 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11652 PyObject
*resultobj
= 0;
11653 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11657 PyObject
*swig_obj
[1] ;
11659 if (!args
) SWIG_fail
;
11660 swig_obj
[0] = args
;
11661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11662 if (!SWIG_IsOK(res1
)) {
11663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11665 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (int)(arg1
)->GetWidth();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_From_int(static_cast< int >(result
));
11679 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11680 PyObject
*resultobj
= 0;
11681 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11685 PyObject
*swig_obj
[1] ;
11687 if (!args
) SWIG_fail
;
11688 swig_obj
[0] = args
;
11689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11690 if (!SWIG_IsOK(res1
)) {
11691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11693 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (int)(arg1
)->GetH();
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_From_int(static_cast< int >(result
));
11707 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11708 PyObject
*resultobj
= 0;
11709 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11713 PyObject
*swig_obj
[1] ;
11715 if (!args
) SWIG_fail
;
11716 swig_obj
[0] = args
;
11717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11721 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= (int)(arg1
)->GetHeight();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_From_int(static_cast< int >(result
));
11735 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11736 PyObject
*resultobj
= 0;
11737 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11741 PyObject
*swig_obj
[1] ;
11743 if (!args
) SWIG_fail
;
11744 swig_obj
[0] = args
;
11745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11746 if (!SWIG_IsOK(res1
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11749 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (arg1
)->GetRect();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11763 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 PyObject
*resultobj
= 0;
11765 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11769 PyObject
*swig_obj
[1] ;
11771 if (!args
) SWIG_fail
;
11772 swig_obj
[0] = args
;
11773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11774 if (!SWIG_IsOK(res1
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11777 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (bool)(arg1
)->HaveRects();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11793 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11794 PyObject
*resultobj
= 0;
11795 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11798 PyObject
*swig_obj
[1] ;
11800 if (!args
) SWIG_fail
;
11801 swig_obj
[0] = args
;
11802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11806 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_Py_Void();
11820 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 PyObject
*resultobj
= 0;
11822 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11825 PyObject
*swig_obj
[1] ;
11827 if (!args
) SWIG_fail
;
11828 swig_obj
[0] = args
;
11829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11830 if (!SWIG_IsOK(res1
)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11833 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 wxRegionIterator_Next(arg1
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_Py_Void();
11847 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11848 PyObject
*resultobj
= 0;
11849 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11853 PyObject
*swig_obj
[1] ;
11855 if (!args
) SWIG_fail
;
11856 swig_obj
[0] = args
;
11857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11858 if (!SWIG_IsOK(res1
)) {
11859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11861 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11877 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11880 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11881 return SWIG_Py_Void();
11884 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11885 return SWIG_Python_InitShadowInstance(args
);
11888 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11889 PyObject
*resultobj
= 0;
11890 wxNativeFontInfo
*result
= 0 ;
11892 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11906 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 PyObject
*resultobj
= 0;
11908 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11911 PyObject
*swig_obj
[1] ;
11913 if (!args
) SWIG_fail
;
11914 swig_obj
[0] = args
;
11915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11919 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= SWIG_Py_Void();
11934 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11935 PyObject
*resultobj
= 0;
11936 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11939 PyObject
*swig_obj
[1] ;
11941 if (!args
) SWIG_fail
;
11942 swig_obj
[0] = args
;
11943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11944 if (!SWIG_IsOK(res1
)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11947 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_Py_Void();
11961 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
= 0;
11963 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 PyObject
* obj1
= 0 ;
11971 char * kwnames
[] = {
11972 (char *) "self",(char *) "font", NULL
11975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11977 if (!SWIG_IsOK(res1
)) {
11978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11980 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11982 if (!SWIG_IsOK(res2
)) {
11983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11988 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_Py_Void();
12002 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12003 PyObject
*resultobj
= 0;
12004 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12008 PyObject
*swig_obj
[1] ;
12010 if (!args
) SWIG_fail
;
12011 swig_obj
[0] = args
;
12012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12016 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= SWIG_From_int(static_cast< int >(result
));
12030 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12031 PyObject
*resultobj
= 0;
12032 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12033 wxFontStyle result
;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12044 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_From_int(static_cast< int >(result
));
12058 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12061 wxFontWeight result
;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12072 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_From_int(static_cast< int >(result
));
12086 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12087 PyObject
*resultobj
= 0;
12088 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12092 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12100 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12116 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12117 PyObject
*resultobj
= 0;
12118 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12122 PyObject
*swig_obj
[1] ;
12124 if (!args
) SWIG_fail
;
12125 swig_obj
[0] = args
;
12126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12127 if (!SWIG_IsOK(res1
)) {
12128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12150 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12151 PyObject
*resultobj
= 0;
12152 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12153 wxFontFamily result
;
12156 PyObject
*swig_obj
[1] ;
12158 if (!args
) SWIG_fail
;
12159 swig_obj
[0] = args
;
12160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12161 if (!SWIG_IsOK(res1
)) {
12162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12164 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_From_int(static_cast< int >(result
));
12178 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 PyObject
*resultobj
= 0;
12180 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12181 wxFontEncoding result
;
12184 PyObject
*swig_obj
[1] ;
12186 if (!args
) SWIG_fail
;
12187 swig_obj
[0] = args
;
12188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12189 if (!SWIG_IsOK(res1
)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12192 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12195 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= SWIG_From_int(static_cast< int >(result
));
12206 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
= 0;
12208 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 char * kwnames
[] = {
12217 (char *) "self",(char *) "pointsize", NULL
12220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12222 if (!SWIG_IsOK(res1
)) {
12223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12225 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12227 if (!SWIG_IsOK(ecode2
)) {
12228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12230 arg2
= static_cast< int >(val2
);
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 (arg1
)->SetPointSize(arg2
);
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= SWIG_Py_Void();
12244 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12245 PyObject
*resultobj
= 0;
12246 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12253 PyObject
* obj1
= 0 ;
12254 char * kwnames
[] = {
12255 (char *) "self",(char *) "style", NULL
12258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12260 if (!SWIG_IsOK(res1
)) {
12261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12263 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12265 if (!SWIG_IsOK(ecode2
)) {
12266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12268 arg2
= static_cast< wxFontStyle
>(val2
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 (arg1
)->SetStyle(arg2
);
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_Py_Void();
12282 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
= 0;
12284 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12285 wxFontWeight arg2
;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 char * kwnames
[] = {
12293 (char *) "self",(char *) "weight", NULL
12296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12298 if (!SWIG_IsOK(res1
)) {
12299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12301 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12303 if (!SWIG_IsOK(ecode2
)) {
12304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12306 arg2
= static_cast< wxFontWeight
>(val2
);
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 (arg1
)->SetWeight(arg2
);
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= SWIG_Py_Void();
12320 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
= 0;
12322 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12328 PyObject
* obj0
= 0 ;
12329 PyObject
* obj1
= 0 ;
12330 char * kwnames
[] = {
12331 (char *) "self",(char *) "underlined", NULL
12334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12336 if (!SWIG_IsOK(res1
)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12339 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12340 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12341 if (!SWIG_IsOK(ecode2
)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12344 arg2
= static_cast< bool >(val2
);
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 (arg1
)->SetUnderlined(arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_Py_Void();
12358 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
= 0;
12360 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 char * kwnames
[] = {
12368 (char *) "self",(char *) "facename", NULL
12371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12376 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12378 wxString
* sptr
= wxString_in_helper(obj1
);
12379 if (sptr
== NULL
) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (bool)(arg1
)->SetFaceName(arg2
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12398 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
= 0;
12400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12401 wxFontFamily arg2
;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "self",(char *) "family", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12417 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12419 if (!SWIG_IsOK(ecode2
)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12422 arg2
= static_cast< wxFontFamily
>(val2
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->SetFamily(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12436 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= 0;
12438 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12439 wxFontEncoding arg2
;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char * kwnames
[] = {
12447 (char *) "self",(char *) "encoding", NULL
12450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12452 if (!SWIG_IsOK(res1
)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12455 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12457 if (!SWIG_IsOK(ecode2
)) {
12458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12460 arg2
= static_cast< wxFontEncoding
>(val2
);
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetEncoding(arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
= 0;
12476 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12477 wxString
*arg2
= 0 ;
12481 bool temp2
= false ;
12482 PyObject
* obj0
= 0 ;
12483 PyObject
* obj1
= 0 ;
12484 char * kwnames
[] = {
12485 (char *) "self",(char *) "s", NULL
12488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12490 if (!SWIG_IsOK(res1
)) {
12491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12493 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12495 arg2
= wxString_in_helper(obj1
);
12496 if (arg2
== NULL
) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12522 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12523 PyObject
*resultobj
= 0;
12524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12528 PyObject
*swig_obj
[1] ;
12530 if (!args
) SWIG_fail
;
12531 swig_obj
[0] = args
;
12532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12536 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12556 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12557 PyObject
*resultobj
= 0;
12558 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12562 PyObject
*swig_obj
[1] ;
12564 if (!args
) SWIG_fail
;
12565 swig_obj
[0] = args
;
12566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12570 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= wxNativeFontInfo___str__(arg1
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12590 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
= 0;
12592 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12593 wxString
*arg2
= 0 ;
12597 bool temp2
= false ;
12598 PyObject
* obj0
= 0 ;
12599 PyObject
* obj1
= 0 ;
12600 char * kwnames
[] = {
12601 (char *) "self",(char *) "s", NULL
12604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12606 if (!SWIG_IsOK(res1
)) {
12607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12609 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12611 arg2
= wxString_in_helper(obj1
);
12612 if (arg2
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12639 PyObject
*resultobj
= 0;
12640 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12644 PyObject
*swig_obj
[1] ;
12646 if (!args
) SWIG_fail
;
12647 swig_obj
[0] = args
;
12648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12649 if (!SWIG_IsOK(res1
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12652 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12672 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12675 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12676 return SWIG_Py_Void();
12679 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12680 return SWIG_Python_InitShadowInstance(args
);
12683 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12684 PyObject
*resultobj
= 0;
12685 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12686 wxString
*arg2
= (wxString
*) 0 ;
12689 bool temp2
= false ;
12690 PyObject
*swig_obj
[2] ;
12692 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12697 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12699 arg2
= wxString_in_helper(swig_obj
[1]);
12700 if (arg2
== NULL
) SWIG_fail
;
12703 if (arg1
) (arg1
)->facename
= *arg2
;
12705 resultobj
= SWIG_Py_Void();
12720 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12721 PyObject
*resultobj
= 0;
12722 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12723 wxString
*result
= 0 ;
12726 PyObject
*swig_obj
[1] ;
12728 if (!args
) SWIG_fail
;
12729 swig_obj
[0] = args
;
12730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12731 if (!SWIG_IsOK(res1
)) {
12732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12734 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12735 result
= (wxString
*)& ((arg1
)->facename
);
12738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12749 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12750 PyObject
*resultobj
= 0;
12751 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12752 wxFontEncoding arg2
;
12757 PyObject
*swig_obj
[2] ;
12759 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12761 if (!SWIG_IsOK(res1
)) {
12762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12764 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12765 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12766 if (!SWIG_IsOK(ecode2
)) {
12767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12769 arg2
= static_cast< wxFontEncoding
>(val2
);
12770 if (arg1
) (arg1
)->encoding
= arg2
;
12772 resultobj
= SWIG_Py_Void();
12779 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12780 PyObject
*resultobj
= 0;
12781 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12782 wxFontEncoding result
;
12785 PyObject
*swig_obj
[1] ;
12787 if (!args
) SWIG_fail
;
12788 swig_obj
[0] = args
;
12789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12790 if (!SWIG_IsOK(res1
)) {
12791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12793 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12794 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12795 resultobj
= SWIG_From_int(static_cast< int >(result
));
12802 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12803 PyObject
*resultobj
= 0;
12804 wxNativeEncodingInfo
*result
= 0 ;
12806 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12820 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 PyObject
*resultobj
= 0;
12822 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12825 PyObject
*swig_obj
[1] ;
12827 if (!args
) SWIG_fail
;
12828 swig_obj
[0] = args
;
12829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12830 if (!SWIG_IsOK(res1
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12833 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_Py_Void();
12848 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
= 0;
12850 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12851 wxString
*arg2
= 0 ;
12855 bool temp2
= false ;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 char * kwnames
[] = {
12859 (char *) "self",(char *) "s", NULL
12862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12867 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12869 arg2
= wxString_in_helper(obj1
);
12870 if (arg2
== NULL
) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12896 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12897 PyObject
*resultobj
= 0;
12898 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12902 PyObject
*swig_obj
[1] ;
12904 if (!args
) SWIG_fail
;
12905 swig_obj
[0] = args
;
12906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12907 if (!SWIG_IsOK(res1
)) {
12908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12910 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12930 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12933 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12934 return SWIG_Py_Void();
12937 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12938 return SWIG_Python_InitShadowInstance(args
);
12941 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
= 0;
12943 wxFontEncoding arg1
;
12944 wxNativeEncodingInfo
*result
= 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char * kwnames
[] = {
12949 (char *) "encoding", NULL
12952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12953 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12954 if (!SWIG_IsOK(ecode1
)) {
12955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12957 arg1
= static_cast< wxFontEncoding
>(val1
);
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12971 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12972 PyObject
*resultobj
= 0;
12973 wxNativeEncodingInfo
*arg1
= 0 ;
12977 PyObject
* obj0
= 0 ;
12978 char * kwnames
[] = {
12979 (char *) "info", NULL
12982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12983 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12984 if (!SWIG_IsOK(res1
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12990 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12993 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13006 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13007 PyObject
*resultobj
= 0;
13008 wxFontMapper
*result
= 0 ;
13010 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 result
= (wxFontMapper
*)new wxFontMapper();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13024 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13025 PyObject
*resultobj
= 0;
13026 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13029 PyObject
*swig_obj
[1] ;
13031 if (!args
) SWIG_fail
;
13032 swig_obj
[0] = args
;
13033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13037 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= SWIG_Py_Void();
13052 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13053 PyObject
*resultobj
= 0;
13054 wxFontMapper
*result
= 0 ;
13056 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (wxFontMapper
*)wxFontMapper::Get();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13070 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
= 0;
13072 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13073 wxFontMapper
*result
= 0 ;
13076 PyObject
* obj0
= 0 ;
13077 char * kwnames
[] = {
13078 (char *) "mapper", NULL
13081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13083 if (!SWIG_IsOK(res1
)) {
13084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13086 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13100 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
= 0;
13102 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13103 wxString
*arg2
= 0 ;
13104 bool arg3
= (bool) true ;
13105 wxFontEncoding result
;
13108 bool temp2
= false ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 PyObject
* obj2
= 0 ;
13114 char * kwnames
[] = {
13115 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13120 if (!SWIG_IsOK(res1
)) {
13121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13123 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13125 arg2
= wxString_in_helper(obj1
);
13126 if (arg2
== NULL
) SWIG_fail
;
13130 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13131 if (!SWIG_IsOK(ecode3
)) {
13132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13134 arg3
= static_cast< bool >(val3
);
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_From_int(static_cast< int >(result
));
13157 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13158 PyObject
*resultobj
= 0;
13161 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13175 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
= 0;
13178 wxFontEncoding result
;
13181 PyObject
* obj0
= 0 ;
13182 char * kwnames
[] = {
13186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13187 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13188 if (!SWIG_IsOK(ecode1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13191 arg1
= static_cast< size_t >(val1
);
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= SWIG_From_int(static_cast< int >(result
));
13205 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
= 0;
13207 wxFontEncoding arg1
;
13211 PyObject
* obj0
= 0 ;
13212 char * kwnames
[] = {
13213 (char *) "encoding", NULL
13216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13218 if (!SWIG_IsOK(ecode1
)) {
13219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13221 arg1
= static_cast< wxFontEncoding
>(val1
);
13223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 result
= wxFontMapper::GetEncodingName(arg1
);
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13241 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
= 0;
13243 wxFontEncoding arg1
;
13247 PyObject
* obj0
= 0 ;
13248 char * kwnames
[] = {
13249 (char *) "encoding", NULL
13252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13254 if (!SWIG_IsOK(ecode1
)) {
13255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13257 arg1
= static_cast< wxFontEncoding
>(val1
);
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= wxFontMapper::GetEncodingDescription(arg1
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13277 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
= 0;
13279 wxString
*arg1
= 0 ;
13280 wxFontEncoding result
;
13281 bool temp1
= false ;
13282 PyObject
* obj0
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "name", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13289 arg1
= wxString_in_helper(obj0
);
13290 if (arg1
== NULL
) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_int(static_cast< int >(result
));
13314 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
= 0;
13316 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13317 wxString
*arg2
= 0 ;
13320 bool temp2
= false ;
13321 PyObject
* obj0
= 0 ;
13322 PyObject
* obj1
= 0 ;
13323 char * kwnames
[] = {
13324 (char *) "self",(char *) "prefix", NULL
13327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13329 if (!SWIG_IsOK(res1
)) {
13330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13332 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13334 arg2
= wxString_in_helper(obj1
);
13335 if (arg2
== NULL
) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_Py_Void();
13359 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13360 PyObject
*resultobj
= 0;
13363 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13366 result
= wxFontMapper::GetDefaultConfigPath();
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13383 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
= 0;
13385 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13386 wxFontEncoding arg2
;
13387 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13388 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13389 bool arg4
= (bool) true ;
13390 PyObject
*result
= 0 ;
13395 bool temp3
= false ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 PyObject
* obj2
= 0 ;
13401 PyObject
* obj3
= 0 ;
13402 char * kwnames
[] = {
13403 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13408 if (!SWIG_IsOK(res1
)) {
13409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13411 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13413 if (!SWIG_IsOK(ecode2
)) {
13414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13416 arg2
= static_cast< wxFontEncoding
>(val2
);
13419 arg3
= wxString_in_helper(obj2
);
13420 if (arg3
== NULL
) SWIG_fail
;
13425 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13426 if (!SWIG_IsOK(ecode4
)) {
13427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13429 arg4
= static_cast< bool >(val4
);
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= result
;
13452 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
= 0;
13454 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13455 wxFontEncoding arg2
;
13456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13463 bool temp3
= false ;
13464 PyObject
* obj0
= 0 ;
13465 PyObject
* obj1
= 0 ;
13466 PyObject
* obj2
= 0 ;
13467 char * kwnames
[] = {
13468 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13473 if (!SWIG_IsOK(res1
)) {
13474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13476 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13478 if (!SWIG_IsOK(ecode2
)) {
13479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13481 arg2
= static_cast< wxFontEncoding
>(val2
);
13484 arg3
= wxString_in_helper(obj2
);
13485 if (arg3
== NULL
) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13512 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13515 wxWindow
*arg2
= (wxWindow
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char * kwnames
[] = {
13523 (char *) "self",(char *) "parent", NULL
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13528 if (!SWIG_IsOK(res1
)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13531 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13533 if (!SWIG_IsOK(res2
)) {
13534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13536 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->SetDialogParent(arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= SWIG_Py_Void();
13550 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
= 0;
13552 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13553 wxString
*arg2
= 0 ;
13556 bool temp2
= false ;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 char * kwnames
[] = {
13560 (char *) "self",(char *) "title", NULL
13563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13565 if (!SWIG_IsOK(res1
)) {
13566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13568 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13570 arg2
= wxString_in_helper(obj1
);
13571 if (arg2
== NULL
) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13598 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13599 return SWIG_Py_Void();
13602 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13603 return SWIG_Python_InitShadowInstance(args
);
13606 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
= 0;
13612 bool arg5
= (bool) false ;
13613 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13614 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13615 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13616 wxFont
*result
= 0 ;
13627 bool temp6
= false ;
13630 PyObject
* obj0
= 0 ;
13631 PyObject
* obj1
= 0 ;
13632 PyObject
* obj2
= 0 ;
13633 PyObject
* obj3
= 0 ;
13634 PyObject
* obj4
= 0 ;
13635 PyObject
* obj5
= 0 ;
13636 PyObject
* obj6
= 0 ;
13637 char * kwnames
[] = {
13638 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13643 if (!SWIG_IsOK(ecode1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13646 arg1
= static_cast< int >(val1
);
13647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13648 if (!SWIG_IsOK(ecode2
)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13651 arg2
= static_cast< int >(val2
);
13652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13653 if (!SWIG_IsOK(ecode3
)) {
13654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13656 arg3
= static_cast< int >(val3
);
13657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13658 if (!SWIG_IsOK(ecode4
)) {
13659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13661 arg4
= static_cast< int >(val4
);
13663 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13664 if (!SWIG_IsOK(ecode5
)) {
13665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13667 arg5
= static_cast< bool >(val5
);
13671 arg6
= wxString_in_helper(obj5
);
13672 if (arg6
== NULL
) SWIG_fail
;
13677 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13678 if (!SWIG_IsOK(ecode7
)) {
13679 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13681 arg7
= static_cast< wxFontEncoding
>(val7
);
13684 if (!wxPyCheckForApp()) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13705 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13706 PyObject
*resultobj
= 0;
13707 wxFont
*arg1
= (wxFont
*) 0 ;
13710 PyObject
*swig_obj
[1] ;
13712 if (!args
) SWIG_fail
;
13713 swig_obj
[0] = args
;
13714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13715 if (!SWIG_IsOK(res1
)) {
13716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13718 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= SWIG_Py_Void();
13733 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= 0;
13735 wxNativeFontInfo
*arg1
= 0 ;
13736 wxFont
*result
= 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char * kwnames
[] = {
13741 (char *) "info", NULL
13744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13745 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13746 if (!SWIG_IsOK(res1
)) {
13747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13752 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13754 if (!wxPyCheckForApp()) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13757 wxPyEndAllowThreads(__tstate
);
13758 if (PyErr_Occurred()) SWIG_fail
;
13760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13767 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
= 0;
13769 wxString
*arg1
= 0 ;
13770 wxFont
*result
= 0 ;
13771 bool temp1
= false ;
13772 PyObject
* obj0
= 0 ;
13773 char * kwnames
[] = {
13774 (char *) "info", NULL
13777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13779 arg1
= wxString_in_helper(obj0
);
13780 if (arg1
== NULL
) SWIG_fail
;
13784 if (!wxPyCheckForApp()) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13805 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
= 0;
13808 wxFontFamily arg2
;
13809 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13810 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13811 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13812 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13813 wxFont
*result
= 0 ;
13820 bool temp4
= false ;
13823 PyObject
* obj0
= 0 ;
13824 PyObject
* obj1
= 0 ;
13825 PyObject
* obj2
= 0 ;
13826 PyObject
* obj3
= 0 ;
13827 PyObject
* obj4
= 0 ;
13828 char * kwnames
[] = {
13829 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13833 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13834 if (!SWIG_IsOK(ecode1
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13837 arg1
= static_cast< int >(val1
);
13838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13839 if (!SWIG_IsOK(ecode2
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13842 arg2
= static_cast< wxFontFamily
>(val2
);
13844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13845 if (!SWIG_IsOK(ecode3
)) {
13846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13848 arg3
= static_cast< int >(val3
);
13852 arg4
= wxString_in_helper(obj3
);
13853 if (arg4
== NULL
) SWIG_fail
;
13858 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13859 if (!SWIG_IsOK(ecode5
)) {
13860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13862 arg5
= static_cast< wxFontEncoding
>(val5
);
13865 if (!wxPyCheckForApp()) SWIG_fail
;
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13886 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= 0;
13892 bool arg5
= (bool) false ;
13893 wxString
const &arg6_defvalue
= wxEmptyString
;
13894 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13895 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13896 wxFont
*result
= 0 ;
13906 bool temp6
= false ;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 PyObject
* obj2
= 0 ;
13912 PyObject
* obj3
= 0 ;
13913 PyObject
* obj4
= 0 ;
13914 PyObject
* obj5
= 0 ;
13915 PyObject
* obj6
= 0 ;
13916 char * kwnames
[] = {
13917 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13923 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13926 if (!SWIG_IsOK(ecode2
)) {
13927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13929 arg2
= static_cast< int >(val2
);
13930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13931 if (!SWIG_IsOK(ecode3
)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13934 arg3
= static_cast< int >(val3
);
13935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13936 if (!SWIG_IsOK(ecode4
)) {
13937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13939 arg4
= static_cast< int >(val4
);
13941 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13942 if (!SWIG_IsOK(ecode5
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13945 arg5
= static_cast< bool >(val5
);
13949 arg6
= wxString_in_helper(obj5
);
13950 if (arg6
== NULL
) SWIG_fail
;
13955 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13956 if (!SWIG_IsOK(ecode7
)) {
13957 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13959 arg7
= static_cast< wxFontEncoding
>(val7
);
13962 if (!wxPyCheckForApp()) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13983 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
= 0;
13986 wxFontFamily arg2
;
13987 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13988 wxString
const &arg4_defvalue
= wxEmptyString
;
13989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13990 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13991 wxFont
*result
= 0 ;
13997 bool temp4
= false ;
14000 PyObject
* obj0
= 0 ;
14001 PyObject
* obj1
= 0 ;
14002 PyObject
* obj2
= 0 ;
14003 PyObject
* obj3
= 0 ;
14004 PyObject
* obj4
= 0 ;
14005 char * kwnames
[] = {
14006 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14012 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14015 if (!SWIG_IsOK(ecode2
)) {
14016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14018 arg2
= static_cast< wxFontFamily
>(val2
);
14020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14021 if (!SWIG_IsOK(ecode3
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14024 arg3
= static_cast< int >(val3
);
14028 arg4
= wxString_in_helper(obj3
);
14029 if (arg4
== NULL
) SWIG_fail
;
14034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14035 if (!SWIG_IsOK(ecode5
)) {
14036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14038 arg5
= static_cast< wxFontEncoding
>(val5
);
14041 if (!wxPyCheckForApp()) SWIG_fail
;
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14043 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14062 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14063 PyObject
*resultobj
= 0;
14064 wxFont
*arg1
= (wxFont
*) 0 ;
14068 PyObject
*swig_obj
[1] ;
14070 if (!args
) SWIG_fail
;
14071 swig_obj
[0] = args
;
14072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14073 if (!SWIG_IsOK(res1
)) {
14074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14076 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14092 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
= 0;
14094 wxFont
*arg1
= (wxFont
*) 0 ;
14095 wxFont
*arg2
= (wxFont
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 char * kwnames
[] = {
14104 (char *) "self",(char *) "other", NULL
14107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14112 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14114 if (!SWIG_IsOK(res2
)) {
14115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14117 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14133 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14134 PyObject
*resultobj
= 0;
14135 wxFont
*arg1
= (wxFont
*) 0 ;
14136 wxFont
*arg2
= (wxFont
*) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 PyObject
* obj1
= 0 ;
14144 char * kwnames
[] = {
14145 (char *) "self",(char *) "other", NULL
14148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14150 if (!SWIG_IsOK(res1
)) {
14151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14153 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14155 if (!SWIG_IsOK(res2
)) {
14156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14158 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14174 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14175 PyObject
*resultobj
= 0;
14176 wxFont
*arg1
= (wxFont
*) 0 ;
14180 PyObject
*swig_obj
[1] ;
14182 if (!args
) SWIG_fail
;
14183 swig_obj
[0] = args
;
14184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14185 if (!SWIG_IsOK(res1
)) {
14186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14188 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= SWIG_From_int(static_cast< int >(result
));
14202 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14203 PyObject
*resultobj
= 0;
14204 wxFont
*arg1
= (wxFont
*) 0 ;
14208 PyObject
*swig_obj
[1] ;
14210 if (!args
) SWIG_fail
;
14211 swig_obj
[0] = args
;
14212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14213 if (!SWIG_IsOK(res1
)) {
14214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14216 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14230 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14231 PyObject
*resultobj
= 0;
14232 wxFont
*arg1
= (wxFont
*) 0 ;
14236 PyObject
*swig_obj
[1] ;
14238 if (!args
) SWIG_fail
;
14239 swig_obj
[0] = args
;
14240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14244 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14260 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14261 PyObject
*resultobj
= 0;
14262 wxFont
*arg1
= (wxFont
*) 0 ;
14266 PyObject
*swig_obj
[1] ;
14268 if (!args
) SWIG_fail
;
14269 swig_obj
[0] = args
;
14270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14271 if (!SWIG_IsOK(res1
)) {
14272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14274 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= SWIG_From_int(static_cast< int >(result
));
14288 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14289 PyObject
*resultobj
= 0;
14290 wxFont
*arg1
= (wxFont
*) 0 ;
14294 PyObject
*swig_obj
[1] ;
14296 if (!args
) SWIG_fail
;
14297 swig_obj
[0] = args
;
14298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14299 if (!SWIG_IsOK(res1
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14302 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= SWIG_From_int(static_cast< int >(result
));
14316 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14317 PyObject
*resultobj
= 0;
14318 wxFont
*arg1
= (wxFont
*) 0 ;
14322 PyObject
*swig_obj
[1] ;
14324 if (!args
) SWIG_fail
;
14325 swig_obj
[0] = args
;
14326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14327 if (!SWIG_IsOK(res1
)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14330 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= SWIG_From_int(static_cast< int >(result
));
14344 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14345 PyObject
*resultobj
= 0;
14346 wxFont
*arg1
= (wxFont
*) 0 ;
14350 PyObject
*swig_obj
[1] ;
14352 if (!args
) SWIG_fail
;
14353 swig_obj
[0] = args
;
14354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14355 if (!SWIG_IsOK(res1
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14358 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14374 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14375 PyObject
*resultobj
= 0;
14376 wxFont
*arg1
= (wxFont
*) 0 ;
14380 PyObject
*swig_obj
[1] ;
14382 if (!args
) SWIG_fail
;
14383 swig_obj
[0] = args
;
14384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14388 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= ((wxFont
const *)arg1
)->GetFaceName();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14408 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14409 PyObject
*resultobj
= 0;
14410 wxFont
*arg1
= (wxFont
*) 0 ;
14411 wxFontEncoding result
;
14414 PyObject
*swig_obj
[1] ;
14416 if (!args
) SWIG_fail
;
14417 swig_obj
[0] = args
;
14418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14419 if (!SWIG_IsOK(res1
)) {
14420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14422 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= SWIG_From_int(static_cast< int >(result
));
14436 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14437 PyObject
*resultobj
= 0;
14438 wxFont
*arg1
= (wxFont
*) 0 ;
14439 wxNativeFontInfo
*result
= 0 ;
14442 PyObject
*swig_obj
[1] ;
14444 if (!args
) SWIG_fail
;
14445 swig_obj
[0] = args
;
14446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14447 if (!SWIG_IsOK(res1
)) {
14448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14450 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14464 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14465 PyObject
*resultobj
= 0;
14466 wxFont
*arg1
= (wxFont
*) 0 ;
14470 PyObject
*swig_obj
[1] ;
14472 if (!args
) SWIG_fail
;
14473 swig_obj
[0] = args
;
14474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14475 if (!SWIG_IsOK(res1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14478 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14494 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14495 PyObject
*resultobj
= 0;
14496 wxFont
*arg1
= (wxFont
*) 0 ;
14500 PyObject
*swig_obj
[1] ;
14502 if (!args
) SWIG_fail
;
14503 swig_obj
[0] = args
;
14504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14505 if (!SWIG_IsOK(res1
)) {
14506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14508 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14528 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14529 PyObject
*resultobj
= 0;
14530 wxFont
*arg1
= (wxFont
*) 0 ;
14534 PyObject
*swig_obj
[1] ;
14536 if (!args
) SWIG_fail
;
14537 swig_obj
[0] = args
;
14538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14539 if (!SWIG_IsOK(res1
)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14542 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14562 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
= 0;
14564 wxFont
*arg1
= (wxFont
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 PyObject
* obj1
= 0 ;
14572 char * kwnames
[] = {
14573 (char *) "self",(char *) "pointSize", NULL
14576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14581 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14583 if (!SWIG_IsOK(ecode2
)) {
14584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14586 arg2
= static_cast< int >(val2
);
14588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14589 (arg1
)->SetPointSize(arg2
);
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= SWIG_Py_Void();
14600 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
= 0;
14602 wxFont
*arg1
= (wxFont
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char * kwnames
[] = {
14610 (char *) "self",(char *) "pixelSize", NULL
14613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14618 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_Py_Void();
14636 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
= 0;
14638 wxFont
*arg1
= (wxFont
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 PyObject
* obj1
= 0 ;
14646 char * kwnames
[] = {
14647 (char *) "self",(char *) "family", NULL
14650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14655 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14657 if (!SWIG_IsOK(ecode2
)) {
14658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14660 arg2
= static_cast< int >(val2
);
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 (arg1
)->SetFamily(arg2
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_Py_Void();
14674 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
= 0;
14676 wxFont
*arg1
= (wxFont
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 char * kwnames
[] = {
14685 (char *) "self",(char *) "style", NULL
14688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14693 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14695 if (!SWIG_IsOK(ecode2
)) {
14696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14698 arg2
= static_cast< int >(val2
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 (arg1
)->SetStyle(arg2
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_Py_Void();
14712 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
= 0;
14714 wxFont
*arg1
= (wxFont
*) 0 ;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 char * kwnames
[] = {
14723 (char *) "self",(char *) "weight", NULL
14726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14728 if (!SWIG_IsOK(res1
)) {
14729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14731 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14733 if (!SWIG_IsOK(ecode2
)) {
14734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14736 arg2
= static_cast< int >(val2
);
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 (arg1
)->SetWeight(arg2
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= SWIG_Py_Void();
14750 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
= 0;
14752 wxFont
*arg1
= (wxFont
*) 0 ;
14753 wxString
*arg2
= 0 ;
14757 bool temp2
= false ;
14758 PyObject
* obj0
= 0 ;
14759 PyObject
* obj1
= 0 ;
14760 char * kwnames
[] = {
14761 (char *) "self",(char *) "faceName", NULL
14764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14766 if (!SWIG_IsOK(res1
)) {
14767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14769 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14771 arg2
= wxString_in_helper(obj1
);
14772 if (arg2
== NULL
) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14798 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
= 0;
14800 wxFont
*arg1
= (wxFont
*) 0 ;
14806 PyObject
* obj0
= 0 ;
14807 PyObject
* obj1
= 0 ;
14808 char * kwnames
[] = {
14809 (char *) "self",(char *) "underlined", NULL
14812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14814 if (!SWIG_IsOK(res1
)) {
14815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14817 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14818 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14819 if (!SWIG_IsOK(ecode2
)) {
14820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14822 arg2
= static_cast< bool >(val2
);
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 (arg1
)->SetUnderlined(arg2
);
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= SWIG_Py_Void();
14836 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
= 0;
14838 wxFont
*arg1
= (wxFont
*) 0 ;
14839 wxFontEncoding arg2
;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 char * kwnames
[] = {
14847 (char *) "self",(char *) "encoding", NULL
14850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14852 if (!SWIG_IsOK(res1
)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14855 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14857 if (!SWIG_IsOK(ecode2
)) {
14858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14860 arg2
= static_cast< wxFontEncoding
>(val2
);
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 (arg1
)->SetEncoding(arg2
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= SWIG_Py_Void();
14874 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
= 0;
14876 wxFont
*arg1
= (wxFont
*) 0 ;
14877 wxNativeFontInfo
*arg2
= 0 ;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 char * kwnames
[] = {
14885 (char *) "self",(char *) "info", NULL
14888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14890 if (!SWIG_IsOK(res1
)) {
14891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14893 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14895 if (!SWIG_IsOK(res2
)) {
14896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14901 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_Py_Void();
14915 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
= 0;
14917 wxFont
*arg1
= (wxFont
*) 0 ;
14918 wxString
*arg2
= 0 ;
14922 bool temp2
= false ;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 char * kwnames
[] = {
14926 (char *) "self",(char *) "info", NULL
14929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14931 if (!SWIG_IsOK(res1
)) {
14932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14934 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14936 arg2
= wxString_in_helper(obj1
);
14937 if (arg2
== NULL
) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14963 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
= 0;
14965 wxFont
*arg1
= (wxFont
*) 0 ;
14966 wxString
*arg2
= 0 ;
14970 bool temp2
= false ;
14971 PyObject
* obj0
= 0 ;
14972 PyObject
* obj1
= 0 ;
14973 char * kwnames
[] = {
14974 (char *) "self",(char *) "info", NULL
14977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14979 if (!SWIG_IsOK(res1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14982 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14984 arg2
= wxString_in_helper(obj1
);
14985 if (arg2
== NULL
) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15011 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15012 PyObject
*resultobj
= 0;
15013 wxFont
*arg1
= (wxFont
*) 0 ;
15017 PyObject
*swig_obj
[1] ;
15019 if (!args
) SWIG_fail
;
15020 swig_obj
[0] = args
;
15021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15025 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15028 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15045 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15046 PyObject
*resultobj
= 0;
15047 wxFont
*arg1
= (wxFont
*) 0 ;
15051 PyObject
*swig_obj
[1] ;
15053 if (!args
) SWIG_fail
;
15054 swig_obj
[0] = args
;
15055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15059 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= ((wxFont
const *)arg1
)->GetStyleString();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15079 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15080 PyObject
*resultobj
= 0;
15081 wxFont
*arg1
= (wxFont
*) 0 ;
15085 PyObject
*swig_obj
[1] ;
15087 if (!args
) SWIG_fail
;
15088 swig_obj
[0] = args
;
15089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15090 if (!SWIG_IsOK(res1
)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15093 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= ((wxFont
const *)arg1
)->GetWeightString();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15113 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
= 0;
15115 wxFont
*arg1
= (wxFont
*) 0 ;
15116 bool arg2
= (bool) true ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 char * kwnames
[] = {
15124 (char *) "self",(char *) "no", NULL
15127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15129 if (!SWIG_IsOK(res1
)) {
15130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15132 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15134 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15135 if (!SWIG_IsOK(ecode2
)) {
15136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15138 arg2
= static_cast< bool >(val2
);
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 (arg1
)->SetNoAntiAliasing(arg2
);
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_Py_Void();
15153 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15154 PyObject
*resultobj
= 0;
15155 wxFont
*arg1
= (wxFont
*) 0 ;
15159 PyObject
*swig_obj
[1] ;
15161 if (!args
) SWIG_fail
;
15162 swig_obj
[0] = args
;
15163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15164 if (!SWIG_IsOK(res1
)) {
15165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15167 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15183 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15184 PyObject
*resultobj
= 0;
15185 wxFontEncoding result
;
15187 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15189 if (!wxPyCheckForApp()) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= SWIG_From_int(static_cast< int >(result
));
15202 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
= 0;
15204 wxFontEncoding arg1
;
15207 PyObject
* obj0
= 0 ;
15208 char * kwnames
[] = {
15209 (char *) "encoding", NULL
15212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15213 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15214 if (!SWIG_IsOK(ecode1
)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15217 arg1
= static_cast< wxFontEncoding
>(val1
);
15219 if (!wxPyCheckForApp()) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 wxFont::SetDefaultEncoding(arg1
);
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= SWIG_Py_Void();
15232 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15235 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15236 return SWIG_Py_Void();
15239 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15240 return SWIG_Python_InitShadowInstance(args
);
15243 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15244 PyObject
*resultobj
= 0;
15245 wxPyFontEnumerator
*result
= 0 ;
15247 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15249 if (!wxPyCheckForApp()) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15262 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15263 PyObject
*resultobj
= 0;
15264 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15267 PyObject
*swig_obj
[1] ;
15269 if (!args
) SWIG_fail
;
15270 swig_obj
[0] = args
;
15271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15272 if (!SWIG_IsOK(res1
)) {
15273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15275 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_Py_Void();
15290 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
= 0;
15292 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15293 PyObject
*arg2
= (PyObject
*) 0 ;
15294 PyObject
*arg3
= (PyObject
*) 0 ;
15300 PyObject
* obj0
= 0 ;
15301 PyObject
* obj1
= 0 ;
15302 PyObject
* obj2
= 0 ;
15303 PyObject
* obj3
= 0 ;
15304 char * kwnames
[] = {
15305 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15310 if (!SWIG_IsOK(res1
)) {
15311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15313 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15316 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15317 if (!SWIG_IsOK(ecode4
)) {
15318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15320 arg4
= static_cast< bool >(val4
);
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= SWIG_Py_Void();
15334 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
= 0;
15336 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15337 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15338 bool arg3
= (bool) false ;
15346 PyObject
* obj0
= 0 ;
15347 PyObject
* obj1
= 0 ;
15348 PyObject
* obj2
= 0 ;
15349 char * kwnames
[] = {
15350 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15355 if (!SWIG_IsOK(res1
)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15358 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15361 if (!SWIG_IsOK(ecode2
)) {
15362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15364 arg2
= static_cast< wxFontEncoding
>(val2
);
15367 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15368 if (!SWIG_IsOK(ecode3
)) {
15369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15371 arg3
= static_cast< bool >(val3
);
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15388 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
= 0;
15390 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15391 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15392 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15396 bool temp2
= false ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 char * kwnames
[] = {
15400 (char *) "self",(char *) "facename", NULL
15403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15408 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15411 arg2
= wxString_in_helper(obj1
);
15412 if (arg2
== NULL
) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15439 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15440 PyObject
*resultobj
= 0;
15441 PyObject
*result
= 0 ;
15443 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
;
15457 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15458 PyObject
*resultobj
= 0;
15459 PyObject
*result
= 0 ;
15461 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= result
;
15475 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
= 0;
15477 wxString
*arg1
= 0 ;
15479 bool temp1
= false ;
15480 PyObject
* obj0
= 0 ;
15481 char * kwnames
[] = {
15482 (char *) "str", NULL
15485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15487 arg1
= wxString_in_helper(obj0
);
15488 if (arg1
== NULL
) SWIG_fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15514 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15517 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15518 return SWIG_Py_Void();
15521 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15522 return SWIG_Python_InitShadowInstance(args
);
15525 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15526 PyObject
*resultobj
= 0;
15527 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15533 PyObject
*swig_obj
[2] ;
15535 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15537 if (!SWIG_IsOK(res1
)) {
15538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15540 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15541 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15542 if (!SWIG_IsOK(ecode2
)) {
15543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15545 arg2
= static_cast< int >(val2
);
15546 if (arg1
) (arg1
)->Language
= arg2
;
15548 resultobj
= SWIG_Py_Void();
15555 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15556 PyObject
*resultobj
= 0;
15557 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15561 PyObject
*swig_obj
[1] ;
15563 if (!args
) SWIG_fail
;
15564 swig_obj
[0] = args
;
15565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15566 if (!SWIG_IsOK(res1
)) {
15567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15569 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15570 result
= (int) ((arg1
)->Language
);
15571 resultobj
= SWIG_From_int(static_cast< int >(result
));
15578 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15579 PyObject
*resultobj
= 0;
15580 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15581 wxString
*arg2
= (wxString
*) 0 ;
15584 bool temp2
= false ;
15585 PyObject
*swig_obj
[2] ;
15587 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15589 if (!SWIG_IsOK(res1
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15592 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15594 arg2
= wxString_in_helper(swig_obj
[1]);
15595 if (arg2
== NULL
) SWIG_fail
;
15598 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15600 resultobj
= SWIG_Py_Void();
15615 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15616 PyObject
*resultobj
= 0;
15617 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15618 wxString
*result
= 0 ;
15621 PyObject
*swig_obj
[1] ;
15623 if (!args
) SWIG_fail
;
15624 swig_obj
[0] = args
;
15625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15626 if (!SWIG_IsOK(res1
)) {
15627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15629 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15630 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15633 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15635 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15644 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15645 PyObject
*resultobj
= 0;
15646 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15647 wxString
*arg2
= (wxString
*) 0 ;
15650 bool temp2
= false ;
15651 PyObject
*swig_obj
[2] ;
15653 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15655 if (!SWIG_IsOK(res1
)) {
15656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15658 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15660 arg2
= wxString_in_helper(swig_obj
[1]);
15661 if (arg2
== NULL
) SWIG_fail
;
15664 if (arg1
) (arg1
)->Description
= *arg2
;
15666 resultobj
= SWIG_Py_Void();
15681 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15682 PyObject
*resultobj
= 0;
15683 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15684 wxString
*result
= 0 ;
15687 PyObject
*swig_obj
[1] ;
15689 if (!args
) SWIG_fail
;
15690 swig_obj
[0] = args
;
15691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15692 if (!SWIG_IsOK(res1
)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15695 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15696 result
= (wxString
*)& ((arg1
)->Description
);
15699 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15701 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15710 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15713 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15714 return SWIG_Py_Void();
15717 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
= 0;
15719 int arg1
= (int) -1 ;
15720 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15721 wxLocale
*result
= 0 ;
15726 PyObject
* obj0
= 0 ;
15727 PyObject
* obj1
= 0 ;
15728 char * kwnames
[] = {
15729 (char *) "language",(char *) "flags", NULL
15732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15734 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15735 if (!SWIG_IsOK(ecode1
)) {
15736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15738 arg1
= static_cast< int >(val1
);
15741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15742 if (!SWIG_IsOK(ecode2
)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15745 arg2
= static_cast< int >(val2
);
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15760 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15761 PyObject
*resultobj
= 0;
15762 wxLocale
*arg1
= (wxLocale
*) 0 ;
15765 PyObject
*swig_obj
[1] ;
15767 if (!args
) SWIG_fail
;
15768 swig_obj
[0] = args
;
15769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15770 if (!SWIG_IsOK(res1
)) {
15771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15773 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_Py_Void();
15788 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
= 0;
15790 wxLocale
*arg1
= (wxLocale
*) 0 ;
15791 wxString
*arg2
= 0 ;
15792 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15793 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15794 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15796 bool arg5
= (bool) true ;
15797 bool arg6
= (bool) false ;
15801 bool temp2
= false ;
15802 bool temp3
= false ;
15803 bool temp4
= false ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 PyObject
* obj2
= 0 ;
15811 PyObject
* obj3
= 0 ;
15812 PyObject
* obj4
= 0 ;
15813 PyObject
* obj5
= 0 ;
15814 char * kwnames
[] = {
15815 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15820 if (!SWIG_IsOK(res1
)) {
15821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15823 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15825 arg2
= wxString_in_helper(obj1
);
15826 if (arg2
== NULL
) SWIG_fail
;
15831 arg3
= wxString_in_helper(obj2
);
15832 if (arg3
== NULL
) SWIG_fail
;
15838 arg4
= wxString_in_helper(obj3
);
15839 if (arg4
== NULL
) SWIG_fail
;
15844 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15845 if (!SWIG_IsOK(ecode5
)) {
15846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15848 arg5
= static_cast< bool >(val5
);
15851 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15852 if (!SWIG_IsOK(ecode6
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15855 arg6
= static_cast< bool >(val6
);
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15896 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
= 0;
15898 wxLocale
*arg1
= (wxLocale
*) 0 ;
15899 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15900 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 PyObject
* obj2
= 0 ;
15911 char * kwnames
[] = {
15912 (char *) "self",(char *) "language",(char *) "flags", NULL
15915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15917 if (!SWIG_IsOK(res1
)) {
15918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15920 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15923 if (!SWIG_IsOK(ecode2
)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15926 arg2
= static_cast< int >(val2
);
15929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15930 if (!SWIG_IsOK(ecode3
)) {
15931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15933 arg3
= static_cast< int >(val3
);
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15938 wxPyEndAllowThreads(__tstate
);
15939 if (PyErr_Occurred()) SWIG_fail
;
15942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15950 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15951 PyObject
*resultobj
= 0;
15954 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (int)wxLocale::GetSystemLanguage();
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= SWIG_From_int(static_cast< int >(result
));
15968 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15969 PyObject
*resultobj
= 0;
15970 wxFontEncoding result
;
15972 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= SWIG_From_int(static_cast< int >(result
));
15986 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15987 PyObject
*resultobj
= 0;
15990 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= wxLocale::GetSystemEncodingName();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16010 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16011 PyObject
*resultobj
= 0;
16012 wxLocale
*arg1
= (wxLocale
*) 0 ;
16016 PyObject
*swig_obj
[1] ;
16018 if (!args
) SWIG_fail
;
16019 swig_obj
[0] = args
;
16020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16021 if (!SWIG_IsOK(res1
)) {
16022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16024 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16040 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16041 PyObject
*resultobj
= 0;
16042 wxLocale
*arg1
= (wxLocale
*) 0 ;
16046 PyObject
*swig_obj
[1] ;
16048 if (!args
) SWIG_fail
;
16049 swig_obj
[0] = args
;
16050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16051 if (!SWIG_IsOK(res1
)) {
16052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16054 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= ((wxLocale
const *)arg1
)->GetLocale();
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16074 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16075 PyObject
*resultobj
= 0;
16076 wxLocale
*arg1
= (wxLocale
*) 0 ;
16080 PyObject
*swig_obj
[1] ;
16082 if (!args
) SWIG_fail
;
16083 swig_obj
[0] = args
;
16084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16088 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= SWIG_From_int(static_cast< int >(result
));
16102 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16103 PyObject
*resultobj
= 0;
16104 wxLocale
*arg1
= (wxLocale
*) 0 ;
16108 PyObject
*swig_obj
[1] ;
16110 if (!args
) SWIG_fail
;
16111 swig_obj
[0] = args
;
16112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16113 if (!SWIG_IsOK(res1
)) {
16114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16116 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= ((wxLocale
const *)arg1
)->GetSysName();
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16136 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16137 PyObject
*resultobj
= 0;
16138 wxLocale
*arg1
= (wxLocale
*) 0 ;
16142 PyObject
*swig_obj
[1] ;
16144 if (!args
) SWIG_fail
;
16145 swig_obj
[0] = args
;
16146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16147 if (!SWIG_IsOK(res1
)) {
16148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16150 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16170 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
= 0;
16172 wxString
*arg1
= 0 ;
16173 bool temp1
= false ;
16174 PyObject
* obj0
= 0 ;
16175 char * kwnames
[] = {
16176 (char *) "prefix", NULL
16179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16181 arg1
= wxString_in_helper(obj0
);
16182 if (arg1
== NULL
) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= SWIG_Py_Void();
16206 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
= 0;
16208 wxLocale
*arg1
= (wxLocale
*) 0 ;
16209 wxString
*arg2
= 0 ;
16213 bool temp2
= false ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char * kwnames
[] = {
16217 (char *) "self",(char *) "szDomain", NULL
16220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16222 if (!SWIG_IsOK(res1
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16225 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16227 arg2
= wxString_in_helper(obj1
);
16228 if (arg2
== NULL
) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
= 0;
16260 PyObject
* obj0
= 0 ;
16261 char * kwnames
[] = {
16262 (char *) "lang", NULL
16265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16266 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16267 if (!SWIG_IsOK(ecode1
)) {
16268 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16270 arg1
= static_cast< int >(val1
);
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (bool)wxLocale::IsAvailable(arg1
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16286 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
= 0;
16288 wxLocale
*arg1
= (wxLocale
*) 0 ;
16289 wxString
*arg2
= 0 ;
16293 bool temp2
= false ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 char * kwnames
[] = {
16297 (char *) "self",(char *) "szDomain", NULL
16300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16302 if (!SWIG_IsOK(res1
)) {
16303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16305 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16307 arg2
= wxString_in_helper(obj1
);
16308 if (arg2
== NULL
) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16334 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
= 0;
16337 wxLanguageInfo
*result
= 0 ;
16340 PyObject
* obj0
= 0 ;
16341 char * kwnames
[] = {
16342 (char *) "lang", NULL
16345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16346 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16347 if (!SWIG_IsOK(ecode1
)) {
16348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16350 arg1
= static_cast< int >(val1
);
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16364 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
= 0;
16370 PyObject
* obj0
= 0 ;
16371 char * kwnames
[] = {
16372 (char *) "lang", NULL
16375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16376 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16377 if (!SWIG_IsOK(ecode1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16380 arg1
= static_cast< int >(val1
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= wxLocale::GetLanguageName(arg1
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16400 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
= 0;
16402 wxString
*arg1
= 0 ;
16403 wxLanguageInfo
*result
= 0 ;
16404 bool temp1
= false ;
16405 PyObject
* obj0
= 0 ;
16406 char * kwnames
[] = {
16407 (char *) "locale", NULL
16410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16412 arg1
= wxString_in_helper(obj0
);
16413 if (arg1
== NULL
) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16437 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
= 0;
16439 wxLanguageInfo
*arg1
= 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char * kwnames
[] = {
16444 (char *) "info", NULL
16447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16448 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16449 if (!SWIG_IsOK(res1
)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16455 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_Py_Void();
16469 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
= 0;
16471 wxLocale
*arg1
= (wxLocale
*) 0 ;
16472 wxString
*arg2
= 0 ;
16473 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16474 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16478 bool temp2
= false ;
16479 bool temp3
= false ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 PyObject
* obj2
= 0 ;
16483 char * kwnames
[] = {
16484 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16492 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16494 arg2
= wxString_in_helper(obj1
);
16495 if (arg2
== NULL
) SWIG_fail
;
16500 arg3
= wxString_in_helper(obj2
);
16501 if (arg3
== NULL
) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16540 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16541 PyObject
*resultobj
= 0;
16542 wxLocale
*arg1
= (wxLocale
*) 0 ;
16543 wxString
*result
= 0 ;
16546 PyObject
*swig_obj
[1] ;
16548 if (!args
) SWIG_fail
;
16549 swig_obj
[0] = args
;
16550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16551 if (!SWIG_IsOK(res1
)) {
16552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16554 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16559 result
= (wxString
*) &_result_ref
;
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16568 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16577 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16580 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16581 return SWIG_Py_Void();
16584 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16585 return SWIG_Python_InitShadowInstance(args
);
16588 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= 0;
16590 int arg1
= (int) -1 ;
16591 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16592 wxPyLocale
*result
= 0 ;
16597 PyObject
* obj0
= 0 ;
16598 PyObject
* obj1
= 0 ;
16599 char * kwnames
[] = {
16600 (char *) "language",(char *) "flags", NULL
16603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16605 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16606 if (!SWIG_IsOK(ecode1
)) {
16607 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16609 arg1
= static_cast< int >(val1
);
16612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16613 if (!SWIG_IsOK(ecode2
)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16616 arg2
= static_cast< int >(val2
);
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16631 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16632 PyObject
*resultobj
= 0;
16633 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16636 PyObject
*swig_obj
[1] ;
16638 if (!args
) SWIG_fail
;
16639 swig_obj
[0] = args
;
16640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16641 if (!SWIG_IsOK(res1
)) {
16642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16644 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= SWIG_Py_Void();
16659 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= 0;
16661 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16662 PyObject
*arg2
= (PyObject
*) 0 ;
16663 PyObject
*arg3
= (PyObject
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 PyObject
* obj1
= 0 ;
16668 PyObject
* obj2
= 0 ;
16669 char * kwnames
[] = {
16670 (char *) "self",(char *) "self",(char *) "_class", NULL
16673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16675 if (!SWIG_IsOK(res1
)) {
16676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16678 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_Py_Void();
16694 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
= 0;
16696 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16697 wxChar
*arg2
= (wxChar
*) 0 ;
16698 wxChar
*arg3
= (wxChar
*) NULL
;
16699 wxChar
*result
= 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 PyObject
* obj2
= 0 ;
16709 char * kwnames
[] = {
16710 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16715 if (!SWIG_IsOK(res1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16718 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16720 if (!SWIG_IsOK(res2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16723 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16725 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16726 if (!SWIG_IsOK(res3
)) {
16727 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16729 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16744 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
= 0;
16746 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16747 wxChar
*arg2
= (wxChar
*) 0 ;
16748 wxChar
*arg3
= (wxChar
*) 0 ;
16750 wxChar
*arg5
= (wxChar
*) NULL
;
16751 wxChar
*result
= 0 ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 PyObject
* obj2
= 0 ;
16765 PyObject
* obj3
= 0 ;
16766 PyObject
* obj4
= 0 ;
16767 char * kwnames
[] = {
16768 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16773 if (!SWIG_IsOK(res1
)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16776 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16778 if (!SWIG_IsOK(res2
)) {
16779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16781 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16782 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16783 if (!SWIG_IsOK(res3
)) {
16784 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16786 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16787 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16788 if (!SWIG_IsOK(ecode4
)) {
16789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16791 arg4
= static_cast< size_t >(val4
);
16793 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16794 if (!SWIG_IsOK(res5
)) {
16795 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16797 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16812 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16815 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16816 return SWIG_Py_Void();
16819 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16820 return SWIG_Python_InitShadowInstance(args
);
16823 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16824 PyObject
*resultobj
= 0;
16825 wxLocale
*result
= 0 ;
16827 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (wxLocale
*)wxGetLocale();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16841 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16842 PyObject
*resultobj
= 0;
16843 wxString
*arg1
= 0 ;
16845 bool temp1
= false ;
16847 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16849 arg1
= wxString_in_helper(swig_obj
[0]);
16850 if (arg1
== NULL
) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= wxGetTranslation((wxString
const &)*arg1
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16880 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16881 PyObject
*resultobj
= 0;
16882 wxString
*arg1
= 0 ;
16883 wxString
*arg2
= 0 ;
16885 bool temp1
= false ;
16886 bool temp2
= false ;
16888 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16890 arg1
= wxString_in_helper(swig_obj
[0]);
16891 if (arg1
== NULL
) SWIG_fail
;
16895 arg2
= wxString_in_helper(swig_obj
[1]);
16896 if (arg2
== NULL
) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16934 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16935 PyObject
*resultobj
= 0;
16936 wxString
*arg1
= 0 ;
16937 wxString
*arg2
= 0 ;
16940 bool temp1
= false ;
16941 bool temp2
= false ;
16945 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16947 arg1
= wxString_in_helper(swig_obj
[0]);
16948 if (arg1
== NULL
) SWIG_fail
;
16952 arg2
= wxString_in_helper(swig_obj
[1]);
16953 if (arg2
== NULL
) SWIG_fail
;
16956 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16957 if (!SWIG_IsOK(ecode3
)) {
16958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16960 arg3
= static_cast< size_t >(val3
);
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16964 wxPyEndAllowThreads(__tstate
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16996 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16997 PyObject
*resultobj
= 0;
16998 wxString
*arg1
= 0 ;
16999 wxString
*arg2
= 0 ;
17001 wxString
*arg4
= 0 ;
17003 bool temp1
= false ;
17004 bool temp2
= false ;
17007 bool temp4
= false ;
17009 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17011 arg1
= wxString_in_helper(swig_obj
[0]);
17012 if (arg1
== NULL
) SWIG_fail
;
17016 arg2
= wxString_in_helper(swig_obj
[1]);
17017 if (arg2
== NULL
) SWIG_fail
;
17020 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17021 if (!SWIG_IsOK(ecode3
)) {
17022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17024 arg3
= static_cast< size_t >(val3
);
17026 arg4
= wxString_in_helper(swig_obj
[3]);
17027 if (arg4
== NULL
) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17073 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17077 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17080 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17083 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17086 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17089 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17093 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17098 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17099 PyObject
*resultobj
= 0;
17100 wxEncodingConverter
*result
= 0 ;
17102 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17116 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17117 PyObject
*resultobj
= 0;
17118 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17121 PyObject
*swig_obj
[1] ;
17123 if (!args
) SWIG_fail
;
17124 swig_obj
[0] = args
;
17125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17126 if (!SWIG_IsOK(res1
)) {
17127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17129 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_Py_Void();
17144 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
= 0;
17146 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17147 wxFontEncoding arg2
;
17148 wxFontEncoding arg3
;
17149 int arg4
= (int) wxCONVERT_STRICT
;
17159 PyObject
* obj0
= 0 ;
17160 PyObject
* obj1
= 0 ;
17161 PyObject
* obj2
= 0 ;
17162 PyObject
* obj3
= 0 ;
17163 char * kwnames
[] = {
17164 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17169 if (!SWIG_IsOK(res1
)) {
17170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17172 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17174 if (!SWIG_IsOK(ecode2
)) {
17175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17177 arg2
= static_cast< wxFontEncoding
>(val2
);
17178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17179 if (!SWIG_IsOK(ecode3
)) {
17180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17182 arg3
= static_cast< wxFontEncoding
>(val3
);
17184 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17185 if (!SWIG_IsOK(ecode4
)) {
17186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17188 arg4
= static_cast< int >(val4
);
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17193 wxPyEndAllowThreads(__tstate
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17205 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
= 0;
17207 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17208 wxString
*arg2
= 0 ;
17212 bool temp2
= false ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "self",(char *) "input", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17224 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17226 arg2
= wxString_in_helper(obj1
);
17227 if (arg2
== NULL
) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17257 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
= 0;
17259 wxFontEncoding arg1
;
17260 int arg2
= (int) wxPLATFORM_CURRENT
;
17261 wxFontEncodingArray result
;
17266 PyObject
* obj0
= 0 ;
17267 PyObject
* obj1
= 0 ;
17268 char * kwnames
[] = {
17269 (char *) "enc",(char *) "platform", NULL
17272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17273 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17274 if (!SWIG_IsOK(ecode1
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17277 arg1
= static_cast< wxFontEncoding
>(val1
);
17279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17280 if (!SWIG_IsOK(ecode2
)) {
17281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17283 arg2
= static_cast< int >(val2
);
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= PyList_New(0);
17293 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17294 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17295 PyList_Append(resultobj
, number
);
17305 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
= 0;
17307 wxFontEncoding arg1
;
17308 wxFontEncodingArray result
;
17311 PyObject
* obj0
= 0 ;
17312 char * kwnames
[] = {
17313 (char *) "enc", NULL
17316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17318 if (!SWIG_IsOK(ecode1
)) {
17319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17321 arg1
= static_cast< wxFontEncoding
>(val1
);
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= PyList_New(0);
17330 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17331 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17332 PyList_Append(resultobj
, number
);
17342 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
= 0;
17344 wxFontEncoding arg1
;
17345 wxFontEncoding arg2
;
17351 PyObject
* obj0
= 0 ;
17352 PyObject
* obj1
= 0 ;
17353 char * kwnames
[] = {
17354 (char *) "encIn",(char *) "encOut", NULL
17357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17359 if (!SWIG_IsOK(ecode1
)) {
17360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17362 arg1
= static_cast< wxFontEncoding
>(val1
);
17363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17364 if (!SWIG_IsOK(ecode2
)) {
17365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17367 arg2
= static_cast< wxFontEncoding
>(val2
);
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17383 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17386 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17387 return SWIG_Py_Void();
17390 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17391 return SWIG_Python_InitShadowInstance(args
);
17394 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17395 PyObject
*resultobj
= 0;
17396 wxDC
*arg1
= (wxDC
*) 0 ;
17399 PyObject
*swig_obj
[1] ;
17401 if (!args
) SWIG_fail
;
17402 swig_obj
[0] = args
;
17403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17404 if (!SWIG_IsOK(res1
)) {
17405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 wxPyEndAllowThreads(__tstate
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 resultobj
= SWIG_Py_Void();
17422 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
= 0;
17424 wxDC
*arg1
= (wxDC
*) 0 ;
17427 wxColour
*arg4
= 0 ;
17428 int arg5
= (int) wxFLOOD_SURFACE
;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 PyObject
* obj2
= 0 ;
17442 PyObject
* obj3
= 0 ;
17443 PyObject
* obj4
= 0 ;
17444 char * kwnames
[] = {
17445 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17450 if (!SWIG_IsOK(res1
)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17455 if (!SWIG_IsOK(ecode2
)) {
17456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17458 arg2
= static_cast< int >(val2
);
17459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17460 if (!SWIG_IsOK(ecode3
)) {
17461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17463 arg3
= static_cast< int >(val3
);
17466 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17469 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17470 if (!SWIG_IsOK(ecode5
)) {
17471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17473 arg5
= static_cast< int >(val5
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17490 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
= 0;
17492 wxDC
*arg1
= (wxDC
*) 0 ;
17493 wxPoint
*arg2
= 0 ;
17494 wxColour
*arg3
= 0 ;
17495 int arg4
= (int) wxFLOOD_SURFACE
;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 PyObject
* obj3
= 0 ;
17507 char * kwnames
[] = {
17508 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17513 if (!SWIG_IsOK(res1
)) {
17514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17523 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17527 if (!SWIG_IsOK(ecode4
)) {
17528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17530 arg4
= static_cast< int >(val4
);
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17547 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17548 PyObject
*resultobj
= 0;
17549 wxDC
*arg1
= (wxDC
*) 0 ;
17551 wxColour
*arg3
= 0 ;
17552 wxColour
*arg4
= 0 ;
17553 wxPoint
*arg5
= 0 ;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 PyObject
* obj2
= 0 ;
17563 PyObject
* obj3
= 0 ;
17564 PyObject
* obj4
= 0 ;
17565 char * kwnames
[] = {
17566 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17571 if (!SWIG_IsOK(res1
)) {
17572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17577 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17581 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17585 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17589 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_Py_Void();
17604 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
= 0;
17606 wxDC
*arg1
= (wxDC
*) 0 ;
17608 wxColour
*arg3
= 0 ;
17609 wxColour
*arg4
= 0 ;
17610 wxDirection arg5
= (wxDirection
) wxEAST
;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 PyObject
* obj2
= 0 ;
17621 PyObject
* obj3
= 0 ;
17622 PyObject
* obj4
= 0 ;
17623 char * kwnames
[] = {
17624 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17635 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17639 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17643 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17646 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17647 if (!SWIG_IsOK(ecode5
)) {
17648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17650 arg5
= static_cast< wxDirection
>(val5
);
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= SWIG_Py_Void();
17665 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
= 0;
17667 wxDC
*arg1
= (wxDC
*) 0 ;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 PyObject
* obj2
= 0 ;
17680 char * kwnames
[] = {
17681 (char *) "self",(char *) "x",(char *) "y", NULL
17684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17686 if (!SWIG_IsOK(res1
)) {
17687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17691 if (!SWIG_IsOK(ecode2
)) {
17692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17694 arg2
= static_cast< int >(val2
);
17695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17696 if (!SWIG_IsOK(ecode3
)) {
17697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17699 arg3
= static_cast< int >(val3
);
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17713 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
= 0;
17715 wxDC
*arg1
= (wxDC
*) 0 ;
17716 wxPoint
*arg2
= 0 ;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 char * kwnames
[] = {
17724 (char *) "self",(char *) "pt", NULL
17727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17750 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
= 0;
17752 wxDC
*arg1
= (wxDC
*) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 PyObject
* obj2
= 0 ;
17770 PyObject
* obj3
= 0 ;
17771 PyObject
* obj4
= 0 ;
17772 char * kwnames
[] = {
17773 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17778 if (!SWIG_IsOK(res1
)) {
17779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17783 if (!SWIG_IsOK(ecode2
)) {
17784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17786 arg2
= static_cast< int >(val2
);
17787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17788 if (!SWIG_IsOK(ecode3
)) {
17789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17791 arg3
= static_cast< int >(val3
);
17792 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17793 if (!SWIG_IsOK(ecode4
)) {
17794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17796 arg4
= static_cast< int >(val4
);
17797 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17798 if (!SWIG_IsOK(ecode5
)) {
17799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17801 arg5
= static_cast< int >(val5
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_Py_Void();
17815 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
= 0;
17817 wxDC
*arg1
= (wxDC
*) 0 ;
17818 wxPoint
*arg2
= 0 ;
17819 wxPoint
*arg3
= 0 ;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 PyObject
* obj2
= 0 ;
17827 char * kwnames
[] = {
17828 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17833 if (!SWIG_IsOK(res1
)) {
17834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17839 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17843 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 resultobj
= SWIG_Py_Void();
17858 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
= 0;
17860 wxDC
*arg1
= (wxDC
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 PyObject
* obj2
= 0 ;
17872 char * kwnames
[] = {
17873 (char *) "self",(char *) "x",(char *) "y", NULL
17876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17883 if (!SWIG_IsOK(ecode2
)) {
17884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17886 arg2
= static_cast< int >(val2
);
17887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17888 if (!SWIG_IsOK(ecode3
)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17891 arg3
= static_cast< int >(val3
);
17893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17894 (arg1
)->CrossHair(arg2
,arg3
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_Py_Void();
17905 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
= 0;
17907 wxDC
*arg1
= (wxDC
*) 0 ;
17908 wxPoint
*arg2
= 0 ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char * kwnames
[] = {
17915 (char *) "self",(char *) "pt", NULL
17918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17920 if (!SWIG_IsOK(res1
)) {
17921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17926 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= SWIG_Py_Void();
17941 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
= 0;
17943 wxDC
*arg1
= (wxDC
*) 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 PyObject
* obj2
= 0 ;
17967 PyObject
* obj3
= 0 ;
17968 PyObject
* obj4
= 0 ;
17969 PyObject
* obj5
= 0 ;
17970 PyObject
* obj6
= 0 ;
17971 char * kwnames
[] = {
17972 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17977 if (!SWIG_IsOK(res1
)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17982 if (!SWIG_IsOK(ecode2
)) {
17983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17985 arg2
= static_cast< int >(val2
);
17986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17987 if (!SWIG_IsOK(ecode3
)) {
17988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17990 arg3
= static_cast< int >(val3
);
17991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17992 if (!SWIG_IsOK(ecode4
)) {
17993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17995 arg4
= static_cast< int >(val4
);
17996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17997 if (!SWIG_IsOK(ecode5
)) {
17998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18000 arg5
= static_cast< int >(val5
);
18001 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18002 if (!SWIG_IsOK(ecode6
)) {
18003 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18005 arg6
= static_cast< int >(val6
);
18006 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18007 if (!SWIG_IsOK(ecode7
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18010 arg7
= static_cast< int >(val7
);
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_Py_Void();
18024 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
= 0;
18026 wxDC
*arg1
= (wxDC
*) 0 ;
18027 wxPoint
*arg2
= 0 ;
18028 wxPoint
*arg3
= 0 ;
18029 wxPoint
*arg4
= 0 ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 PyObject
* obj2
= 0 ;
18038 PyObject
* obj3
= 0 ;
18039 char * kwnames
[] = {
18040 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18045 if (!SWIG_IsOK(res1
)) {
18046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18055 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= SWIG_Py_Void();
18074 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
= 0;
18076 wxDC
*arg1
= (wxDC
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 PyObject
* obj2
= 0 ;
18094 PyObject
* obj3
= 0 ;
18095 PyObject
* obj4
= 0 ;
18096 char * kwnames
[] = {
18097 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18102 if (!SWIG_IsOK(res1
)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18107 if (!SWIG_IsOK(ecode2
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18110 arg2
= static_cast< int >(val2
);
18111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18112 if (!SWIG_IsOK(ecode3
)) {
18113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18115 arg3
= static_cast< int >(val3
);
18116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18117 if (!SWIG_IsOK(ecode4
)) {
18118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18120 arg4
= static_cast< int >(val4
);
18121 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18122 if (!SWIG_IsOK(ecode5
)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18125 arg5
= static_cast< int >(val5
);
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_Py_Void();
18139 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
= 0;
18141 wxDC
*arg1
= (wxDC
*) 0 ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 char * kwnames
[] = {
18149 (char *) "self",(char *) "rect", NULL
18152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18154 if (!SWIG_IsOK(res1
)) {
18155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18160 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_Py_Void();
18175 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
= 0;
18177 wxDC
*arg1
= (wxDC
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 PyObject
* obj2
= 0 ;
18201 PyObject
* obj3
= 0 ;
18202 PyObject
* obj4
= 0 ;
18203 PyObject
* obj5
= 0 ;
18204 PyObject
* obj6
= 0 ;
18205 char * kwnames
[] = {
18206 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18211 if (!SWIG_IsOK(res1
)) {
18212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18216 if (!SWIG_IsOK(ecode2
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18219 arg2
= static_cast< int >(val2
);
18220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18221 if (!SWIG_IsOK(ecode3
)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18224 arg3
= static_cast< int >(val3
);
18225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18226 if (!SWIG_IsOK(ecode4
)) {
18227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18229 arg4
= static_cast< int >(val4
);
18230 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18231 if (!SWIG_IsOK(ecode5
)) {
18232 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18234 arg5
= static_cast< int >(val5
);
18235 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18236 if (!SWIG_IsOK(ecode6
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18239 arg6
= static_cast< double >(val6
);
18240 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18241 if (!SWIG_IsOK(ecode7
)) {
18242 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18244 arg7
= static_cast< double >(val7
);
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_Py_Void();
18258 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
= 0;
18260 wxDC
*arg1
= (wxDC
*) 0 ;
18261 wxPoint
*arg2
= 0 ;
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 *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",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_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18290 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18294 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18296 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18297 if (!SWIG_IsOK(ecode4
)) {
18298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18300 arg4
= static_cast< double >(val4
);
18301 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18302 if (!SWIG_IsOK(ecode5
)) {
18303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18305 arg5
= static_cast< double >(val5
);
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= SWIG_Py_Void();
18319 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
= 0;
18321 wxDC
*arg1
= (wxDC
*) 0 ;
18330 PyObject
* obj0
= 0 ;
18331 PyObject
* obj1
= 0 ;
18332 PyObject
* obj2
= 0 ;
18333 char * kwnames
[] = {
18334 (char *) "self",(char *) "x",(char *) "y", NULL
18337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18344 if (!SWIG_IsOK(ecode2
)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18347 arg2
= static_cast< int >(val2
);
18348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18349 if (!SWIG_IsOK(ecode3
)) {
18350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18352 arg3
= static_cast< int >(val3
);
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 (arg1
)->DrawPoint(arg2
,arg3
);
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= SWIG_Py_Void();
18366 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
= 0;
18368 wxDC
*arg1
= (wxDC
*) 0 ;
18369 wxPoint
*arg2
= 0 ;
18373 PyObject
* obj0
= 0 ;
18374 PyObject
* obj1
= 0 ;
18375 char * kwnames
[] = {
18376 (char *) "self",(char *) "pt", NULL
18379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18381 if (!SWIG_IsOK(res1
)) {
18382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_Py_Void();
18402 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
= 0;
18404 wxDC
*arg1
= (wxDC
*) 0 ;
18419 PyObject
* obj0
= 0 ;
18420 PyObject
* obj1
= 0 ;
18421 PyObject
* obj2
= 0 ;
18422 PyObject
* obj3
= 0 ;
18423 PyObject
* obj4
= 0 ;
18424 char * kwnames
[] = {
18425 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18430 if (!SWIG_IsOK(res1
)) {
18431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18435 if (!SWIG_IsOK(ecode2
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18438 arg2
= static_cast< int >(val2
);
18439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18440 if (!SWIG_IsOK(ecode3
)) {
18441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18443 arg3
= static_cast< int >(val3
);
18444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18445 if (!SWIG_IsOK(ecode4
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18448 arg4
= static_cast< int >(val4
);
18449 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18450 if (!SWIG_IsOK(ecode5
)) {
18451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18453 arg5
= static_cast< int >(val5
);
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= SWIG_Py_Void();
18467 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
= 0;
18469 wxDC
*arg1
= (wxDC
*) 0 ;
18474 PyObject
* obj0
= 0 ;
18475 PyObject
* obj1
= 0 ;
18476 char * kwnames
[] = {
18477 (char *) "self",(char *) "rect", NULL
18480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18482 if (!SWIG_IsOK(res1
)) {
18483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18488 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= SWIG_Py_Void();
18503 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
= 0;
18505 wxDC
*arg1
= (wxDC
*) 0 ;
18506 wxPoint
*arg2
= 0 ;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 PyObject
* obj2
= 0 ;
18515 char * kwnames
[] = {
18516 (char *) "self",(char *) "pt",(char *) "sz", NULL
18519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18531 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_Py_Void();
18546 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
= 0;
18548 wxDC
*arg1
= (wxDC
*) 0 ;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 PyObject
* obj2
= 0 ;
18569 PyObject
* obj3
= 0 ;
18570 PyObject
* obj4
= 0 ;
18571 PyObject
* obj5
= 0 ;
18572 char * kwnames
[] = {
18573 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18578 if (!SWIG_IsOK(res1
)) {
18579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18583 if (!SWIG_IsOK(ecode2
)) {
18584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18586 arg2
= static_cast< int >(val2
);
18587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18588 if (!SWIG_IsOK(ecode3
)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18591 arg3
= static_cast< int >(val3
);
18592 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18593 if (!SWIG_IsOK(ecode4
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18596 arg4
= static_cast< int >(val4
);
18597 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18598 if (!SWIG_IsOK(ecode5
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18601 arg5
= static_cast< int >(val5
);
18602 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18603 if (!SWIG_IsOK(ecode6
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18606 arg6
= static_cast< double >(val6
);
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_Py_Void();
18620 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
= 0;
18622 wxDC
*arg1
= (wxDC
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 PyObject
* obj1
= 0 ;
18632 PyObject
* obj2
= 0 ;
18633 char * kwnames
[] = {
18634 (char *) "self",(char *) "r",(char *) "radius", NULL
18637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18639 if (!SWIG_IsOK(res1
)) {
18640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18645 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18647 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18648 if (!SWIG_IsOK(ecode3
)) {
18649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18651 arg3
= static_cast< double >(val3
);
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= SWIG_Py_Void();
18665 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
= 0;
18667 wxDC
*arg1
= (wxDC
*) 0 ;
18668 wxPoint
*arg2
= 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 PyObject
* obj2
= 0 ;
18680 PyObject
* obj3
= 0 ;
18681 char * kwnames
[] = {
18682 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18687 if (!SWIG_IsOK(res1
)) {
18688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18693 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18697 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18699 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18700 if (!SWIG_IsOK(ecode4
)) {
18701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18703 arg4
= static_cast< double >(val4
);
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_Py_Void();
18717 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
= 0;
18719 wxDC
*arg1
= (wxDC
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 PyObject
* obj1
= 0 ;
18733 PyObject
* obj2
= 0 ;
18734 PyObject
* obj3
= 0 ;
18735 char * kwnames
[] = {
18736 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18741 if (!SWIG_IsOK(res1
)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18746 if (!SWIG_IsOK(ecode2
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18749 arg2
= static_cast< int >(val2
);
18750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18751 if (!SWIG_IsOK(ecode3
)) {
18752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18754 arg3
= static_cast< int >(val3
);
18755 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18756 if (!SWIG_IsOK(ecode4
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18759 arg4
= static_cast< int >(val4
);
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_Py_Void();
18773 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
= 0;
18775 wxDC
*arg1
= (wxDC
*) 0 ;
18776 wxPoint
*arg2
= 0 ;
18783 PyObject
* obj0
= 0 ;
18784 PyObject
* obj1
= 0 ;
18785 PyObject
* obj2
= 0 ;
18786 char * kwnames
[] = {
18787 (char *) "self",(char *) "pt",(char *) "radius", NULL
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18801 if (!SWIG_IsOK(ecode3
)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18804 arg3
= static_cast< int >(val3
);
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= SWIG_Py_Void();
18818 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
= 0;
18820 wxDC
*arg1
= (wxDC
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 PyObject
* obj3
= 0 ;
18839 PyObject
* obj4
= 0 ;
18840 char * kwnames
[] = {
18841 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18846 if (!SWIG_IsOK(res1
)) {
18847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18851 if (!SWIG_IsOK(ecode2
)) {
18852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18854 arg2
= static_cast< int >(val2
);
18855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18856 if (!SWIG_IsOK(ecode3
)) {
18857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18859 arg3
= static_cast< int >(val3
);
18860 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18861 if (!SWIG_IsOK(ecode4
)) {
18862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18864 arg4
= static_cast< int >(val4
);
18865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18866 if (!SWIG_IsOK(ecode5
)) {
18867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18869 arg5
= static_cast< int >(val5
);
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= SWIG_Py_Void();
18883 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
= 0;
18885 wxDC
*arg1
= (wxDC
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 char * kwnames
[] = {
18893 (char *) "self",(char *) "rect", NULL
18896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18898 if (!SWIG_IsOK(res1
)) {
18899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18904 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= SWIG_Py_Void();
18919 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
= 0;
18921 wxDC
*arg1
= (wxDC
*) 0 ;
18922 wxPoint
*arg2
= 0 ;
18928 PyObject
* obj0
= 0 ;
18929 PyObject
* obj1
= 0 ;
18930 PyObject
* obj2
= 0 ;
18931 char * kwnames
[] = {
18932 (char *) "self",(char *) "pt",(char *) "sz", NULL
18935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18937 if (!SWIG_IsOK(res1
)) {
18938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18947 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= SWIG_Py_Void();
18962 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
= 0;
18964 wxDC
*arg1
= (wxDC
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 PyObject
* obj1
= 0 ;
18978 PyObject
* obj2
= 0 ;
18979 PyObject
* obj3
= 0 ;
18980 char * kwnames
[] = {
18981 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18986 if (!SWIG_IsOK(res1
)) {
18987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18991 if (!SWIG_IsOK(res2
)) {
18992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18997 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18999 if (!SWIG_IsOK(ecode3
)) {
19000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19002 arg3
= static_cast< int >(val3
);
19003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19004 if (!SWIG_IsOK(ecode4
)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19007 arg4
= static_cast< int >(val4
);
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_Py_Void();
19021 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
= 0;
19023 wxDC
*arg1
= (wxDC
*) 0 ;
19025 wxPoint
*arg3
= 0 ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 PyObject
* obj2
= 0 ;
19034 char * kwnames
[] = {
19035 (char *) "self",(char *) "icon",(char *) "pt", NULL
19038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19040 if (!SWIG_IsOK(res1
)) {
19041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19045 if (!SWIG_IsOK(res2
)) {
19046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19051 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19054 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= SWIG_Py_Void();
19069 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
= 0;
19071 wxDC
*arg1
= (wxDC
*) 0 ;
19072 wxBitmap
*arg2
= 0 ;
19075 bool arg5
= (bool) false ;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 PyObject
* obj2
= 0 ;
19089 PyObject
* obj3
= 0 ;
19090 PyObject
* obj4
= 0 ;
19091 char * kwnames
[] = {
19092 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19097 if (!SWIG_IsOK(res1
)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19102 if (!SWIG_IsOK(res2
)) {
19103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19108 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19110 if (!SWIG_IsOK(ecode3
)) {
19111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19113 arg3
= static_cast< int >(val3
);
19114 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19115 if (!SWIG_IsOK(ecode4
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19118 arg4
= static_cast< int >(val4
);
19120 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19121 if (!SWIG_IsOK(ecode5
)) {
19122 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19124 arg5
= static_cast< bool >(val5
);
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= SWIG_Py_Void();
19139 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
= 0;
19141 wxDC
*arg1
= (wxDC
*) 0 ;
19142 wxBitmap
*arg2
= 0 ;
19143 wxPoint
*arg3
= 0 ;
19144 bool arg4
= (bool) false ;
19152 PyObject
* obj0
= 0 ;
19153 PyObject
* obj1
= 0 ;
19154 PyObject
* obj2
= 0 ;
19155 PyObject
* obj3
= 0 ;
19156 char * kwnames
[] = {
19157 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19162 if (!SWIG_IsOK(res1
)) {
19163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19167 if (!SWIG_IsOK(res2
)) {
19168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19173 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19176 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19179 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19180 if (!SWIG_IsOK(ecode4
)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19183 arg4
= static_cast< bool >(val4
);
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 resultobj
= SWIG_Py_Void();
19198 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
= 0;
19200 wxDC
*arg1
= (wxDC
*) 0 ;
19201 wxString
*arg2
= 0 ;
19206 bool temp2
= false ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 PyObject
* obj2
= 0 ;
19214 PyObject
* obj3
= 0 ;
19215 char * kwnames
[] = {
19216 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19221 if (!SWIG_IsOK(res1
)) {
19222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19226 arg2
= wxString_in_helper(obj1
);
19227 if (arg2
== NULL
) SWIG_fail
;
19230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19231 if (!SWIG_IsOK(ecode3
)) {
19232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19234 arg3
= static_cast< int >(val3
);
19235 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19236 if (!SWIG_IsOK(ecode4
)) {
19237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19239 arg4
= static_cast< int >(val4
);
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= SWIG_Py_Void();
19261 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
= 0;
19263 wxDC
*arg1
= (wxDC
*) 0 ;
19264 wxString
*arg2
= 0 ;
19265 wxPoint
*arg3
= 0 ;
19268 bool temp2
= false ;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 PyObject
* obj2
= 0 ;
19273 char * kwnames
[] = {
19274 (char *) "self",(char *) "text",(char *) "pt", NULL
19277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19279 if (!SWIG_IsOK(res1
)) {
19280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19284 arg2
= wxString_in_helper(obj1
);
19285 if (arg2
== NULL
) SWIG_fail
;
19290 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= SWIG_Py_Void();
19313 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
= 0;
19315 wxDC
*arg1
= (wxDC
*) 0 ;
19316 wxString
*arg2
= 0 ;
19322 bool temp2
= false ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 PyObject
* obj2
= 0 ;
19332 PyObject
* obj3
= 0 ;
19333 PyObject
* obj4
= 0 ;
19334 char * kwnames
[] = {
19335 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19340 if (!SWIG_IsOK(res1
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19345 arg2
= wxString_in_helper(obj1
);
19346 if (arg2
== NULL
) SWIG_fail
;
19349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19350 if (!SWIG_IsOK(ecode3
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19353 arg3
= static_cast< int >(val3
);
19354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19355 if (!SWIG_IsOK(ecode4
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19358 arg4
= static_cast< int >(val4
);
19359 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19360 if (!SWIG_IsOK(ecode5
)) {
19361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19363 arg5
= static_cast< double >(val5
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_Py_Void();
19385 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
= 0;
19387 wxDC
*arg1
= (wxDC
*) 0 ;
19388 wxString
*arg2
= 0 ;
19389 wxPoint
*arg3
= 0 ;
19393 bool temp2
= false ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 PyObject
* obj3
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19412 arg2
= wxString_in_helper(obj1
);
19413 if (arg2
== NULL
) SWIG_fail
;
19418 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19420 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19421 if (!SWIG_IsOK(ecode4
)) {
19422 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19424 arg4
= static_cast< double >(val4
);
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_Py_Void();
19446 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
= 0;
19448 wxDC
*arg1
= (wxDC
*) 0 ;
19453 wxDC
*arg6
= (wxDC
*) 0 ;
19456 int arg9
= (int) wxCOPY
;
19457 bool arg10
= (bool) false ;
19458 int arg11
= (int) -1 ;
19459 int arg12
= (int) -1 ;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 PyObject
* obj2
= 0 ;
19488 PyObject
* obj3
= 0 ;
19489 PyObject
* obj4
= 0 ;
19490 PyObject
* obj5
= 0 ;
19491 PyObject
* obj6
= 0 ;
19492 PyObject
* obj7
= 0 ;
19493 PyObject
* obj8
= 0 ;
19494 PyObject
* obj9
= 0 ;
19495 PyObject
* obj10
= 0 ;
19496 PyObject
* obj11
= 0 ;
19497 char * kwnames
[] = {
19498 (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
19501 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
;
19502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19503 if (!SWIG_IsOK(res1
)) {
19504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19508 if (!SWIG_IsOK(ecode2
)) {
19509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19511 arg2
= static_cast< int >(val2
);
19512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19513 if (!SWIG_IsOK(ecode3
)) {
19514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19516 arg3
= static_cast< int >(val3
);
19517 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19518 if (!SWIG_IsOK(ecode4
)) {
19519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19521 arg4
= static_cast< int >(val4
);
19522 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19523 if (!SWIG_IsOK(ecode5
)) {
19524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19526 arg5
= static_cast< int >(val5
);
19527 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19528 if (!SWIG_IsOK(res6
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19531 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19532 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19533 if (!SWIG_IsOK(ecode7
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19536 arg7
= static_cast< int >(val7
);
19537 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19538 if (!SWIG_IsOK(ecode8
)) {
19539 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19541 arg8
= static_cast< int >(val8
);
19543 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19544 if (!SWIG_IsOK(ecode9
)) {
19545 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19547 arg9
= static_cast< int >(val9
);
19550 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19551 if (!SWIG_IsOK(ecode10
)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19554 arg10
= static_cast< bool >(val10
);
19557 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19558 if (!SWIG_IsOK(ecode11
)) {
19559 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19561 arg11
= static_cast< int >(val11
);
19564 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19565 if (!SWIG_IsOK(ecode12
)) {
19566 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19568 arg12
= static_cast< int >(val12
);
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19585 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
= 0;
19587 wxDC
*arg1
= (wxDC
*) 0 ;
19588 wxPoint
*arg2
= 0 ;
19590 wxDC
*arg4
= (wxDC
*) 0 ;
19591 wxPoint
*arg5
= 0 ;
19592 int arg6
= (int) wxCOPY
;
19593 bool arg7
= (bool) false ;
19594 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19595 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 PyObject
* obj2
= 0 ;
19612 PyObject
* obj3
= 0 ;
19613 PyObject
* obj4
= 0 ;
19614 PyObject
* obj5
= 0 ;
19615 PyObject
* obj6
= 0 ;
19616 PyObject
* obj7
= 0 ;
19617 char * kwnames
[] = {
19618 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19623 if (!SWIG_IsOK(res1
)) {
19624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19633 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19635 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19636 if (!SWIG_IsOK(res4
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19639 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19642 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19645 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19646 if (!SWIG_IsOK(ecode6
)) {
19647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19649 arg6
= static_cast< int >(val6
);
19652 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19653 if (!SWIG_IsOK(ecode7
)) {
19654 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19656 arg7
= static_cast< bool >(val7
);
19661 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19679 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
= 0;
19681 wxDC
*arg1
= (wxDC
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 PyObject
* obj2
= 0 ;
19699 PyObject
* obj3
= 0 ;
19700 PyObject
* obj4
= 0 ;
19701 char * kwnames
[] = {
19702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19707 if (!SWIG_IsOK(res1
)) {
19708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19712 if (!SWIG_IsOK(ecode2
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19715 arg2
= static_cast< int >(val2
);
19716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19717 if (!SWIG_IsOK(ecode3
)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19720 arg3
= static_cast< int >(val3
);
19721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19722 if (!SWIG_IsOK(ecode4
)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19725 arg4
= static_cast< int >(val4
);
19726 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19727 if (!SWIG_IsOK(ecode5
)) {
19728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19730 arg5
= static_cast< int >(val5
);
19732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19733 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= SWIG_Py_Void();
19744 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
= 0;
19746 wxDC
*arg1
= (wxDC
*) 0 ;
19747 wxPoint
*arg2
= 0 ;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 PyObject
* obj2
= 0 ;
19756 char * kwnames
[] = {
19757 (char *) "self",(char *) "pt",(char *) "sz", NULL
19760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19762 if (!SWIG_IsOK(res1
)) {
19763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19772 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19777 wxPyEndAllowThreads(__tstate
);
19778 if (PyErr_Occurred()) SWIG_fail
;
19780 resultobj
= SWIG_Py_Void();
19787 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
= 0;
19789 wxDC
*arg1
= (wxDC
*) 0 ;
19790 wxRegion
*arg2
= 0 ;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 char * kwnames
[] = {
19798 (char *) "self",(char *) "region", NULL
19801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19803 if (!SWIG_IsOK(res1
)) {
19804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19808 if (!SWIG_IsOK(res2
)) {
19809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19814 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_Py_Void();
19828 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
= 0;
19830 wxDC
*arg1
= (wxDC
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char * kwnames
[] = {
19838 (char *) "self",(char *) "rect", NULL
19841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19843 if (!SWIG_IsOK(res1
)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19849 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= SWIG_Py_Void();
19864 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
= 0;
19866 wxDC
*arg1
= (wxDC
*) 0 ;
19868 wxPoint
*arg3
= (wxPoint
*) 0 ;
19869 int arg4
= (int) 0 ;
19870 int arg5
= (int) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 PyObject
* obj2
= 0 ;
19880 PyObject
* obj3
= 0 ;
19881 char * kwnames
[] = {
19882 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19887 if (!SWIG_IsOK(res1
)) {
19888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19892 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19893 if (arg3
== NULL
) SWIG_fail
;
19896 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19897 if (!SWIG_IsOK(ecode4
)) {
19898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19900 arg4
= static_cast< int >(val4
);
19903 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19904 if (!SWIG_IsOK(ecode5
)) {
19905 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19907 arg5
= static_cast< int >(val5
);
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= SWIG_Py_Void();
19917 if (arg3
) delete [] arg3
;
19922 if (arg3
) delete [] arg3
;
19928 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
= 0;
19930 wxDC
*arg1
= (wxDC
*) 0 ;
19932 wxPoint
*arg3
= (wxPoint
*) 0 ;
19933 int arg4
= (int) 0 ;
19934 int arg5
= (int) 0 ;
19935 int arg6
= (int) wxODDEVEN_RULE
;
19944 PyObject
* obj0
= 0 ;
19945 PyObject
* obj1
= 0 ;
19946 PyObject
* obj2
= 0 ;
19947 PyObject
* obj3
= 0 ;
19948 PyObject
* obj4
= 0 ;
19949 char * kwnames
[] = {
19950 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19955 if (!SWIG_IsOK(res1
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19960 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19961 if (arg3
== NULL
) SWIG_fail
;
19964 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19965 if (!SWIG_IsOK(ecode4
)) {
19966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19968 arg4
= static_cast< int >(val4
);
19971 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19972 if (!SWIG_IsOK(ecode5
)) {
19973 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19975 arg5
= static_cast< int >(val5
);
19978 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19979 if (!SWIG_IsOK(ecode6
)) {
19980 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19982 arg6
= static_cast< int >(val6
);
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19990 resultobj
= SWIG_Py_Void();
19992 if (arg3
) delete [] arg3
;
19997 if (arg3
) delete [] arg3
;
20003 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
= 0;
20005 wxDC
*arg1
= (wxDC
*) 0 ;
20006 wxString
*arg2
= 0 ;
20008 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20009 int arg5
= (int) -1 ;
20012 bool temp2
= false ;
20018 PyObject
* obj0
= 0 ;
20019 PyObject
* obj1
= 0 ;
20020 PyObject
* obj2
= 0 ;
20021 PyObject
* obj3
= 0 ;
20022 PyObject
* obj4
= 0 ;
20023 char * kwnames
[] = {
20024 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20029 if (!SWIG_IsOK(res1
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20034 arg2
= wxString_in_helper(obj1
);
20035 if (arg2
== NULL
) SWIG_fail
;
20040 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20043 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20044 if (!SWIG_IsOK(ecode4
)) {
20045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20047 arg4
= static_cast< int >(val4
);
20050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20051 if (!SWIG_IsOK(ecode5
)) {
20052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20054 arg5
= static_cast< int >(val5
);
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= SWIG_Py_Void();
20077 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
= 0;
20079 wxDC
*arg1
= (wxDC
*) 0 ;
20080 wxString
*arg2
= 0 ;
20081 wxBitmap
*arg3
= 0 ;
20083 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20084 int arg6
= (int) -1 ;
20088 bool temp2
= false ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 PyObject
* obj2
= 0 ;
20099 PyObject
* obj3
= 0 ;
20100 PyObject
* obj4
= 0 ;
20101 PyObject
* obj5
= 0 ;
20102 char * kwnames
[] = {
20103 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20108 if (!SWIG_IsOK(res1
)) {
20109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20113 arg2
= wxString_in_helper(obj1
);
20114 if (arg2
== NULL
) SWIG_fail
;
20117 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20118 if (!SWIG_IsOK(res3
)) {
20119 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20124 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20127 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20130 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20131 if (!SWIG_IsOK(ecode5
)) {
20132 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20134 arg5
= static_cast< int >(val5
);
20137 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20138 if (!SWIG_IsOK(ecode6
)) {
20139 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20141 arg6
= static_cast< int >(val6
);
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20164 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
= 0;
20166 wxDC
*arg1
= (wxDC
*) 0 ;
20168 wxPoint
*arg3
= (wxPoint
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 PyObject
* obj1
= 0 ;
20173 char * kwnames
[] = {
20174 (char *) "self",(char *) "points", NULL
20177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20179 if (!SWIG_IsOK(res1
)) {
20180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20182 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20184 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20185 if (arg3
== NULL
) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 (arg1
)->DrawSpline(arg2
,arg3
);
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= SWIG_Py_Void();
20195 if (arg3
) delete [] arg3
;
20200 if (arg3
) delete [] arg3
;
20206 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20207 PyObject
*resultobj
= 0;
20208 wxDC
*arg1
= (wxDC
*) 0 ;
20211 PyObject
*swig_obj
[1] ;
20213 if (!args
) SWIG_fail
;
20214 swig_obj
[0] = args
;
20215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20216 if (!SWIG_IsOK(res1
)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= SWIG_Py_Void();
20233 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
= 0;
20235 wxDC
*arg1
= (wxDC
*) 0 ;
20236 wxString
*arg2
= 0 ;
20240 bool temp2
= false ;
20241 PyObject
* obj0
= 0 ;
20242 PyObject
* obj1
= 0 ;
20243 char * kwnames
[] = {
20244 (char *) "self",(char *) "message", NULL
20247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20249 if (!SWIG_IsOK(res1
)) {
20250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20254 arg2
= wxString_in_helper(obj1
);
20255 if (arg2
== NULL
) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20281 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20282 PyObject
*resultobj
= 0;
20283 wxDC
*arg1
= (wxDC
*) 0 ;
20286 PyObject
*swig_obj
[1] ;
20288 if (!args
) SWIG_fail
;
20289 swig_obj
[0] = args
;
20290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20291 if (!SWIG_IsOK(res1
)) {
20292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_Py_Void();
20308 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20309 PyObject
*resultobj
= 0;
20310 wxDC
*arg1
= (wxDC
*) 0 ;
20313 PyObject
*swig_obj
[1] ;
20315 if (!args
) SWIG_fail
;
20316 swig_obj
[0] = args
;
20317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20318 if (!SWIG_IsOK(res1
)) {
20319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->StartPage();
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= SWIG_Py_Void();
20335 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20336 PyObject
*resultobj
= 0;
20337 wxDC
*arg1
= (wxDC
*) 0 ;
20340 PyObject
*swig_obj
[1] ;
20342 if (!args
) SWIG_fail
;
20343 swig_obj
[0] = args
;
20344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20345 if (!SWIG_IsOK(res1
)) {
20346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_Py_Void();
20362 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
= 0;
20364 wxDC
*arg1
= (wxDC
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char * kwnames
[] = {
20373 (char *) "self",(char *) "font", NULL
20376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20378 if (!SWIG_IsOK(res1
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20383 if (!SWIG_IsOK(res2
)) {
20384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20389 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 (arg1
)->SetFont((wxFont
const &)*arg2
);
20393 wxPyEndAllowThreads(__tstate
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20396 resultobj
= SWIG_Py_Void();
20403 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
= 0;
20405 wxDC
*arg1
= (wxDC
*) 0 ;
20411 PyObject
* obj0
= 0 ;
20412 PyObject
* obj1
= 0 ;
20413 char * kwnames
[] = {
20414 (char *) "self",(char *) "pen", NULL
20417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20419 if (!SWIG_IsOK(res1
)) {
20420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20424 if (!SWIG_IsOK(res2
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20430 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 (arg1
)->SetPen((wxPen
const &)*arg2
);
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= SWIG_Py_Void();
20444 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
= 0;
20446 wxDC
*arg1
= (wxDC
*) 0 ;
20447 wxBrush
*arg2
= 0 ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 char * kwnames
[] = {
20455 (char *) "self",(char *) "brush", NULL
20458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20460 if (!SWIG_IsOK(res1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20465 if (!SWIG_IsOK(res2
)) {
20466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20471 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_Py_Void();
20485 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
= 0;
20487 wxDC
*arg1
= (wxDC
*) 0 ;
20488 wxBrush
*arg2
= 0 ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 char * kwnames
[] = {
20496 (char *) "self",(char *) "brush", NULL
20499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20501 if (!SWIG_IsOK(res1
)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20506 if (!SWIG_IsOK(res2
)) {
20507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20512 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 resultobj
= SWIG_Py_Void();
20526 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
= 0;
20528 wxDC
*arg1
= (wxDC
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char * kwnames
[] = {
20537 (char *) "self",(char *) "mode", NULL
20540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20542 if (!SWIG_IsOK(res1
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20547 if (!SWIG_IsOK(ecode2
)) {
20548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20550 arg2
= static_cast< int >(val2
);
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 (arg1
)->SetBackgroundMode(arg2
);
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 resultobj
= SWIG_Py_Void();
20564 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
= 0;
20566 wxDC
*arg1
= (wxDC
*) 0 ;
20567 wxPalette
*arg2
= 0 ;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 char * kwnames
[] = {
20575 (char *) "self",(char *) "palette", NULL
20578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20585 if (!SWIG_IsOK(res2
)) {
20586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20591 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_Py_Void();
20605 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20606 PyObject
*resultobj
= 0;
20607 wxDC
*arg1
= (wxDC
*) 0 ;
20610 PyObject
*swig_obj
[1] ;
20612 if (!args
) SWIG_fail
;
20613 swig_obj
[0] = args
;
20614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20615 if (!SWIG_IsOK(res1
)) {
20616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20621 (arg1
)->DestroyClippingRegion();
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= SWIG_Py_Void();
20632 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20633 PyObject
*resultobj
= 0;
20634 wxDC
*arg1
= (wxDC
*) 0 ;
20635 int *arg2
= (int *) 0 ;
20636 int *arg3
= (int *) 0 ;
20637 int *arg4
= (int *) 0 ;
20638 int *arg5
= (int *) 0 ;
20642 int res2
= SWIG_TMPOBJ
;
20644 int res3
= SWIG_TMPOBJ
;
20646 int res4
= SWIG_TMPOBJ
;
20648 int res5
= SWIG_TMPOBJ
;
20649 PyObject
*swig_obj
[1] ;
20655 if (!args
) SWIG_fail
;
20656 swig_obj
[0] = args
;
20657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20658 if (!SWIG_IsOK(res1
)) {
20659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_Py_Void();
20669 if (SWIG_IsTmpObj(res2
)) {
20670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20672 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20675 if (SWIG_IsTmpObj(res3
)) {
20676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20678 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20681 if (SWIG_IsTmpObj(res4
)) {
20682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20684 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20687 if (SWIG_IsTmpObj(res5
)) {
20688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20690 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20699 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20700 PyObject
*resultobj
= 0;
20701 wxDC
*arg1
= (wxDC
*) 0 ;
20705 PyObject
*swig_obj
[1] ;
20707 if (!args
) SWIG_fail
;
20708 swig_obj
[0] = args
;
20709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20710 if (!SWIG_IsOK(res1
)) {
20711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= wxDC_GetClippingRect(arg1
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20727 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20728 PyObject
*resultobj
= 0;
20729 wxDC
*arg1
= (wxDC
*) 0 ;
20733 PyObject
*swig_obj
[1] ;
20735 if (!args
) SWIG_fail
;
20736 swig_obj
[0] = args
;
20737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20738 if (!SWIG_IsOK(res1
)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_From_int(static_cast< int >(result
));
20755 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20756 PyObject
*resultobj
= 0;
20757 wxDC
*arg1
= (wxDC
*) 0 ;
20761 PyObject
*swig_obj
[1] ;
20763 if (!args
) SWIG_fail
;
20764 swig_obj
[0] = args
;
20765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20766 if (!SWIG_IsOK(res1
)) {
20767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_From_int(static_cast< int >(result
));
20783 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
= 0;
20785 wxDC
*arg1
= (wxDC
*) 0 ;
20786 wxString
*arg2
= 0 ;
20787 int *arg3
= (int *) 0 ;
20788 int *arg4
= (int *) 0 ;
20791 bool temp2
= false ;
20793 int res3
= SWIG_TMPOBJ
;
20795 int res4
= SWIG_TMPOBJ
;
20796 PyObject
* obj0
= 0 ;
20797 PyObject
* obj1
= 0 ;
20798 char * kwnames
[] = {
20799 (char *) "self",(char *) "string", NULL
20804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20806 if (!SWIG_IsOK(res1
)) {
20807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20809 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20811 arg2
= wxString_in_helper(obj1
);
20812 if (arg2
== NULL
) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_Py_Void();
20822 if (SWIG_IsTmpObj(res3
)) {
20823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20825 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20828 if (SWIG_IsTmpObj(res4
)) {
20829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20831 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20848 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
= 0;
20850 wxDC
*arg1
= (wxDC
*) 0 ;
20851 wxString
*arg2
= 0 ;
20852 int *arg3
= (int *) 0 ;
20853 int *arg4
= (int *) 0 ;
20854 int *arg5
= (int *) 0 ;
20855 int *arg6
= (int *) 0 ;
20856 wxFont
*arg7
= (wxFont
*) NULL
;
20859 bool temp2
= false ;
20861 int res3
= SWIG_TMPOBJ
;
20863 int res4
= SWIG_TMPOBJ
;
20865 int res5
= SWIG_TMPOBJ
;
20867 int res6
= SWIG_TMPOBJ
;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 PyObject
* obj2
= 0 ;
20873 char * kwnames
[] = {
20874 (char *) "self",(char *) "string",(char *) "font", NULL
20881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20883 if (!SWIG_IsOK(res1
)) {
20884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20888 arg2
= wxString_in_helper(obj1
);
20889 if (arg2
== NULL
) SWIG_fail
;
20893 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20894 if (!SWIG_IsOK(res7
)) {
20895 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20897 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= SWIG_Py_Void();
20906 if (SWIG_IsTmpObj(res3
)) {
20907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20909 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20912 if (SWIG_IsTmpObj(res4
)) {
20913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20915 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20918 if (SWIG_IsTmpObj(res5
)) {
20919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20921 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20924 if (SWIG_IsTmpObj(res6
)) {
20925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20927 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20944 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
= 0;
20946 wxDC
*arg1
= (wxDC
*) 0 ;
20947 wxString
*arg2
= 0 ;
20948 int *arg3
= (int *) 0 ;
20949 int *arg4
= (int *) 0 ;
20950 int *arg5
= (int *) 0 ;
20951 wxFont
*arg6
= (wxFont
*) NULL
;
20954 bool temp2
= false ;
20956 int res3
= SWIG_TMPOBJ
;
20958 int res4
= SWIG_TMPOBJ
;
20960 int res5
= SWIG_TMPOBJ
;
20963 PyObject
* obj0
= 0 ;
20964 PyObject
* obj1
= 0 ;
20965 PyObject
* obj2
= 0 ;
20966 char * kwnames
[] = {
20967 (char *) "self",(char *) "text",(char *) "font", NULL
20973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20980 arg2
= wxString_in_helper(obj1
);
20981 if (arg2
== NULL
) SWIG_fail
;
20985 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20986 if (!SWIG_IsOK(res6
)) {
20987 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20989 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_Py_Void();
20998 if (SWIG_IsTmpObj(res3
)) {
20999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21001 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21004 if (SWIG_IsTmpObj(res4
)) {
21005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21007 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21010 if (SWIG_IsTmpObj(res5
)) {
21011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21013 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21030 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
= 0;
21032 wxDC
*arg1
= (wxDC
*) 0 ;
21033 wxString
*arg2
= 0 ;
21037 bool temp2
= false ;
21038 PyObject
* obj0
= 0 ;
21039 PyObject
* obj1
= 0 ;
21040 char * kwnames
[] = {
21041 (char *) "self",(char *) "text", NULL
21044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21046 if (!SWIG_IsOK(res1
)) {
21047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21051 arg2
= wxString_in_helper(obj1
);
21052 if (arg2
== NULL
) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= wxArrayInt2PyList_helper(result
);
21078 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21079 PyObject
*resultobj
= 0;
21080 wxDC
*arg1
= (wxDC
*) 0 ;
21084 PyObject
*swig_obj
[1] ;
21086 if (!args
) SWIG_fail
;
21087 swig_obj
[0] = args
;
21088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21089 if (!SWIG_IsOK(res1
)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (arg1
)->GetSize();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21106 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21107 PyObject
*resultobj
= 0;
21108 wxDC
*arg1
= (wxDC
*) 0 ;
21109 int *arg2
= (int *) 0 ;
21110 int *arg3
= (int *) 0 ;
21114 int res2
= SWIG_TMPOBJ
;
21116 int res3
= SWIG_TMPOBJ
;
21117 PyObject
*swig_obj
[1] ;
21121 if (!args
) SWIG_fail
;
21122 swig_obj
[0] = args
;
21123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21124 if (!SWIG_IsOK(res1
)) {
21125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 (arg1
)->GetSize(arg2
,arg3
);
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_Py_Void();
21135 if (SWIG_IsTmpObj(res2
)) {
21136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21138 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21141 if (SWIG_IsTmpObj(res3
)) {
21142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21144 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21153 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21154 PyObject
*resultobj
= 0;
21155 wxDC
*arg1
= (wxDC
*) 0 ;
21159 PyObject
*swig_obj
[1] ;
21161 if (!args
) SWIG_fail
;
21162 swig_obj
[0] = args
;
21163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21164 if (!SWIG_IsOK(res1
)) {
21165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21181 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21182 PyObject
*resultobj
= 0;
21183 wxDC
*arg1
= (wxDC
*) 0 ;
21184 int *arg2
= (int *) 0 ;
21185 int *arg3
= (int *) 0 ;
21189 int res2
= SWIG_TMPOBJ
;
21191 int res3
= SWIG_TMPOBJ
;
21192 PyObject
*swig_obj
[1] ;
21196 if (!args
) SWIG_fail
;
21197 swig_obj
[0] = args
;
21198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21199 if (!SWIG_IsOK(res1
)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_Py_Void();
21210 if (SWIG_IsTmpObj(res2
)) {
21211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21213 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21216 if (SWIG_IsTmpObj(res3
)) {
21217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21219 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21228 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
= 0;
21230 wxDC
*arg1
= (wxDC
*) 0 ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 char * kwnames
[] = {
21240 (char *) "self",(char *) "x", NULL
21243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21245 if (!SWIG_IsOK(res1
)) {
21246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21250 if (!SWIG_IsOK(ecode2
)) {
21251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21253 arg2
= static_cast< int >(val2
);
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= SWIG_From_int(static_cast< int >(result
));
21267 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
= 0;
21269 wxDC
*arg1
= (wxDC
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char * kwnames
[] = {
21279 (char *) "self",(char *) "y", NULL
21282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21284 if (!SWIG_IsOK(res1
)) {
21285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21289 if (!SWIG_IsOK(ecode2
)) {
21290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21292 arg2
= static_cast< int >(val2
);
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= SWIG_From_int(static_cast< int >(result
));
21306 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
= 0;
21308 wxDC
*arg1
= (wxDC
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char * kwnames
[] = {
21318 (char *) "self",(char *) "x", NULL
21321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21328 if (!SWIG_IsOK(ecode2
)) {
21329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21331 arg2
= static_cast< int >(val2
);
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= SWIG_From_int(static_cast< int >(result
));
21345 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
= 0;
21347 wxDC
*arg1
= (wxDC
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char * kwnames
[] = {
21357 (char *) "self",(char *) "y", NULL
21360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21367 if (!SWIG_IsOK(ecode2
)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21370 arg2
= static_cast< int >(val2
);
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= SWIG_From_int(static_cast< int >(result
));
21384 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
= 0;
21386 wxDC
*arg1
= (wxDC
*) 0 ;
21393 PyObject
* obj0
= 0 ;
21394 PyObject
* obj1
= 0 ;
21395 char * kwnames
[] = {
21396 (char *) "self",(char *) "x", NULL
21399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21401 if (!SWIG_IsOK(res1
)) {
21402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21406 if (!SWIG_IsOK(ecode2
)) {
21407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21409 arg2
= static_cast< int >(val2
);
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= SWIG_From_int(static_cast< int >(result
));
21423 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
= 0;
21425 wxDC
*arg1
= (wxDC
*) 0 ;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 char * kwnames
[] = {
21435 (char *) "self",(char *) "y", NULL
21438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21440 if (!SWIG_IsOK(res1
)) {
21441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21445 if (!SWIG_IsOK(ecode2
)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21448 arg2
= static_cast< int >(val2
);
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= SWIG_From_int(static_cast< int >(result
));
21462 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
= 0;
21464 wxDC
*arg1
= (wxDC
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char * kwnames
[] = {
21474 (char *) "self",(char *) "x", NULL
21477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21479 if (!SWIG_IsOK(res1
)) {
21480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21484 if (!SWIG_IsOK(ecode2
)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21487 arg2
= static_cast< int >(val2
);
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_From_int(static_cast< int >(result
));
21501 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
= 0;
21503 wxDC
*arg1
= (wxDC
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char * kwnames
[] = {
21513 (char *) "self",(char *) "y", NULL
21516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21518 if (!SWIG_IsOK(res1
)) {
21519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21523 if (!SWIG_IsOK(ecode2
)) {
21524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21526 arg2
= static_cast< int >(val2
);
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_From_int(static_cast< int >(result
));
21540 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21541 PyObject
*resultobj
= 0;
21542 wxDC
*arg1
= (wxDC
*) 0 ;
21546 PyObject
*swig_obj
[1] ;
21548 if (!args
) SWIG_fail
;
21549 swig_obj
[0] = args
;
21550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21551 if (!SWIG_IsOK(res1
)) {
21552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21570 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21571 PyObject
*resultobj
= 0;
21572 wxDC
*arg1
= (wxDC
*) 0 ;
21576 PyObject
*swig_obj
[1] ;
21578 if (!args
) SWIG_fail
;
21579 swig_obj
[0] = args
;
21580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21581 if (!SWIG_IsOK(res1
)) {
21582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21600 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21601 PyObject
*resultobj
= 0;
21602 wxDC
*arg1
= (wxDC
*) 0 ;
21606 PyObject
*swig_obj
[1] ;
21608 if (!args
) SWIG_fail
;
21609 swig_obj
[0] = args
;
21610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21611 if (!SWIG_IsOK(res1
)) {
21612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= SWIG_From_int(static_cast< int >(result
));
21628 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21629 PyObject
*resultobj
= 0;
21630 wxDC
*arg1
= (wxDC
*) 0 ;
21634 PyObject
*swig_obj
[1] ;
21636 if (!args
) SWIG_fail
;
21637 swig_obj
[0] = args
;
21638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21639 if (!SWIG_IsOK(res1
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= ((wxDC
const *)arg1
)->GetPPI();
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21656 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21657 PyObject
*resultobj
= 0;
21658 wxDC
*arg1
= (wxDC
*) 0 ;
21662 PyObject
*swig_obj
[1] ;
21664 if (!args
) SWIG_fail
;
21665 swig_obj
[0] = args
;
21666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21667 if (!SWIG_IsOK(res1
)) {
21668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21686 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21687 PyObject
*resultobj
= 0;
21688 wxDC
*arg1
= (wxDC
*) 0 ;
21692 PyObject
*swig_obj
[1] ;
21694 if (!args
) SWIG_fail
;
21695 swig_obj
[0] = args
;
21696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21697 if (!SWIG_IsOK(res1
)) {
21698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_From_int(static_cast< int >(result
));
21714 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21715 PyObject
*resultobj
= 0;
21716 wxDC
*arg1
= (wxDC
*) 0 ;
21717 wxBrush
*result
= 0 ;
21720 PyObject
*swig_obj
[1] ;
21722 if (!args
) SWIG_fail
;
21723 swig_obj
[0] = args
;
21724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21725 if (!SWIG_IsOK(res1
)) {
21726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21728 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21733 result
= (wxBrush
*) &_result_ref
;
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 wxBrush
* resultptr
= new wxBrush(*result
);
21740 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21748 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21749 PyObject
*resultobj
= 0;
21750 wxDC
*arg1
= (wxDC
*) 0 ;
21751 wxBrush
*result
= 0 ;
21754 PyObject
*swig_obj
[1] ;
21756 if (!args
) SWIG_fail
;
21757 swig_obj
[0] = args
;
21758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21759 if (!SWIG_IsOK(res1
)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21767 result
= (wxBrush
*) &_result_ref
;
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 wxBrush
* resultptr
= new wxBrush(*result
);
21774 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21782 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21783 PyObject
*resultobj
= 0;
21784 wxDC
*arg1
= (wxDC
*) 0 ;
21785 wxFont
*result
= 0 ;
21788 PyObject
*swig_obj
[1] ;
21790 if (!args
) SWIG_fail
;
21791 swig_obj
[0] = args
;
21792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21793 if (!SWIG_IsOK(res1
)) {
21794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21801 result
= (wxFont
*) &_result_ref
;
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21807 wxFont
* resultptr
= new wxFont(*result
);
21808 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21816 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21817 PyObject
*resultobj
= 0;
21818 wxDC
*arg1
= (wxDC
*) 0 ;
21819 wxPen
*result
= 0 ;
21822 PyObject
*swig_obj
[1] ;
21824 if (!args
) SWIG_fail
;
21825 swig_obj
[0] = args
;
21826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21827 if (!SWIG_IsOK(res1
)) {
21828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21835 result
= (wxPen
*) &_result_ref
;
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21841 wxPen
* resultptr
= new wxPen(*result
);
21842 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21850 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21851 PyObject
*resultobj
= 0;
21852 wxDC
*arg1
= (wxDC
*) 0 ;
21853 wxColour
*result
= 0 ;
21856 PyObject
*swig_obj
[1] ;
21858 if (!args
) SWIG_fail
;
21859 swig_obj
[0] = args
;
21860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21861 if (!SWIG_IsOK(res1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21869 result
= (wxColour
*) &_result_ref
;
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21881 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21882 PyObject
*resultobj
= 0;
21883 wxDC
*arg1
= (wxDC
*) 0 ;
21884 wxColour
*result
= 0 ;
21887 PyObject
*swig_obj
[1] ;
21889 if (!args
) SWIG_fail
;
21890 swig_obj
[0] = args
;
21891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21892 if (!SWIG_IsOK(res1
)) {
21893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21900 result
= (wxColour
*) &_result_ref
;
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21912 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
= 0;
21914 wxDC
*arg1
= (wxDC
*) 0 ;
21915 wxColour
*arg2
= 0 ;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 char * kwnames
[] = {
21922 (char *) "self",(char *) "colour", NULL
21925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21927 if (!SWIG_IsOK(res1
)) {
21928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21933 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_Py_Void();
21948 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
= 0;
21950 wxDC
*arg1
= (wxDC
*) 0 ;
21951 wxColour
*arg2
= 0 ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 char * kwnames
[] = {
21958 (char *) "self",(char *) "colour", NULL
21961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21963 if (!SWIG_IsOK(res1
)) {
21964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_Py_Void();
21984 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 PyObject
*resultobj
= 0;
21986 wxDC
*arg1
= (wxDC
*) 0 ;
21990 PyObject
*swig_obj
[1] ;
21992 if (!args
) SWIG_fail
;
21993 swig_obj
[0] = args
;
21994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= SWIG_From_int(static_cast< int >(result
));
22012 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
= 0;
22014 wxDC
*arg1
= (wxDC
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 char * kwnames
[] = {
22023 (char *) "self",(char *) "mode", NULL
22026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22028 if (!SWIG_IsOK(res1
)) {
22029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22033 if (!SWIG_IsOK(ecode2
)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22036 arg2
= static_cast< int >(val2
);
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->SetMapMode(arg2
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_Py_Void();
22050 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 PyObject
*resultobj
= 0;
22052 wxDC
*arg1
= (wxDC
*) 0 ;
22053 double *arg2
= (double *) 0 ;
22054 double *arg3
= (double *) 0 ;
22058 int res2
= SWIG_TMPOBJ
;
22060 int res3
= SWIG_TMPOBJ
;
22061 PyObject
*swig_obj
[1] ;
22065 if (!args
) SWIG_fail
;
22066 swig_obj
[0] = args
;
22067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22068 if (!SWIG_IsOK(res1
)) {
22069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_Py_Void();
22079 if (SWIG_IsTmpObj(res2
)) {
22080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22082 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22085 if (SWIG_IsTmpObj(res3
)) {
22086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22088 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22097 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
= 0;
22099 wxDC
*arg1
= (wxDC
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 PyObject
* obj1
= 0 ;
22110 PyObject
* obj2
= 0 ;
22111 char * kwnames
[] = {
22112 (char *) "self",(char *) "x",(char *) "y", NULL
22115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22117 if (!SWIG_IsOK(res1
)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22121 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22122 if (!SWIG_IsOK(ecode2
)) {
22123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22125 arg2
= static_cast< double >(val2
);
22126 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22127 if (!SWIG_IsOK(ecode3
)) {
22128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22130 arg3
= static_cast< double >(val3
);
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->SetUserScale(arg2
,arg3
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= SWIG_Py_Void();
22144 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22145 PyObject
*resultobj
= 0;
22146 wxDC
*arg1
= (wxDC
*) 0 ;
22147 double *arg2
= (double *) 0 ;
22148 double *arg3
= (double *) 0 ;
22152 int res2
= SWIG_TMPOBJ
;
22154 int res3
= SWIG_TMPOBJ
;
22155 PyObject
*swig_obj
[1] ;
22159 if (!args
) SWIG_fail
;
22160 swig_obj
[0] = args
;
22161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22162 if (!SWIG_IsOK(res1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 (arg1
)->GetLogicalScale(arg2
,arg3
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= SWIG_Py_Void();
22173 if (SWIG_IsTmpObj(res2
)) {
22174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22176 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22179 if (SWIG_IsTmpObj(res3
)) {
22180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22182 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22191 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
= 0;
22193 wxDC
*arg1
= (wxDC
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 PyObject
* obj2
= 0 ;
22205 char * kwnames
[] = {
22206 (char *) "self",(char *) "x",(char *) "y", NULL
22209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22211 if (!SWIG_IsOK(res1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22215 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22216 if (!SWIG_IsOK(ecode2
)) {
22217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22219 arg2
= static_cast< double >(val2
);
22220 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22221 if (!SWIG_IsOK(ecode3
)) {
22222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22224 arg3
= static_cast< double >(val3
);
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->SetLogicalScale(arg2
,arg3
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= SWIG_Py_Void();
22238 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22239 PyObject
*resultobj
= 0;
22240 wxDC
*arg1
= (wxDC
*) 0 ;
22244 PyObject
*swig_obj
[1] ;
22246 if (!args
) SWIG_fail
;
22247 swig_obj
[0] = args
;
22248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22249 if (!SWIG_IsOK(res1
)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22266 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22267 PyObject
*resultobj
= 0;
22268 wxDC
*arg1
= (wxDC
*) 0 ;
22269 int *arg2
= (int *) 0 ;
22270 int *arg3
= (int *) 0 ;
22274 int res2
= SWIG_TMPOBJ
;
22276 int res3
= SWIG_TMPOBJ
;
22277 PyObject
*swig_obj
[1] ;
22281 if (!args
) SWIG_fail
;
22282 swig_obj
[0] = args
;
22283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22284 if (!SWIG_IsOK(res1
)) {
22285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= SWIG_Py_Void();
22295 if (SWIG_IsTmpObj(res2
)) {
22296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22298 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22301 if (SWIG_IsTmpObj(res3
)) {
22302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22304 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22313 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
= 0;
22315 wxDC
*arg1
= (wxDC
*) 0 ;
22324 PyObject
* obj0
= 0 ;
22325 PyObject
* obj1
= 0 ;
22326 PyObject
* obj2
= 0 ;
22327 char * kwnames
[] = {
22328 (char *) "self",(char *) "x",(char *) "y", NULL
22331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22333 if (!SWIG_IsOK(res1
)) {
22334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22338 if (!SWIG_IsOK(ecode2
)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22341 arg2
= static_cast< int >(val2
);
22342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22343 if (!SWIG_IsOK(ecode3
)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22346 arg3
= static_cast< int >(val3
);
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_Py_Void();
22360 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
= 0;
22362 wxDC
*arg1
= (wxDC
*) 0 ;
22363 wxPoint
*arg2
= 0 ;
22367 PyObject
* obj0
= 0 ;
22368 PyObject
* obj1
= 0 ;
22369 char * kwnames
[] = {
22370 (char *) "self",(char *) "point", NULL
22373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22375 if (!SWIG_IsOK(res1
)) {
22376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= SWIG_Py_Void();
22396 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22397 PyObject
*resultobj
= 0;
22398 wxDC
*arg1
= (wxDC
*) 0 ;
22402 PyObject
*swig_obj
[1] ;
22404 if (!args
) SWIG_fail
;
22405 swig_obj
[0] = args
;
22406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22407 if (!SWIG_IsOK(res1
)) {
22408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22424 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22425 PyObject
*resultobj
= 0;
22426 wxDC
*arg1
= (wxDC
*) 0 ;
22427 int *arg2
= (int *) 0 ;
22428 int *arg3
= (int *) 0 ;
22432 int res2
= SWIG_TMPOBJ
;
22434 int res3
= SWIG_TMPOBJ
;
22435 PyObject
*swig_obj
[1] ;
22439 if (!args
) SWIG_fail
;
22440 swig_obj
[0] = args
;
22441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22442 if (!SWIG_IsOK(res1
)) {
22443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 resultobj
= SWIG_Py_Void();
22453 if (SWIG_IsTmpObj(res2
)) {
22454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22456 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22457 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22459 if (SWIG_IsTmpObj(res3
)) {
22460 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22462 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22471 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
= 0;
22473 wxDC
*arg1
= (wxDC
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 PyObject
* obj1
= 0 ;
22484 PyObject
* obj2
= 0 ;
22485 char * kwnames
[] = {
22486 (char *) "self",(char *) "x",(char *) "y", NULL
22489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22491 if (!SWIG_IsOK(res1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22496 if (!SWIG_IsOK(ecode2
)) {
22497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22499 arg2
= static_cast< int >(val2
);
22500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22501 if (!SWIG_IsOK(ecode3
)) {
22502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22504 arg3
= static_cast< int >(val3
);
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_Py_Void();
22518 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
= 0;
22520 wxDC
*arg1
= (wxDC
*) 0 ;
22521 wxPoint
*arg2
= 0 ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char * kwnames
[] = {
22528 (char *) "self",(char *) "point", NULL
22531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22539 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_Py_Void();
22554 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
= 0;
22556 wxDC
*arg1
= (wxDC
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 PyObject
* obj1
= 0 ;
22567 PyObject
* obj2
= 0 ;
22568 char * kwnames
[] = {
22569 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22574 if (!SWIG_IsOK(res1
)) {
22575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22578 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22579 if (!SWIG_IsOK(ecode2
)) {
22580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22582 arg2
= static_cast< bool >(val2
);
22583 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22584 if (!SWIG_IsOK(ecode3
)) {
22585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22587 arg3
= static_cast< bool >(val3
);
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= SWIG_Py_Void();
22601 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22602 PyObject
*resultobj
= 0;
22603 wxDC
*arg1
= (wxDC
*) 0 ;
22607 PyObject
*swig_obj
[1] ;
22609 if (!args
) SWIG_fail
;
22610 swig_obj
[0] = args
;
22611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22612 if (!SWIG_IsOK(res1
)) {
22613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= SWIG_From_int(static_cast< int >(result
));
22629 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
= 0;
22631 wxDC
*arg1
= (wxDC
*) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 char * kwnames
[] = {
22640 (char *) "self",(char *) "function", NULL
22643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22645 if (!SWIG_IsOK(res1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22648 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22650 if (!SWIG_IsOK(ecode2
)) {
22651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22653 arg2
= static_cast< int >(val2
);
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 (arg1
)->SetLogicalFunction(arg2
);
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 resultobj
= SWIG_Py_Void();
22667 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22668 PyObject
*resultobj
= 0;
22669 wxDC
*arg1
= (wxDC
*) 0 ;
22672 PyObject
*swig_obj
[1] ;
22674 if (!args
) SWIG_fail
;
22675 swig_obj
[0] = args
;
22676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22677 if (!SWIG_IsOK(res1
)) {
22678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->ComputeScaleAndOrigin();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_Py_Void();
22694 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
= 0;
22696 wxDC
*arg1
= (wxDC
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 PyObject
* obj2
= 0 ;
22708 char * kwnames
[] = {
22709 (char *) "self",(char *) "x",(char *) "y", NULL
22712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22714 if (!SWIG_IsOK(res1
)) {
22715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22719 if (!SWIG_IsOK(ecode2
)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22722 arg2
= static_cast< int >(val2
);
22723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22724 if (!SWIG_IsOK(ecode3
)) {
22725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22727 arg3
= static_cast< int >(val3
);
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= SWIG_Py_Void();
22741 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
= 0;
22743 wxDC
*arg1
= (wxDC
*) 0 ;
22744 wxPoint
*arg2
= 0 ;
22748 PyObject
* obj0
= 0 ;
22749 PyObject
* obj1
= 0 ;
22750 char * kwnames
[] = {
22751 (char *) "self",(char *) "point", NULL
22754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22756 if (!SWIG_IsOK(res1
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 resultobj
= SWIG_Py_Void();
22777 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22778 PyObject
*resultobj
= 0;
22779 wxDC
*arg1
= (wxDC
*) 0 ;
22782 PyObject
*swig_obj
[1] ;
22784 if (!args
) SWIG_fail
;
22785 swig_obj
[0] = args
;
22786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22787 if (!SWIG_IsOK(res1
)) {
22788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 (arg1
)->ResetBoundingBox();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_Py_Void();
22804 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22805 PyObject
*resultobj
= 0;
22806 wxDC
*arg1
= (wxDC
*) 0 ;
22810 PyObject
*swig_obj
[1] ;
22812 if (!args
) SWIG_fail
;
22813 swig_obj
[0] = args
;
22814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22815 if (!SWIG_IsOK(res1
)) {
22816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 result
= (int)((wxDC
const *)arg1
)->MinX();
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_From_int(static_cast< int >(result
));
22832 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22833 PyObject
*resultobj
= 0;
22834 wxDC
*arg1
= (wxDC
*) 0 ;
22838 PyObject
*swig_obj
[1] ;
22840 if (!args
) SWIG_fail
;
22841 swig_obj
[0] = args
;
22842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22843 if (!SWIG_IsOK(res1
)) {
22844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (int)((wxDC
const *)arg1
)->MaxX();
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_From_int(static_cast< int >(result
));
22860 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22861 PyObject
*resultobj
= 0;
22862 wxDC
*arg1
= (wxDC
*) 0 ;
22866 PyObject
*swig_obj
[1] ;
22868 if (!args
) SWIG_fail
;
22869 swig_obj
[0] = args
;
22870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22871 if (!SWIG_IsOK(res1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (int)((wxDC
const *)arg1
)->MinY();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= SWIG_From_int(static_cast< int >(result
));
22888 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22889 PyObject
*resultobj
= 0;
22890 wxDC
*arg1
= (wxDC
*) 0 ;
22894 PyObject
*swig_obj
[1] ;
22896 if (!args
) SWIG_fail
;
22897 swig_obj
[0] = args
;
22898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22899 if (!SWIG_IsOK(res1
)) {
22900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 result
= (int)((wxDC
const *)arg1
)->MaxY();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_From_int(static_cast< int >(result
));
22916 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22917 PyObject
*resultobj
= 0;
22918 wxDC
*arg1
= (wxDC
*) 0 ;
22919 int *arg2
= (int *) 0 ;
22920 int *arg3
= (int *) 0 ;
22921 int *arg4
= (int *) 0 ;
22922 int *arg5
= (int *) 0 ;
22926 int res2
= SWIG_TMPOBJ
;
22928 int res3
= SWIG_TMPOBJ
;
22930 int res4
= SWIG_TMPOBJ
;
22932 int res5
= SWIG_TMPOBJ
;
22933 PyObject
*swig_obj
[1] ;
22939 if (!args
) SWIG_fail
;
22940 swig_obj
[0] = args
;
22941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22942 if (!SWIG_IsOK(res1
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_Py_Void();
22953 if (SWIG_IsTmpObj(res2
)) {
22954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22956 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22959 if (SWIG_IsTmpObj(res3
)) {
22960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22962 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22965 if (SWIG_IsTmpObj(res4
)) {
22966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22968 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22971 if (SWIG_IsTmpObj(res5
)) {
22972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22974 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22983 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22984 PyObject
*resultobj
= 0;
22985 wxDC
*arg1
= (wxDC
*) 0 ;
22986 wxLayoutDirection result
;
22989 PyObject
*swig_obj
[1] ;
22991 if (!args
) SWIG_fail
;
22992 swig_obj
[0] = args
;
22993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22994 if (!SWIG_IsOK(res1
)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_From_int(static_cast< int >(result
));
23011 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
= 0;
23013 wxDC
*arg1
= (wxDC
*) 0 ;
23014 wxLayoutDirection arg2
;
23019 PyObject
* obj0
= 0 ;
23020 PyObject
* obj1
= 0 ;
23021 char * kwnames
[] = {
23022 (char *) "self",(char *) "dir", NULL
23025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23027 if (!SWIG_IsOK(res1
)) {
23028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23032 if (!SWIG_IsOK(ecode2
)) {
23033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23035 arg2
= static_cast< wxLayoutDirection
>(val2
);
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 (arg1
)->SetLayoutDirection(arg2
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_Py_Void();
23049 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
= 0;
23051 wxDC
*arg1
= (wxDC
*) 0 ;
23052 PyObject
*arg2
= (PyObject
*) 0 ;
23053 PyObject
*arg3
= (PyObject
*) 0 ;
23054 PyObject
*arg4
= (PyObject
*) 0 ;
23055 PyObject
*result
= 0 ;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 PyObject
* obj2
= 0 ;
23061 PyObject
* obj3
= 0 ;
23062 char * kwnames
[] = {
23063 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= result
;
23088 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
= 0;
23090 wxDC
*arg1
= (wxDC
*) 0 ;
23091 PyObject
*arg2
= (PyObject
*) 0 ;
23092 PyObject
*arg3
= (PyObject
*) 0 ;
23093 PyObject
*arg4
= (PyObject
*) 0 ;
23094 PyObject
*result
= 0 ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 PyObject
* obj2
= 0 ;
23100 PyObject
* obj3
= 0 ;
23101 char * kwnames
[] = {
23102 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23107 if (!SWIG_IsOK(res1
)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= result
;
23127 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
= 0;
23129 wxDC
*arg1
= (wxDC
*) 0 ;
23130 PyObject
*arg2
= (PyObject
*) 0 ;
23131 PyObject
*arg3
= (PyObject
*) 0 ;
23132 PyObject
*arg4
= (PyObject
*) 0 ;
23133 PyObject
*result
= 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 PyObject
* obj2
= 0 ;
23139 PyObject
* obj3
= 0 ;
23140 char * kwnames
[] = {
23141 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23146 if (!SWIG_IsOK(res1
)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= result
;
23166 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
= 0;
23168 wxDC
*arg1
= (wxDC
*) 0 ;
23169 PyObject
*arg2
= (PyObject
*) 0 ;
23170 PyObject
*arg3
= (PyObject
*) 0 ;
23171 PyObject
*arg4
= (PyObject
*) 0 ;
23172 PyObject
*result
= 0 ;
23175 PyObject
* obj0
= 0 ;
23176 PyObject
* obj1
= 0 ;
23177 PyObject
* obj2
= 0 ;
23178 PyObject
* obj3
= 0 ;
23179 char * kwnames
[] = {
23180 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23185 if (!SWIG_IsOK(res1
)) {
23186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23198 resultobj
= result
;
23205 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
= 0;
23207 wxDC
*arg1
= (wxDC
*) 0 ;
23208 PyObject
*arg2
= (PyObject
*) 0 ;
23209 PyObject
*arg3
= (PyObject
*) 0 ;
23210 PyObject
*arg4
= (PyObject
*) 0 ;
23211 PyObject
*result
= 0 ;
23214 PyObject
* obj0
= 0 ;
23215 PyObject
* obj1
= 0 ;
23216 PyObject
* obj2
= 0 ;
23217 PyObject
* obj3
= 0 ;
23218 char * kwnames
[] = {
23219 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23224 if (!SWIG_IsOK(res1
)) {
23225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 resultobj
= result
;
23244 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
= 0;
23246 wxDC
*arg1
= (wxDC
*) 0 ;
23247 PyObject
*arg2
= (PyObject
*) 0 ;
23248 PyObject
*arg3
= (PyObject
*) 0 ;
23249 PyObject
*arg4
= (PyObject
*) 0 ;
23250 PyObject
*arg5
= (PyObject
*) 0 ;
23251 PyObject
*result
= 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 PyObject
* obj2
= 0 ;
23257 PyObject
* obj3
= 0 ;
23258 PyObject
* obj4
= 0 ;
23259 char * kwnames
[] = {
23260 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23265 if (!SWIG_IsOK(res1
)) {
23266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= result
;
23286 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23289 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23290 return SWIG_Py_Void();
23293 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23294 PyObject
*resultobj
= 0;
23296 wxColour
*arg2
= 0 ;
23297 wxDCTextColourChanger
*result
= 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char * kwnames
[] = {
23304 (char *) "dc",(char *) "col", NULL
23307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23308 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23309 if (!SWIG_IsOK(res1
)) {
23310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23318 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23333 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23334 PyObject
*resultobj
= 0;
23335 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23338 PyObject
*swig_obj
[1] ;
23340 if (!args
) SWIG_fail
;
23341 swig_obj
[0] = args
;
23342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23343 if (!SWIG_IsOK(res1
)) {
23344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23346 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= SWIG_Py_Void();
23361 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23364 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23365 return SWIG_Py_Void();
23368 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23369 return SWIG_Python_InitShadowInstance(args
);
23372 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23373 PyObject
*resultobj
= 0;
23376 wxDCPenChanger
*result
= 0 ;
23381 PyObject
* obj0
= 0 ;
23382 PyObject
* obj1
= 0 ;
23383 char * kwnames
[] = {
23384 (char *) "dc",(char *) "pen", NULL
23387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23388 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23389 if (!SWIG_IsOK(res1
)) {
23390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23397 if (!SWIG_IsOK(res2
)) {
23398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23403 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23417 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23418 PyObject
*resultobj
= 0;
23419 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23422 PyObject
*swig_obj
[1] ;
23424 if (!args
) SWIG_fail
;
23425 swig_obj
[0] = args
;
23426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23427 if (!SWIG_IsOK(res1
)) {
23428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23430 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= SWIG_Py_Void();
23445 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23448 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23449 return SWIG_Py_Void();
23452 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23453 return SWIG_Python_InitShadowInstance(args
);
23456 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
= 0;
23459 wxBrush
*arg2
= 0 ;
23460 wxDCBrushChanger
*result
= 0 ;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 char * kwnames
[] = {
23468 (char *) "dc",(char *) "brush", NULL
23471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23472 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23473 if (!SWIG_IsOK(res1
)) {
23474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23480 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23481 if (!SWIG_IsOK(res2
)) {
23482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23487 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23501 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23502 PyObject
*resultobj
= 0;
23503 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23506 PyObject
*swig_obj
[1] ;
23508 if (!args
) SWIG_fail
;
23509 swig_obj
[0] = args
;
23510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23511 if (!SWIG_IsOK(res1
)) {
23512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23514 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_Py_Void();
23529 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23532 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23533 return SWIG_Py_Void();
23536 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23537 return SWIG_Python_InitShadowInstance(args
);
23540 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23541 PyObject
*resultobj
= 0;
23543 wxRegion
*arg2
= 0 ;
23544 wxDCClipper
*result
= 0 ;
23550 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23559 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23560 if (!SWIG_IsOK(res2
)) {
23561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23566 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23580 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23581 PyObject
*resultobj
= 0;
23584 wxDCClipper
*result
= 0 ;
23589 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23591 if (!SWIG_IsOK(res1
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23600 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23615 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23616 PyObject
*resultobj
= 0;
23622 wxDCClipper
*result
= 0 ;
23634 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23643 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23644 if (!SWIG_IsOK(ecode2
)) {
23645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23647 arg2
= static_cast< int >(val2
);
23648 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23649 if (!SWIG_IsOK(ecode3
)) {
23650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23652 arg3
= static_cast< int >(val3
);
23653 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23654 if (!SWIG_IsOK(ecode4
)) {
23655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23657 arg4
= static_cast< int >(val4
);
23658 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23659 if (!SWIG_IsOK(ecode5
)) {
23660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23662 arg5
= static_cast< int >(val5
);
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23676 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23680 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23685 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23686 _v
= SWIG_CheckState(res
);
23688 if (!_v
) goto check_1
;
23689 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23694 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23697 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23701 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23706 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23707 PyObject
*resultobj
= 0;
23708 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23711 PyObject
*swig_obj
[1] ;
23713 if (!args
) SWIG_fail
;
23714 swig_obj
[0] = args
;
23715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23719 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_Py_Void();
23734 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23737 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23738 return SWIG_Py_Void();
23741 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23742 return SWIG_Python_InitShadowInstance(args
);
23745 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
= 0;
23747 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23748 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23749 wxMemoryDC
*result
= 0 ;
23752 PyObject
* obj0
= 0 ;
23753 char * kwnames
[] = {
23754 (char *) "bitmap", NULL
23757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23759 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23760 if (!SWIG_IsOK(res1
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23766 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23769 if (!wxPyCheckForApp()) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23782 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
= 0;
23784 wxDC
*arg1
= (wxDC
*) 0 ;
23785 wxMemoryDC
*result
= 0 ;
23788 PyObject
* obj0
= 0 ;
23789 char * kwnames
[] = {
23790 (char *) "oldDC", NULL
23793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23795 if (!SWIG_IsOK(res1
)) {
23796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23800 if (!wxPyCheckForApp()) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23813 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
= 0;
23815 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23816 wxBitmap
*arg2
= 0 ;
23821 PyObject
* obj0
= 0 ;
23822 PyObject
* obj1
= 0 ;
23823 char * kwnames
[] = {
23824 (char *) "self",(char *) "bitmap", NULL
23827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23832 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23834 if (!SWIG_IsOK(res2
)) {
23835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23840 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_Py_Void();
23854 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23857 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23858 return SWIG_Py_Void();
23861 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23862 return SWIG_Python_InitShadowInstance(args
);
23865 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23866 PyObject
*resultobj
= 0;
23867 wxScreenDC
*result
= 0 ;
23869 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23871 if (!wxPyCheckForApp()) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (wxScreenDC
*)new wxScreenDC();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23884 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
= 0;
23886 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23887 wxWindow
*arg2
= (wxWindow
*) 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 char * kwnames
[] = {
23896 (char *) "self",(char *) "window", NULL
23899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23904 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23906 if (!SWIG_IsOK(res2
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23925 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
= 0;
23927 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23928 wxRect
*arg2
= (wxRect
*) NULL
;
23934 PyObject
* obj0
= 0 ;
23935 PyObject
* obj1
= 0 ;
23936 char * kwnames
[] = {
23937 (char *) "self",(char *) "rect", NULL
23940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23942 if (!SWIG_IsOK(res1
)) {
23943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23945 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23948 if (!SWIG_IsOK(res2
)) {
23949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23951 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23968 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23969 PyObject
*resultobj
= 0;
23970 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23974 PyObject
*swig_obj
[1] ;
23976 if (!args
) SWIG_fail
;
23977 swig_obj
[0] = args
;
23978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23979 if (!SWIG_IsOK(res1
)) {
23980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23982 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= (bool)(arg1
)->EndDrawingOnTop();
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23998 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24001 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24002 return SWIG_Py_Void();
24005 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24006 return SWIG_Python_InitShadowInstance(args
);
24009 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
= 0;
24011 wxWindow
*arg1
= (wxWindow
*) 0 ;
24012 wxWindowDC
*result
= 0 ;
24015 PyObject
* obj0
= 0 ;
24016 char * kwnames
[] = {
24017 (char *) "win", NULL
24020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24022 if (!SWIG_IsOK(res1
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24025 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24027 if (!wxPyCheckForApp()) SWIG_fail
;
24028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24029 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24040 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24043 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24044 return SWIG_Py_Void();
24047 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 return SWIG_Python_InitShadowInstance(args
);
24051 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
= 0;
24053 wxWindow
*arg1
= (wxWindow
*) 0 ;
24054 wxClientDC
*result
= 0 ;
24057 PyObject
* obj0
= 0 ;
24058 char * kwnames
[] = {
24059 (char *) "win", NULL
24062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24064 if (!SWIG_IsOK(res1
)) {
24065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24067 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24069 if (!wxPyCheckForApp()) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (wxClientDC
*)new wxClientDC(arg1
);
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24082 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24085 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24086 return SWIG_Py_Void();
24089 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24090 return SWIG_Python_InitShadowInstance(args
);
24093 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxWindow
*arg1
= (wxWindow
*) 0 ;
24096 wxPaintDC
*result
= 0 ;
24099 PyObject
* obj0
= 0 ;
24100 char * kwnames
[] = {
24101 (char *) "win", NULL
24104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24106 if (!SWIG_IsOK(res1
)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24109 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24111 if (!wxPyCheckForApp()) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24124 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24128 return SWIG_Py_Void();
24131 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24132 return SWIG_Python_InitShadowInstance(args
);
24135 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24136 PyObject
*resultobj
= 0;
24137 wxDC
*arg1
= (wxDC
*) 0 ;
24138 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24139 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24140 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24141 wxBufferedDC
*result
= 0 ;
24149 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24151 if (!SWIG_IsOK(res1
)) {
24152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24156 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24157 if (!SWIG_IsOK(res2
)) {
24158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24163 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24166 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24167 if (!SWIG_IsOK(ecode3
)) {
24168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24170 arg3
= static_cast< int >(val3
);
24173 if (!wxPyCheckForApp()) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24186 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24187 PyObject
*resultobj
= 0;
24188 wxDC
*arg1
= (wxDC
*) 0 ;
24190 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24191 wxBufferedDC
*result
= 0 ;
24198 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24200 if (!SWIG_IsOK(res1
)) {
24201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24206 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24209 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24210 if (!SWIG_IsOK(ecode3
)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24213 arg3
= static_cast< int >(val3
);
24216 if (!wxPyCheckForApp()) SWIG_fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24229 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24233 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24235 if ((argc
>= 1) && (argc
<= 3)) {
24239 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24240 _v
= SWIG_CheckState(res
);
24242 if (!_v
) goto check_1
;
24244 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24248 if ((argc
>= 2) && (argc
<= 3)) {
24249 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24253 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24258 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24259 PyObject
*resultobj
= 0;
24260 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24263 PyObject
*swig_obj
[1] ;
24265 if (!args
) SWIG_fail
;
24266 swig_obj
[0] = args
;
24267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24271 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_Py_Void();
24286 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24287 PyObject
*resultobj
= 0;
24288 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24291 PyObject
*swig_obj
[1] ;
24293 if (!args
) SWIG_fail
;
24294 swig_obj
[0] = args
;
24295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24296 if (!SWIG_IsOK(res1
)) {
24297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24299 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= SWIG_Py_Void();
24313 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24316 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24317 return SWIG_Py_Void();
24320 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24321 return SWIG_Python_InitShadowInstance(args
);
24324 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= 0;
24326 wxWindow
*arg1
= (wxWindow
*) 0 ;
24327 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24328 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24329 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24330 wxBufferedPaintDC
*result
= 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 PyObject
* obj2
= 0 ;
24340 char * kwnames
[] = {
24341 (char *) "window",(char *) "buffer",(char *) "style", NULL
24344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24346 if (!SWIG_IsOK(res1
)) {
24347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24349 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24352 if (!SWIG_IsOK(res2
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24358 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24362 if (!SWIG_IsOK(ecode3
)) {
24363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24365 arg3
= static_cast< int >(val3
);
24368 if (!wxPyCheckForApp()) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24381 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24384 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24385 return SWIG_Py_Void();
24388 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24389 return SWIG_Python_InitShadowInstance(args
);
24392 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= 0;
24394 wxWindow
*arg1
= (wxWindow
*) 0 ;
24395 wxAutoBufferedPaintDC
*result
= 0 ;
24398 PyObject
* obj0
= 0 ;
24399 char * kwnames
[] = {
24400 (char *) "win", NULL
24403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24405 if (!SWIG_IsOK(res1
)) {
24406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24422 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24425 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24426 return SWIG_Py_Void();
24429 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24430 return SWIG_Python_InitShadowInstance(args
);
24433 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
= 0;
24435 wxWindow
*arg1
= (wxWindow
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 char * kwnames
[] = {
24441 (char *) "window", NULL
24444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24446 if (!SWIG_IsOK(res1
)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24452 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24465 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
= 0;
24469 wxMirrorDC
*result
= 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 char * kwnames
[] = {
24477 (char *) "dc",(char *) "mirror", NULL
24480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24481 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24482 if (!SWIG_IsOK(res1
)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24489 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24490 if (!SWIG_IsOK(ecode2
)) {
24491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24493 arg2
= static_cast< bool >(val2
);
24495 if (!wxPyCheckForApp()) SWIG_fail
;
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24508 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24511 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24512 return SWIG_Py_Void();
24515 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24516 return SWIG_Python_InitShadowInstance(args
);
24519 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
= 0;
24521 wxPrintData
*arg1
= 0 ;
24522 wxPostScriptDC
*result
= 0 ;
24525 PyObject
* obj0
= 0 ;
24526 char * kwnames
[] = {
24527 (char *) "printData", NULL
24530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24531 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24532 if (!SWIG_IsOK(res1
)) {
24533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24538 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24540 if (!wxPyCheckForApp()) SWIG_fail
;
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24553 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24554 PyObject
*resultobj
= 0;
24555 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24556 wxPrintData
*result
= 0 ;
24559 PyObject
*swig_obj
[1] ;
24561 if (!args
) SWIG_fail
;
24562 swig_obj
[0] = args
;
24563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24564 if (!SWIG_IsOK(res1
)) {
24565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24567 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24572 result
= (wxPrintData
*) &_result_ref
;
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24584 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
= 0;
24586 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24587 wxPrintData
*arg2
= 0 ;
24592 PyObject
* obj0
= 0 ;
24593 PyObject
* obj1
= 0 ;
24594 char * kwnames
[] = {
24595 (char *) "self",(char *) "data", NULL
24598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24600 if (!SWIG_IsOK(res1
)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24603 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24605 if (!SWIG_IsOK(res2
)) {
24606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24611 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= SWIG_Py_Void();
24625 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
= 0;
24630 PyObject
* obj0
= 0 ;
24631 char * kwnames
[] = {
24632 (char *) "ppi", NULL
24635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24636 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24637 if (!SWIG_IsOK(ecode1
)) {
24638 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24640 arg1
= static_cast< int >(val1
);
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 wxPostScriptDC::SetResolution(arg1
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_Py_Void();
24654 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24655 PyObject
*resultobj
= 0;
24658 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (int)wxPostScriptDC::GetResolution();
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 resultobj
= SWIG_From_int(static_cast< int >(result
));
24672 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24675 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24676 return SWIG_Py_Void();
24679 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24680 return SWIG_Python_InitShadowInstance(args
);
24683 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= 0;
24685 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24686 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24687 wxMetaFile
*result
= 0 ;
24688 bool temp1
= false ;
24689 PyObject
* obj0
= 0 ;
24690 char * kwnames
[] = {
24691 (char *) "filename", NULL
24694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24697 arg1
= wxString_in_helper(obj0
);
24698 if (arg1
== NULL
) SWIG_fail
;
24703 if (!wxPyCheckForApp()) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24724 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24727 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24728 return SWIG_Py_Void();
24731 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24732 return SWIG_Python_InitShadowInstance(args
);
24735 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
= 0;
24737 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24738 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24739 int arg2
= (int) 0 ;
24740 int arg3
= (int) 0 ;
24741 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24742 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24743 wxMetaFileDC
*result
= 0 ;
24744 bool temp1
= false ;
24749 bool temp4
= false ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 PyObject
* obj2
= 0 ;
24753 PyObject
* obj3
= 0 ;
24754 char * kwnames
[] = {
24755 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24761 arg1
= wxString_in_helper(obj0
);
24762 if (arg1
== NULL
) SWIG_fail
;
24767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24768 if (!SWIG_IsOK(ecode2
)) {
24769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24771 arg2
= static_cast< int >(val2
);
24774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24775 if (!SWIG_IsOK(ecode3
)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24778 arg3
= static_cast< int >(val3
);
24782 arg4
= wxString_in_helper(obj3
);
24783 if (arg4
== NULL
) SWIG_fail
;
24788 if (!wxPyCheckForApp()) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24817 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24820 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24821 return SWIG_Py_Void();
24824 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 return SWIG_Python_InitShadowInstance(args
);
24828 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
= 0;
24830 wxPrintData
*arg1
= 0 ;
24831 wxPrinterDC
*result
= 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char * kwnames
[] = {
24836 (char *) "printData", NULL
24839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24840 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24847 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24849 if (!wxPyCheckForApp()) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24862 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24865 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24866 return SWIG_Py_Void();
24869 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24870 return SWIG_Python_InitShadowInstance(args
);
24873 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
= 0;
24875 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
24876 wxGraphicsObject
*result
= 0 ;
24879 PyObject
* obj0
= 0 ;
24880 char * kwnames
[] = {
24881 (char *) "renderer", NULL
24884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
24886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
24890 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
24893 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
24903 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24904 PyObject
*resultobj
= 0;
24905 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
24908 PyObject
*swig_obj
[1] ;
24910 if (!args
) SWIG_fail
;
24911 swig_obj
[0] = args
;
24912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
24913 if (!SWIG_IsOK(res1
)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
24916 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_Py_Void();
24929 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24930 PyObject
*resultobj
= 0;
24931 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
24935 PyObject
*swig_obj
[1] ;
24937 if (!args
) SWIG_fail
;
24938 swig_obj
[0] = args
;
24939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
24940 if (!SWIG_IsOK(res1
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
24943 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
24945 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
24946 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24957 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24958 PyObject
*resultobj
= 0;
24959 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
24960 wxGraphicsRenderer
*result
= 0 ;
24963 PyObject
*swig_obj
[1] ;
24965 if (!args
) SWIG_fail
;
24966 swig_obj
[0] = args
;
24967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
24968 if (!SWIG_IsOK(res1
)) {
24969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
24971 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
24973 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
24983 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24986 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
24987 return SWIG_Py_Void();
24990 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24991 return SWIG_Python_InitShadowInstance(args
);
24994 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24995 PyObject
*resultobj
= 0;
24996 wxGraphicsPen
*result
= 0 ;
24998 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25000 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25010 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25011 PyObject
*resultobj
= 0;
25012 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25015 PyObject
*swig_obj
[1] ;
25017 if (!args
) SWIG_fail
;
25018 swig_obj
[0] = args
;
25019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25020 if (!SWIG_IsOK(res1
)) {
25021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25023 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_Py_Void();
25036 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25039 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25040 return SWIG_Py_Void();
25043 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25044 return SWIG_Python_InitShadowInstance(args
);
25047 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25048 PyObject
*resultobj
= 0;
25049 wxGraphicsBrush
*result
= 0 ;
25051 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25053 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25063 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25064 PyObject
*resultobj
= 0;
25065 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25068 PyObject
*swig_obj
[1] ;
25070 if (!args
) SWIG_fail
;
25071 swig_obj
[0] = args
;
25072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25073 if (!SWIG_IsOK(res1
)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25076 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_Py_Void();
25089 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25092 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25093 return SWIG_Py_Void();
25096 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25097 return SWIG_Python_InitShadowInstance(args
);
25100 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25101 PyObject
*resultobj
= 0;
25102 wxGraphicsFont
*result
= 0 ;
25104 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25106 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25116 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25117 PyObject
*resultobj
= 0;
25118 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25121 PyObject
*swig_obj
[1] ;
25123 if (!args
) SWIG_fail
;
25124 swig_obj
[0] = args
;
25125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25129 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_Py_Void();
25142 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25145 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25146 return SWIG_Py_Void();
25149 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25150 return SWIG_Python_InitShadowInstance(args
);
25153 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
25154 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
25159 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
25160 PyObject
*pyobj
= 0;
25162 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
25167 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
25168 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
25173 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
25174 PyObject
*pyobj
= 0;
25176 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
25181 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
25182 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
25187 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
25188 PyObject
*pyobj
= 0;
25190 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
25195 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25196 PyObject
*resultobj
= 0;
25197 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25200 PyObject
*swig_obj
[1] ;
25202 if (!args
) SWIG_fail
;
25203 swig_obj
[0] = args
;
25204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25205 if (!SWIG_IsOK(res1
)) {
25206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25208 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25214 resultobj
= SWIG_Py_Void();
25221 SWIGINTERN PyObject
*_wrap_GraphicsPath_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25222 PyObject
*resultobj
= 0;
25223 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25224 wxGraphicsPath
*result
= 0 ;
25227 PyObject
*swig_obj
[1] ;
25229 if (!args
) SWIG_fail
;
25230 swig_obj
[0] = args
;
25231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25232 if (!SWIG_IsOK(res1
)) {
25233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Clone" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
25235 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25237 result
= (wxGraphicsPath
*)((wxGraphicsPath
const *)arg1
)->Clone();
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25247 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25248 PyObject
*resultobj
= 0;
25249 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25259 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
25260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25261 if (!SWIG_IsOK(res1
)) {
25262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25264 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25265 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
25266 if (!SWIG_IsOK(ecode2
)) {
25267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25269 arg2
= static_cast< wxDouble
>(val2
);
25270 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25271 if (!SWIG_IsOK(ecode3
)) {
25272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25274 arg3
= static_cast< wxDouble
>(val3
);
25276 (arg1
)->MoveToPoint(arg2
,arg3
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= SWIG_Py_Void();
25286 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25287 PyObject
*resultobj
= 0;
25288 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25289 wxPoint2D
*arg2
= 0 ;
25294 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
25295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25296 if (!SWIG_IsOK(res1
)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25299 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25302 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25305 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= SWIG_Py_Void();
25315 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
25319 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
25322 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
25325 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
25329 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
25334 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25335 PyObject
*resultobj
= 0;
25336 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25346 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
25347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25348 if (!SWIG_IsOK(res1
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25351 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25352 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
25353 if (!SWIG_IsOK(ecode2
)) {
25354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25356 arg2
= static_cast< wxDouble
>(val2
);
25357 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25358 if (!SWIG_IsOK(ecode3
)) {
25359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25361 arg3
= static_cast< wxDouble
>(val3
);
25363 (arg1
)->AddLineToPoint(arg2
,arg3
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= SWIG_Py_Void();
25373 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25374 PyObject
*resultobj
= 0;
25375 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25376 wxPoint2D
*arg2
= 0 ;
25381 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
25382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25383 if (!SWIG_IsOK(res1
)) {
25384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25386 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25389 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25392 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_Py_Void();
25402 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
25406 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
25409 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
25412 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
25416 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
25421 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25422 PyObject
*resultobj
= 0;
25423 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25445 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
25446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25447 if (!SWIG_IsOK(res1
)) {
25448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25450 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25451 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
25452 if (!SWIG_IsOK(ecode2
)) {
25453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25455 arg2
= static_cast< wxDouble
>(val2
);
25456 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25457 if (!SWIG_IsOK(ecode3
)) {
25458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25460 arg3
= static_cast< wxDouble
>(val3
);
25461 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
25462 if (!SWIG_IsOK(ecode4
)) {
25463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25465 arg4
= static_cast< wxDouble
>(val4
);
25466 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
25467 if (!SWIG_IsOK(ecode5
)) {
25468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25470 arg5
= static_cast< wxDouble
>(val5
);
25471 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
25472 if (!SWIG_IsOK(ecode6
)) {
25473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25475 arg6
= static_cast< wxDouble
>(val6
);
25476 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
25477 if (!SWIG_IsOK(ecode7
)) {
25478 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25480 arg7
= static_cast< wxDouble
>(val7
);
25482 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_Py_Void();
25492 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25493 PyObject
*resultobj
= 0;
25494 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25495 wxPoint2D
*arg2
= 0 ;
25496 wxPoint2D
*arg3
= 0 ;
25497 wxPoint2D
*arg4
= 0 ;
25504 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
25505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25509 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25512 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25516 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
25520 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
25523 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= SWIG_Py_Void();
25533 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
25537 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
25540 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
25543 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
25547 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
25552 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
= 0;
25554 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25555 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25560 PyObject
* obj0
= 0 ;
25561 PyObject
* obj1
= 0 ;
25562 char * kwnames
[] = {
25563 (char *) "self",(char *) "path", NULL
25566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25571 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25573 if (!SWIG_IsOK(res2
)) {
25574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25576 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25578 (arg1
)->AddPath((wxGraphicsPath
const *)arg2
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_Py_Void();
25588 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25589 PyObject
*resultobj
= 0;
25590 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25593 PyObject
*swig_obj
[1] ;
25595 if (!args
) SWIG_fail
;
25596 swig_obj
[0] = args
;
25597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25598 if (!SWIG_IsOK(res1
)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25601 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25603 (arg1
)->CloseSubpath();
25604 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= SWIG_Py_Void();
25613 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25614 PyObject
*resultobj
= 0;
25615 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25619 PyObject
*swig_obj
[1] ;
25621 if (!args
) SWIG_fail
;
25622 swig_obj
[0] = args
;
25623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25624 if (!SWIG_IsOK(res1
)) {
25625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25627 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25629 result
= (arg1
)->GetCurrentPoint();
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25639 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25640 PyObject
*resultobj
= 0;
25641 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25663 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
25664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25665 if (!SWIG_IsOK(res1
)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25668 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25669 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
25670 if (!SWIG_IsOK(ecode2
)) {
25671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25673 arg2
= static_cast< wxDouble
>(val2
);
25674 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25675 if (!SWIG_IsOK(ecode3
)) {
25676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25678 arg3
= static_cast< wxDouble
>(val3
);
25679 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
25680 if (!SWIG_IsOK(ecode4
)) {
25681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25683 arg4
= static_cast< wxDouble
>(val4
);
25684 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
25685 if (!SWIG_IsOK(ecode5
)) {
25686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25688 arg5
= static_cast< wxDouble
>(val5
);
25689 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
25690 if (!SWIG_IsOK(ecode6
)) {
25691 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25693 arg6
= static_cast< wxDouble
>(val6
);
25694 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
25695 if (!SWIG_IsOK(ecode7
)) {
25696 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25698 arg7
= static_cast< bool >(val7
);
25700 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= SWIG_Py_Void();
25710 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25711 PyObject
*resultobj
= 0;
25712 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25713 wxPoint2D
*arg2
= 0 ;
25730 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
25731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25732 if (!SWIG_IsOK(res1
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25735 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25738 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25740 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25741 if (!SWIG_IsOK(ecode3
)) {
25742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25744 arg3
= static_cast< wxDouble
>(val3
);
25745 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
25746 if (!SWIG_IsOK(ecode4
)) {
25747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25749 arg4
= static_cast< wxDouble
>(val4
);
25750 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
25751 if (!SWIG_IsOK(ecode5
)) {
25752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25754 arg5
= static_cast< wxDouble
>(val5
);
25755 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
25756 if (!SWIG_IsOK(ecode6
)) {
25757 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
25759 arg6
= static_cast< bool >(val6
);
25761 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_Py_Void();
25771 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
25775 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
25778 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
25781 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
25785 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
25790 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
= 0;
25792 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 PyObject
* obj2
= 0 ;
25810 PyObject
* obj3
= 0 ;
25811 PyObject
* obj4
= 0 ;
25812 char * kwnames
[] = {
25813 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25818 if (!SWIG_IsOK(res1
)) {
25819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25821 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25822 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25823 if (!SWIG_IsOK(ecode2
)) {
25824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25826 arg2
= static_cast< wxDouble
>(val2
);
25827 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25828 if (!SWIG_IsOK(ecode3
)) {
25829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25831 arg3
= static_cast< wxDouble
>(val3
);
25832 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25833 if (!SWIG_IsOK(ecode4
)) {
25834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25836 arg4
= static_cast< wxDouble
>(val4
);
25837 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25838 if (!SWIG_IsOK(ecode5
)) {
25839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25841 arg5
= static_cast< wxDouble
>(val5
);
25843 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= SWIG_Py_Void();
25853 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
= 0;
25855 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 PyObject
* obj2
= 0 ;
25873 PyObject
* obj3
= 0 ;
25874 PyObject
* obj4
= 0 ;
25875 char * kwnames
[] = {
25876 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25881 if (!SWIG_IsOK(res1
)) {
25882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25884 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25885 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25886 if (!SWIG_IsOK(ecode2
)) {
25887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25889 arg2
= static_cast< wxDouble
>(val2
);
25890 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25891 if (!SWIG_IsOK(ecode3
)) {
25892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25894 arg3
= static_cast< wxDouble
>(val3
);
25895 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25896 if (!SWIG_IsOK(ecode4
)) {
25897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25899 arg4
= static_cast< wxDouble
>(val4
);
25900 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25901 if (!SWIG_IsOK(ecode5
)) {
25902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25904 arg5
= static_cast< wxDouble
>(val5
);
25906 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 resultobj
= SWIG_Py_Void();
25916 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
= 0;
25918 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 PyObject
* obj2
= 0 ;
25933 PyObject
* obj3
= 0 ;
25934 char * kwnames
[] = {
25935 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25940 if (!SWIG_IsOK(res1
)) {
25941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25943 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25944 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25945 if (!SWIG_IsOK(ecode2
)) {
25946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25948 arg2
= static_cast< wxDouble
>(val2
);
25949 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25950 if (!SWIG_IsOK(ecode3
)) {
25951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25953 arg3
= static_cast< wxDouble
>(val3
);
25954 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25955 if (!SWIG_IsOK(ecode4
)) {
25956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25958 arg4
= static_cast< wxDouble
>(val4
);
25960 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_Py_Void();
25970 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
= 0;
25972 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 PyObject
* obj2
= 0 ;
25993 PyObject
* obj3
= 0 ;
25994 PyObject
* obj4
= 0 ;
25995 PyObject
* obj5
= 0 ;
25996 char * kwnames
[] = {
25997 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26002 if (!SWIG_IsOK(res1
)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26005 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26006 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26007 if (!SWIG_IsOK(ecode2
)) {
26008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26010 arg2
= static_cast< wxDouble
>(val2
);
26011 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26012 if (!SWIG_IsOK(ecode3
)) {
26013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26015 arg3
= static_cast< wxDouble
>(val3
);
26016 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26017 if (!SWIG_IsOK(ecode4
)) {
26018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26020 arg4
= static_cast< wxDouble
>(val4
);
26021 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26022 if (!SWIG_IsOK(ecode5
)) {
26023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26025 arg5
= static_cast< wxDouble
>(val5
);
26026 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26027 if (!SWIG_IsOK(ecode6
)) {
26028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26030 arg6
= static_cast< wxDouble
>(val6
);
26032 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_Py_Void();
26042 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
= 0;
26044 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26059 PyObject
* obj0
= 0 ;
26060 PyObject
* obj1
= 0 ;
26061 PyObject
* obj2
= 0 ;
26062 PyObject
* obj3
= 0 ;
26063 PyObject
* obj4
= 0 ;
26064 char * kwnames
[] = {
26065 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26070 if (!SWIG_IsOK(res1
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26073 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26074 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26075 if (!SWIG_IsOK(ecode2
)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26078 arg2
= static_cast< wxDouble
>(val2
);
26079 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26080 if (!SWIG_IsOK(ecode3
)) {
26081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26083 arg3
= static_cast< wxDouble
>(val3
);
26084 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26085 if (!SWIG_IsOK(ecode4
)) {
26086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26088 arg4
= static_cast< wxDouble
>(val4
);
26089 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26090 if (!SWIG_IsOK(ecode5
)) {
26091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26093 arg5
= static_cast< wxDouble
>(val5
);
26095 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_Py_Void();
26105 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
= 0;
26107 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 PyObject
* obj1
= 0 ;
26127 PyObject
* obj2
= 0 ;
26128 PyObject
* obj3
= 0 ;
26129 PyObject
* obj4
= 0 ;
26130 PyObject
* obj5
= 0 ;
26131 char * kwnames
[] = {
26132 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26137 if (!SWIG_IsOK(res1
)) {
26138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26140 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26141 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26142 if (!SWIG_IsOK(ecode2
)) {
26143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26145 arg2
= static_cast< wxDouble
>(val2
);
26146 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26147 if (!SWIG_IsOK(ecode3
)) {
26148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26150 arg3
= static_cast< wxDouble
>(val3
);
26151 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26152 if (!SWIG_IsOK(ecode4
)) {
26153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26155 arg4
= static_cast< wxDouble
>(val4
);
26156 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26157 if (!SWIG_IsOK(ecode5
)) {
26158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26160 arg5
= static_cast< wxDouble
>(val5
);
26161 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26162 if (!SWIG_IsOK(ecode6
)) {
26163 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26165 arg6
= static_cast< wxDouble
>(val6
);
26167 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= SWIG_Py_Void();
26177 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26178 PyObject
*resultobj
= 0;
26179 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26183 PyObject
*swig_obj
[1] ;
26185 if (!args
) SWIG_fail
;
26186 swig_obj
[0] = args
;
26187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26188 if (!SWIG_IsOK(res1
)) {
26189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26191 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26193 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
26194 if (PyErr_Occurred()) SWIG_fail
;
26196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26203 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26204 PyObject
*resultobj
= 0;
26205 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26206 void *arg2
= (void *) 0 ;
26210 PyObject
* obj0
= 0 ;
26211 PyObject
* obj1
= 0 ;
26212 char * kwnames
[] = {
26213 (char *) "self",(char *) "p", NULL
26216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26218 if (!SWIG_IsOK(res1
)) {
26219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26221 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26222 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
26223 if (!SWIG_IsOK(res2
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
26227 (arg1
)->UnGetNativePath(arg2
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= SWIG_Py_Void();
26237 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
= 0;
26239 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26240 wxGraphicsMatrix
*arg2
= (wxGraphicsMatrix
*) 0 ;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 char * kwnames
[] = {
26248 (char *) "self",(char *) "matrix", NULL
26251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26256 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26258 if (!SWIG_IsOK(res2
)) {
26259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix *""'");
26261 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26263 (arg1
)->Transform(arg2
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 resultobj
= SWIG_Py_Void();
26273 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26274 PyObject
*resultobj
= 0;
26275 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26276 wxRect2DDouble result
;
26279 PyObject
*swig_obj
[1] ;
26281 if (!args
) SWIG_fail
;
26282 swig_obj
[0] = args
;
26283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26284 if (!SWIG_IsOK(res1
)) {
26285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26287 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26289 result
= (arg1
)->GetBox();
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
26299 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26300 PyObject
*resultobj
= 0;
26301 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26304 int arg4
= (int) wxWINDING_RULE
;
26315 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
26316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26320 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26321 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26322 if (!SWIG_IsOK(ecode2
)) {
26323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
26325 arg2
= static_cast< wxDouble
>(val2
);
26326 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26327 if (!SWIG_IsOK(ecode3
)) {
26328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
26330 arg3
= static_cast< wxDouble
>(val3
);
26332 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26333 if (!SWIG_IsOK(ecode4
)) {
26334 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
26336 arg4
= static_cast< int >(val4
);
26339 result
= (bool)(arg1
)->Contains(arg2
,arg3
,arg4
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26351 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26352 PyObject
*resultobj
= 0;
26353 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26354 wxPoint2DDouble
*arg2
= 0 ;
26355 int arg3
= (int) wxWINDING_RULE
;
26364 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
26365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26369 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26370 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
26371 if (!SWIG_IsOK(res2
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
26375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
26377 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
26379 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26380 if (!SWIG_IsOK(ecode3
)) {
26381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
26383 arg3
= static_cast< int >(val3
);
26386 result
= (bool)(arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26398 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
26402 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
26404 if ((argc
>= 2) && (argc
<= 3)) {
26407 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
26408 _v
= SWIG_CheckState(res
);
26410 if (!_v
) goto check_1
;
26414 int res
= SWIG_AsVal_int(argv
[2], NULL
);
26415 _v
= SWIG_CheckState(res
);
26418 if (!_v
) goto check_1
;
26420 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
26424 if ((argc
>= 3) && (argc
<= 4)) {
26425 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
26429 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
26434 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26437 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
26438 return SWIG_Py_Void();
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_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26468 PyObject
*resultobj
= 0;
26469 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26470 wxGraphicsMatrix
*result
= 0 ;
26473 PyObject
*swig_obj
[1] ;
26475 if (!args
) SWIG_fail
;
26476 swig_obj
[0] = args
;
26477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26478 if (!SWIG_IsOK(res1
)) {
26479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Clone" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26481 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26483 result
= (wxGraphicsMatrix
*)((wxGraphicsMatrix
const *)arg1
)->Clone();
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26493 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
= 0;
26495 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26496 wxGraphicsMatrix
*arg2
= (wxGraphicsMatrix
*) 0 ;
26501 PyObject
* obj0
= 0 ;
26502 PyObject
* obj1
= 0 ;
26503 char * kwnames
[] = {
26504 (char *) "self",(char *) "t", NULL
26507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26509 if (!SWIG_IsOK(res1
)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26512 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26514 if (!SWIG_IsOK(res2
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const *""'");
26517 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26519 (arg1
)->Concat((wxGraphicsMatrix
const *)arg2
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= SWIG_Py_Void();
26529 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
= 0;
26531 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26532 wxGraphicsMatrix
*arg2
= (wxGraphicsMatrix
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 char * kwnames
[] = {
26540 (char *) "self",(char *) "t", NULL
26543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26545 if (!SWIG_IsOK(res1
)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26548 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26549 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26550 if (!SWIG_IsOK(res2
)) {
26551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const *""'");
26553 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26555 (arg1
)->Copy((wxGraphicsMatrix
const *)arg2
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_Py_Void();
26565 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
= 0;
26567 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26568 wxDouble arg2
= (wxDouble
) 1.0 ;
26569 wxDouble arg3
= (wxDouble
) 0.0 ;
26570 wxDouble arg4
= (wxDouble
) 0.0 ;
26571 wxDouble arg5
= (wxDouble
) 1.0 ;
26572 wxDouble arg6
= (wxDouble
) 0.0 ;
26573 wxDouble arg7
= (wxDouble
) 0.0 ;
26588 PyObject
* obj0
= 0 ;
26589 PyObject
* obj1
= 0 ;
26590 PyObject
* obj2
= 0 ;
26591 PyObject
* obj3
= 0 ;
26592 PyObject
* obj4
= 0 ;
26593 PyObject
* obj5
= 0 ;
26594 PyObject
* obj6
= 0 ;
26595 char * kwnames
[] = {
26596 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26604 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26606 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26607 if (!SWIG_IsOK(ecode2
)) {
26608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26610 arg2
= static_cast< wxDouble
>(val2
);
26613 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26614 if (!SWIG_IsOK(ecode3
)) {
26615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26617 arg3
= static_cast< wxDouble
>(val3
);
26620 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26621 if (!SWIG_IsOK(ecode4
)) {
26622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26624 arg4
= static_cast< wxDouble
>(val4
);
26627 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26628 if (!SWIG_IsOK(ecode5
)) {
26629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26631 arg5
= static_cast< wxDouble
>(val5
);
26634 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26635 if (!SWIG_IsOK(ecode6
)) {
26636 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26638 arg6
= static_cast< wxDouble
>(val6
);
26641 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26642 if (!SWIG_IsOK(ecode7
)) {
26643 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26645 arg7
= static_cast< wxDouble
>(val7
);
26648 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= SWIG_Py_Void();
26658 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26659 PyObject
*resultobj
= 0;
26660 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26663 PyObject
*swig_obj
[1] ;
26665 if (!args
) SWIG_fail
;
26666 swig_obj
[0] = args
;
26667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26668 if (!SWIG_IsOK(res1
)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26671 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= SWIG_Py_Void();
26683 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
= 0;
26685 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26686 wxGraphicsMatrix
*arg2
= (wxGraphicsMatrix
*) 0 ;
26692 PyObject
* obj0
= 0 ;
26693 PyObject
* obj1
= 0 ;
26694 char * kwnames
[] = {
26695 (char *) "self",(char *) "t", NULL
26698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26700 if (!SWIG_IsOK(res1
)) {
26701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26703 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26705 if (!SWIG_IsOK(res2
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const *""'");
26708 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26710 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const *)arg2
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26722 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26723 PyObject
*resultobj
= 0;
26724 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26728 PyObject
*swig_obj
[1] ;
26730 if (!args
) SWIG_fail
;
26731 swig_obj
[0] = args
;
26732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26733 if (!SWIG_IsOK(res1
)) {
26734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26736 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26738 result
= (bool)(arg1
)->IsIdentity();
26739 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26750 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26764 char * kwnames
[] = {
26765 (char *) "self",(char *) "dx",(char *) "dy", NULL
26768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26770 if (!SWIG_IsOK(res1
)) {
26771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26773 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26774 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26775 if (!SWIG_IsOK(ecode2
)) {
26776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26778 arg2
= static_cast< wxDouble
>(val2
);
26779 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26780 if (!SWIG_IsOK(ecode3
)) {
26781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26783 arg3
= static_cast< wxDouble
>(val3
);
26785 (arg1
)->Translate(arg2
,arg3
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= SWIG_Py_Void();
26795 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
= 0;
26797 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 PyObject
* obj2
= 0 ;
26809 char * kwnames
[] = {
26810 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26815 if (!SWIG_IsOK(res1
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26818 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26819 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26820 if (!SWIG_IsOK(ecode2
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26823 arg2
= static_cast< wxDouble
>(val2
);
26824 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26825 if (!SWIG_IsOK(ecode3
)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26828 arg3
= static_cast< wxDouble
>(val3
);
26830 (arg1
)->Scale(arg2
,arg3
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_Py_Void();
26840 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
= 0;
26842 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 char * kwnames
[] = {
26851 (char *) "self",(char *) "angle", NULL
26854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26856 if (!SWIG_IsOK(res1
)) {
26857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26859 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26860 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26861 if (!SWIG_IsOK(ecode2
)) {
26862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26864 arg2
= static_cast< wxDouble
>(val2
);
26866 (arg1
)->Rotate(arg2
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= SWIG_Py_Void();
26876 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
= 0;
26878 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26879 wxDouble
*arg2
= (wxDouble
*) 0 ;
26880 wxDouble
*arg3
= (wxDouble
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 PyObject
* obj2
= 0 ;
26890 char * kwnames
[] = {
26891 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26896 if (!SWIG_IsOK(res1
)) {
26897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26899 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26900 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26902 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26903 if (!SWIG_IsOK(ecode
)) {
26904 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26906 temp2
= static_cast< wxDouble
>(val
);
26908 res2
= SWIG_AddTmpMask(ecode
);
26910 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26912 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26913 if (!SWIG_IsOK(ecode
)) {
26914 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26916 temp3
= static_cast< wxDouble
>(val
);
26918 res3
= SWIG_AddTmpMask(ecode
);
26921 (arg1
)->TransformPoint(arg2
,arg3
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_Py_Void();
26925 if (SWIG_IsTmpObj(res2
)) {
26926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26928 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26931 if (SWIG_IsTmpObj(res3
)) {
26932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26934 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26943 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
= 0;
26945 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26946 wxDouble
*arg2
= (wxDouble
*) 0 ;
26947 wxDouble
*arg3
= (wxDouble
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 PyObject
* obj1
= 0 ;
26956 PyObject
* obj2
= 0 ;
26957 char * kwnames
[] = {
26958 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26963 if (!SWIG_IsOK(res1
)) {
26964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26966 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26967 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26969 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26970 if (!SWIG_IsOK(ecode
)) {
26971 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26973 temp2
= static_cast< wxDouble
>(val
);
26975 res2
= SWIG_AddTmpMask(ecode
);
26977 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26979 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26980 if (!SWIG_IsOK(ecode
)) {
26981 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26983 temp3
= static_cast< wxDouble
>(val
);
26985 res3
= SWIG_AddTmpMask(ecode
);
26988 (arg1
)->TransformDistance(arg2
,arg3
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26991 resultobj
= SWIG_Py_Void();
26992 if (SWIG_IsTmpObj(res2
)) {
26993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26995 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26998 if (SWIG_IsTmpObj(res3
)) {
26999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27001 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27010 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27011 PyObject
*resultobj
= 0;
27012 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27016 PyObject
*swig_obj
[1] ;
27018 if (!args
) SWIG_fail
;
27019 swig_obj
[0] = args
;
27020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27024 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27026 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27036 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27039 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27040 return SWIG_Py_Void();
27043 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27044 PyObject
*resultobj
= 0;
27045 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27048 PyObject
*swig_obj
[1] ;
27050 if (!args
) SWIG_fail
;
27051 swig_obj
[0] = args
;
27052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27053 if (!SWIG_IsOK(res1
)) {
27054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27056 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_Py_Void();
27069 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27070 PyObject
*resultobj
= 0;
27071 wxWindowDC
*arg1
= 0 ;
27072 wxGraphicsContext
*result
= 0 ;
27076 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27078 if (!SWIG_IsOK(res1
)) {
27079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27084 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27086 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27096 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27097 PyObject
*resultobj
= 0;
27098 wxWindow
*arg1
= (wxWindow
*) 0 ;
27099 wxGraphicsContext
*result
= 0 ;
27103 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27110 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27120 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27124 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27129 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27130 _v
= SWIG_CheckState(res
);
27132 if (!_v
) goto check_1
;
27133 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27138 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27142 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27147 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27148 PyObject
*resultobj
= 0;
27149 void *arg1
= (void *) 0 ;
27150 wxGraphicsContext
*result
= 0 ;
27152 PyObject
* obj0
= 0 ;
27153 char * kwnames
[] = {
27154 (char *) "context", NULL
27157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27158 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27163 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27173 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27174 PyObject
*resultobj
= 0;
27175 void *arg1
= (void *) 0 ;
27176 wxGraphicsContext
*result
= 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char * kwnames
[] = {
27180 (char *) "window", NULL
27183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27184 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27185 if (!SWIG_IsOK(res1
)) {
27186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27189 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27199 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 PyObject
*resultobj
= 0;
27201 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27202 wxGraphicsPath
*result
= 0 ;
27205 PyObject
*swig_obj
[1] ;
27207 if (!args
) SWIG_fail
;
27208 swig_obj
[0] = args
;
27209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27213 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27215 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27225 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
= 0;
27227 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27229 wxGraphicsPen result
;
27234 PyObject
* obj0
= 0 ;
27235 PyObject
* obj1
= 0 ;
27236 char * kwnames
[] = {
27237 (char *) "self",(char *) "pen", NULL
27240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27242 if (!SWIG_IsOK(res1
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27245 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27247 if (!SWIG_IsOK(res2
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27253 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27255 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27265 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
= 0;
27267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27268 wxBrush
*arg2
= 0 ;
27269 wxGraphicsBrush result
;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char * kwnames
[] = {
27277 (char *) "self",(char *) "brush", NULL
27280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27282 if (!SWIG_IsOK(res1
)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27285 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27287 if (!SWIG_IsOK(res2
)) {
27288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27293 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27295 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27298 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27305 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
= 0;
27307 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27312 wxColour
*arg6
= 0 ;
27313 wxColour
*arg7
= 0 ;
27314 wxGraphicsBrush result
;
27327 PyObject
* obj0
= 0 ;
27328 PyObject
* obj1
= 0 ;
27329 PyObject
* obj2
= 0 ;
27330 PyObject
* obj3
= 0 ;
27331 PyObject
* obj4
= 0 ;
27332 PyObject
* obj5
= 0 ;
27333 PyObject
* obj6
= 0 ;
27334 char * kwnames
[] = {
27335 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27340 if (!SWIG_IsOK(res1
)) {
27341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27343 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27344 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27345 if (!SWIG_IsOK(ecode2
)) {
27346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27348 arg2
= static_cast< wxDouble
>(val2
);
27349 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27350 if (!SWIG_IsOK(ecode3
)) {
27351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27353 arg3
= static_cast< wxDouble
>(val3
);
27354 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27355 if (!SWIG_IsOK(ecode4
)) {
27356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27358 arg4
= static_cast< wxDouble
>(val4
);
27359 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27360 if (!SWIG_IsOK(ecode5
)) {
27361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27363 arg5
= static_cast< wxDouble
>(val5
);
27366 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27370 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27373 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27383 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
= 0;
27385 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27391 wxColour
*arg7
= 0 ;
27392 wxColour
*arg8
= 0 ;
27393 wxGraphicsBrush result
;
27408 PyObject
* obj0
= 0 ;
27409 PyObject
* obj1
= 0 ;
27410 PyObject
* obj2
= 0 ;
27411 PyObject
* obj3
= 0 ;
27412 PyObject
* obj4
= 0 ;
27413 PyObject
* obj5
= 0 ;
27414 PyObject
* obj6
= 0 ;
27415 PyObject
* obj7
= 0 ;
27416 char * kwnames
[] = {
27417 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27422 if (!SWIG_IsOK(res1
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27425 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27426 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27427 if (!SWIG_IsOK(ecode2
)) {
27428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27430 arg2
= static_cast< wxDouble
>(val2
);
27431 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27432 if (!SWIG_IsOK(ecode3
)) {
27433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27435 arg3
= static_cast< wxDouble
>(val3
);
27436 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27437 if (!SWIG_IsOK(ecode4
)) {
27438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27440 arg4
= static_cast< wxDouble
>(val4
);
27441 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27442 if (!SWIG_IsOK(ecode5
)) {
27443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27445 arg5
= static_cast< wxDouble
>(val5
);
27446 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27447 if (!SWIG_IsOK(ecode6
)) {
27448 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27450 arg6
= static_cast< wxDouble
>(val6
);
27453 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27457 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27460 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27470 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27471 PyObject
*resultobj
= 0;
27472 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27474 wxColour
const &arg3_defvalue
= *wxBLACK
;
27475 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27476 wxGraphicsFont result
;
27482 PyObject
* obj0
= 0 ;
27483 PyObject
* obj1
= 0 ;
27484 PyObject
* obj2
= 0 ;
27485 char * kwnames
[] = {
27486 (char *) "self",(char *) "font",(char *) "col", NULL
27489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27491 if (!SWIG_IsOK(res1
)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27494 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27496 if (!SWIG_IsOK(res2
)) {
27497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27502 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27506 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27510 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27520 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27521 PyObject
*resultobj
= 0;
27522 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27523 wxDouble arg2
= (wxDouble
) 1.0 ;
27524 wxDouble arg3
= (wxDouble
) 0.0 ;
27525 wxDouble arg4
= (wxDouble
) 0.0 ;
27526 wxDouble arg5
= (wxDouble
) 1.0 ;
27527 wxDouble arg6
= (wxDouble
) 0.0 ;
27528 wxDouble arg7
= (wxDouble
) 0.0 ;
27529 wxGraphicsMatrix
*result
= 0 ;
27544 PyObject
* obj0
= 0 ;
27545 PyObject
* obj1
= 0 ;
27546 PyObject
* obj2
= 0 ;
27547 PyObject
* obj3
= 0 ;
27548 PyObject
* obj4
= 0 ;
27549 PyObject
* obj5
= 0 ;
27550 PyObject
* obj6
= 0 ;
27551 char * kwnames
[] = {
27552 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27557 if (!SWIG_IsOK(res1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27560 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27562 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27563 if (!SWIG_IsOK(ecode2
)) {
27564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27566 arg2
= static_cast< wxDouble
>(val2
);
27569 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27570 if (!SWIG_IsOK(ecode3
)) {
27571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27573 arg3
= static_cast< wxDouble
>(val3
);
27576 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27577 if (!SWIG_IsOK(ecode4
)) {
27578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27580 arg4
= static_cast< wxDouble
>(val4
);
27583 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27584 if (!SWIG_IsOK(ecode5
)) {
27585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27587 arg5
= static_cast< wxDouble
>(val5
);
27590 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27591 if (!SWIG_IsOK(ecode6
)) {
27592 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27594 arg6
= static_cast< wxDouble
>(val6
);
27597 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27598 if (!SWIG_IsOK(ecode7
)) {
27599 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27601 arg7
= static_cast< wxDouble
>(val7
);
27604 result
= (wxGraphicsMatrix
*)(arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27614 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27619 PyObject
*swig_obj
[1] ;
27621 if (!args
) SWIG_fail
;
27622 swig_obj
[0] = args
;
27623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27624 if (!SWIG_IsOK(res1
)) {
27625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27627 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27629 (arg1
)->PushState();
27630 if (PyErr_Occurred()) SWIG_fail
;
27632 resultobj
= SWIG_Py_Void();
27639 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27640 PyObject
*resultobj
= 0;
27641 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27644 PyObject
*swig_obj
[1] ;
27646 if (!args
) SWIG_fail
;
27647 swig_obj
[0] = args
;
27648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27649 if (!SWIG_IsOK(res1
)) {
27650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27652 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27654 (arg1
)->PopState();
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= SWIG_Py_Void();
27664 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
= 0;
27666 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27667 wxRegion
*arg2
= 0 ;
27672 PyObject
* obj0
= 0 ;
27673 PyObject
* obj1
= 0 ;
27674 char * kwnames
[] = {
27675 (char *) "self",(char *) "region", NULL
27678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27680 if (!SWIG_IsOK(res1
)) {
27681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27685 if (!SWIG_IsOK(res2
)) {
27686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27691 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
27693 (arg1
)->Clip((wxRegion
const &)*arg2
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_Py_Void();
27703 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
= 0;
27705 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 PyObject
* obj2
= 0 ;
27723 PyObject
* obj3
= 0 ;
27724 PyObject
* obj4
= 0 ;
27725 char * kwnames
[] = {
27726 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27731 if (!SWIG_IsOK(res1
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27734 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27735 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27736 if (!SWIG_IsOK(ecode2
)) {
27737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
27739 arg2
= static_cast< wxDouble
>(val2
);
27740 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27741 if (!SWIG_IsOK(ecode3
)) {
27742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
27744 arg3
= static_cast< wxDouble
>(val3
);
27745 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27746 if (!SWIG_IsOK(ecode4
)) {
27747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
27749 arg4
= static_cast< wxDouble
>(val4
);
27750 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27751 if (!SWIG_IsOK(ecode5
)) {
27752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
27754 arg5
= static_cast< wxDouble
>(val5
);
27756 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_Py_Void();
27766 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27767 PyObject
*resultobj
= 0;
27768 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27771 PyObject
*swig_obj
[1] ;
27773 if (!args
) SWIG_fail
;
27774 swig_obj
[0] = args
;
27775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27776 if (!SWIG_IsOK(res1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27779 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27781 (arg1
)->ResetClip();
27782 if (PyErr_Occurred()) SWIG_fail
;
27784 resultobj
= SWIG_Py_Void();
27791 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27792 PyObject
*resultobj
= 0;
27793 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27797 PyObject
*swig_obj
[1] ;
27799 if (!args
) SWIG_fail
;
27800 swig_obj
[0] = args
;
27801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27805 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27807 result
= (void *)(arg1
)->GetNativeContext();
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27817 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
= 0;
27819 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27828 PyObject
* obj0
= 0 ;
27829 PyObject
* obj1
= 0 ;
27830 PyObject
* obj2
= 0 ;
27831 char * kwnames
[] = {
27832 (char *) "self",(char *) "dx",(char *) "dy", NULL
27835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27837 if (!SWIG_IsOK(res1
)) {
27838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27840 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27841 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27842 if (!SWIG_IsOK(ecode2
)) {
27843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
27845 arg2
= static_cast< wxDouble
>(val2
);
27846 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27847 if (!SWIG_IsOK(ecode3
)) {
27848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
27850 arg3
= static_cast< wxDouble
>(val3
);
27852 (arg1
)->Translate(arg2
,arg3
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 resultobj
= SWIG_Py_Void();
27862 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
= 0;
27864 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27875 PyObject
* obj2
= 0 ;
27876 char * kwnames
[] = {
27877 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
27880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27882 if (!SWIG_IsOK(res1
)) {
27883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27885 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27886 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27887 if (!SWIG_IsOK(ecode2
)) {
27888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
27890 arg2
= static_cast< wxDouble
>(val2
);
27891 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27892 if (!SWIG_IsOK(ecode3
)) {
27893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
27895 arg3
= static_cast< wxDouble
>(val3
);
27897 (arg1
)->Scale(arg2
,arg3
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 resultobj
= SWIG_Py_Void();
27907 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
= 0;
27909 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27915 PyObject
* obj0
= 0 ;
27916 PyObject
* obj1
= 0 ;
27917 char * kwnames
[] = {
27918 (char *) "self",(char *) "angle", NULL
27921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27923 if (!SWIG_IsOK(res1
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27926 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27927 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27928 if (!SWIG_IsOK(ecode2
)) {
27929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
27931 arg2
= static_cast< wxDouble
>(val2
);
27933 (arg1
)->Rotate(arg2
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27936 resultobj
= SWIG_Py_Void();
27943 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27944 PyObject
*resultobj
= 0;
27945 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27946 wxGraphicsPen
*arg2
= 0 ;
27952 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27954 if (!SWIG_IsOK(res1
)) {
27955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27957 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27958 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
27959 if (!SWIG_IsOK(res2
)) {
27960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
27963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
27965 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
27967 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= SWIG_Py_Void();
27977 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27978 PyObject
*resultobj
= 0;
27979 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27986 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27988 if (!SWIG_IsOK(res1
)) {
27989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27991 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27992 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27993 if (!SWIG_IsOK(res2
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
27997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
27999 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28001 (arg1
)->SetPen((wxPen
const &)*arg2
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= SWIG_Py_Void();
28011 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28015 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28020 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28021 _v
= SWIG_CheckState(res
);
28023 if (!_v
) goto check_1
;
28024 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28029 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28033 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28038 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28039 PyObject
*resultobj
= 0;
28040 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28041 wxGraphicsBrush
*arg2
= 0 ;
28047 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28049 if (!SWIG_IsOK(res1
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28052 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28053 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28054 if (!SWIG_IsOK(res2
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28060 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28062 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= SWIG_Py_Void();
28072 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28073 PyObject
*resultobj
= 0;
28074 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28075 wxBrush
*arg2
= 0 ;
28081 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28083 if (!SWIG_IsOK(res1
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28086 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28087 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28088 if (!SWIG_IsOK(res2
)) {
28089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28094 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28096 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28099 resultobj
= SWIG_Py_Void();
28106 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28110 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28115 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28116 _v
= SWIG_CheckState(res
);
28118 if (!_v
) goto check_1
;
28119 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28124 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28128 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28133 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28134 PyObject
*resultobj
= 0;
28135 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28136 wxGraphicsFont
*arg2
= 0 ;
28142 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28144 if (!SWIG_IsOK(res1
)) {
28145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28147 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28148 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28149 if (!SWIG_IsOK(res2
)) {
28150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28155 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28157 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 resultobj
= SWIG_Py_Void();
28167 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28168 PyObject
*resultobj
= 0;
28169 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28171 wxColour
const &arg3_defvalue
= *wxBLACK
;
28172 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28179 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28181 if (!SWIG_IsOK(res1
)) {
28182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28184 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28185 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28186 if (!SWIG_IsOK(res2
)) {
28187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28192 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28196 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28200 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28203 resultobj
= SWIG_Py_Void();
28210 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28214 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28219 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28220 _v
= SWIG_CheckState(res
);
28222 if (!_v
) goto check_1
;
28223 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28227 if ((argc
>= 2) && (argc
<= 3)) {
28228 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28232 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28237 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
= 0;
28239 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28240 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
28245 PyObject
* obj0
= 0 ;
28246 PyObject
* obj1
= 0 ;
28247 char * kwnames
[] = {
28248 (char *) "self",(char *) "path", NULL
28251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28253 if (!SWIG_IsOK(res1
)) {
28254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28256 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28258 if (!SWIG_IsOK(res2
)) {
28259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
28261 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28263 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= SWIG_Py_Void();
28273 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
= 0;
28275 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28276 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
28277 int arg3
= (int) wxWINDING_RULE
;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 PyObject
* obj2
= 0 ;
28287 char * kwnames
[] = {
28288 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28298 if (!SWIG_IsOK(res2
)) {
28299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
28301 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28304 if (!SWIG_IsOK(ecode3
)) {
28305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28307 arg3
= static_cast< int >(val3
);
28310 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= SWIG_Py_Void();
28320 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
= 0;
28322 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28323 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
28324 int arg3
= (int) wxWINDING_RULE
;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 PyObject
* obj2
= 0 ;
28334 char * kwnames
[] = {
28335 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28340 if (!SWIG_IsOK(res1
)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28343 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28345 if (!SWIG_IsOK(res2
)) {
28346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
28348 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28351 if (!SWIG_IsOK(ecode3
)) {
28352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28354 arg3
= static_cast< int >(val3
);
28357 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= SWIG_Py_Void();
28367 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
= 0;
28369 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28370 wxString
*arg2
= 0 ;
28375 bool temp2
= false ;
28380 PyObject
* obj0
= 0 ;
28381 PyObject
* obj1
= 0 ;
28382 PyObject
* obj2
= 0 ;
28383 PyObject
* obj3
= 0 ;
28384 char * kwnames
[] = {
28385 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28390 if (!SWIG_IsOK(res1
)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28393 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28395 arg2
= wxString_in_helper(obj1
);
28396 if (arg2
== NULL
) SWIG_fail
;
28399 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28400 if (!SWIG_IsOK(ecode3
)) {
28401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28403 arg3
= static_cast< wxDouble
>(val3
);
28404 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28405 if (!SWIG_IsOK(ecode4
)) {
28406 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28408 arg4
= static_cast< wxDouble
>(val4
);
28410 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28413 resultobj
= SWIG_Py_Void();
28428 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28429 PyObject
*resultobj
= 0;
28430 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28431 wxString
*arg2
= 0 ;
28437 bool temp2
= false ;
28444 PyObject
* obj0
= 0 ;
28445 PyObject
* obj1
= 0 ;
28446 PyObject
* obj2
= 0 ;
28447 PyObject
* obj3
= 0 ;
28448 PyObject
* obj4
= 0 ;
28449 char * kwnames
[] = {
28450 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
28453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28455 if (!SWIG_IsOK(res1
)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28458 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28460 arg2
= wxString_in_helper(obj1
);
28461 if (arg2
== NULL
) SWIG_fail
;
28464 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28465 if (!SWIG_IsOK(ecode3
)) {
28466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28468 arg3
= static_cast< wxDouble
>(val3
);
28469 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28470 if (!SWIG_IsOK(ecode4
)) {
28471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28473 arg4
= static_cast< wxDouble
>(val4
);
28474 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28475 if (!SWIG_IsOK(ecode5
)) {
28476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28478 arg5
= static_cast< wxDouble
>(val5
);
28480 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= SWIG_Py_Void();
28498 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28499 PyObject
*resultobj
= 0;
28500 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28501 wxString
*arg2
= 0 ;
28502 wxDouble
*arg3
= (wxDouble
*) 0 ;
28503 wxDouble
*arg4
= (wxDouble
*) 0 ;
28504 wxDouble
*arg5
= (wxDouble
*) 0 ;
28505 wxDouble
*arg6
= (wxDouble
*) 0 ;
28508 bool temp2
= false ;
28510 int res3
= SWIG_TMPOBJ
;
28512 int res4
= SWIG_TMPOBJ
;
28514 int res5
= SWIG_TMPOBJ
;
28516 int res6
= SWIG_TMPOBJ
;
28517 PyObject
* obj0
= 0 ;
28518 PyObject
* obj1
= 0 ;
28519 char * kwnames
[] = {
28520 (char *) "self",(char *) "text", NULL
28527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28529 if (!SWIG_IsOK(res1
)) {
28530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28532 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28534 arg2
= wxString_in_helper(obj1
);
28535 if (arg2
== NULL
) SWIG_fail
;
28539 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28542 resultobj
= SWIG_Py_Void();
28543 if (SWIG_IsTmpObj(res3
)) {
28544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28546 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28549 if (SWIG_IsTmpObj(res4
)) {
28550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
28552 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
28555 if (SWIG_IsTmpObj(res5
)) {
28556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
28558 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
28561 if (SWIG_IsTmpObj(res6
)) {
28562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
28564 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
28581 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28582 PyObject
*resultobj
= 0;
28583 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28584 wxString
*arg2
= 0 ;
28585 PyObject
*result
= 0 ;
28588 bool temp2
= false ;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 char * kwnames
[] = {
28592 (char *) "self",(char *) "text", NULL
28595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28597 if (!SWIG_IsOK(res1
)) {
28598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28600 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28602 arg2
= wxString_in_helper(obj1
);
28603 if (arg2
== NULL
) SWIG_fail
;
28607 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= result
;
28625 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
= 0;
28627 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28628 wxString
*arg2
= 0 ;
28629 wxArrayDouble result
;
28632 bool temp2
= false ;
28633 PyObject
* obj0
= 0 ;
28634 PyObject
* obj1
= 0 ;
28635 char * kwnames
[] = {
28636 (char *) "self",(char *) "text", NULL
28639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28641 if (!SWIG_IsOK(res1
)) {
28642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28644 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28646 arg2
= wxString_in_helper(obj1
);
28647 if (arg2
== NULL
) SWIG_fail
;
28651 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
28652 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= wxArrayDouble2PyList_helper(result
);
28671 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
= 0;
28673 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28674 wxBitmap
*arg2
= 0 ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 PyObject
* obj2
= 0 ;
28694 PyObject
* obj3
= 0 ;
28695 PyObject
* obj4
= 0 ;
28696 PyObject
* obj5
= 0 ;
28697 char * kwnames
[] = {
28698 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28703 if (!SWIG_IsOK(res1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28706 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
28708 if (!SWIG_IsOK(res2
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
28714 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
28715 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28716 if (!SWIG_IsOK(ecode3
)) {
28717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
28719 arg3
= static_cast< wxDouble
>(val3
);
28720 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28721 if (!SWIG_IsOK(ecode4
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
28724 arg4
= static_cast< wxDouble
>(val4
);
28725 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28726 if (!SWIG_IsOK(ecode5
)) {
28727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
28729 arg5
= static_cast< wxDouble
>(val5
);
28730 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28731 if (!SWIG_IsOK(ecode6
)) {
28732 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
28734 arg6
= static_cast< wxDouble
>(val6
);
28736 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= SWIG_Py_Void();
28746 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
= 0;
28748 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28766 PyObject
* obj0
= 0 ;
28767 PyObject
* obj1
= 0 ;
28768 PyObject
* obj2
= 0 ;
28769 PyObject
* obj3
= 0 ;
28770 PyObject
* obj4
= 0 ;
28771 PyObject
* obj5
= 0 ;
28772 char * kwnames
[] = {
28773 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28781 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
28783 if (!SWIG_IsOK(res2
)) {
28784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
28789 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
28790 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28791 if (!SWIG_IsOK(ecode3
)) {
28792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
28794 arg3
= static_cast< wxDouble
>(val3
);
28795 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28796 if (!SWIG_IsOK(ecode4
)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
28799 arg4
= static_cast< wxDouble
>(val4
);
28800 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28801 if (!SWIG_IsOK(ecode5
)) {
28802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
28804 arg5
= static_cast< wxDouble
>(val5
);
28805 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28806 if (!SWIG_IsOK(ecode6
)) {
28807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
28809 arg6
= static_cast< wxDouble
>(val6
);
28811 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= SWIG_Py_Void();
28821 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
= 0;
28823 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 PyObject
* obj2
= 0 ;
28841 PyObject
* obj3
= 0 ;
28842 PyObject
* obj4
= 0 ;
28843 char * kwnames
[] = {
28844 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28849 if (!SWIG_IsOK(res1
)) {
28850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28852 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28853 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28854 if (!SWIG_IsOK(ecode2
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
28857 arg2
= static_cast< wxDouble
>(val2
);
28858 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28859 if (!SWIG_IsOK(ecode3
)) {
28860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
28862 arg3
= static_cast< wxDouble
>(val3
);
28863 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28864 if (!SWIG_IsOK(ecode4
)) {
28865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
28867 arg4
= static_cast< wxDouble
>(val4
);
28868 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28869 if (!SWIG_IsOK(ecode5
)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
28872 arg5
= static_cast< wxDouble
>(val5
);
28874 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= SWIG_Py_Void();
28884 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
= 0;
28886 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28888 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
28891 PyObject
* obj0
= 0 ;
28892 PyObject
* obj1
= 0 ;
28893 char * kwnames
[] = {
28894 (char *) "self",(char *) "points", NULL
28897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28899 if (!SWIG_IsOK(res1
)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28902 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28904 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
28905 if (arg3
== NULL
) SWIG_fail
;
28908 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_Py_Void();
28913 if (arg3
) delete [] arg3
;
28918 if (arg3
) delete [] arg3
;
28924 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
= 0;
28926 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28927 PyObject
*arg2
= (PyObject
*) 0 ;
28928 PyObject
*arg3
= (PyObject
*) 0 ;
28931 PyObject
* obj0
= 0 ;
28932 PyObject
* obj1
= 0 ;
28933 PyObject
* obj2
= 0 ;
28934 char * kwnames
[] = {
28935 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
28938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28940 if (!SWIG_IsOK(res1
)) {
28941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28943 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28947 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28950 resultobj
= SWIG_Py_Void();
28957 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28958 PyObject
*resultobj
= 0;
28959 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28961 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
28962 int arg4
= (int) wxWINDING_RULE
;
28967 PyObject
* obj0
= 0 ;
28968 PyObject
* obj1
= 0 ;
28969 PyObject
* obj2
= 0 ;
28970 char * kwnames
[] = {
28971 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
28974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28976 if (!SWIG_IsOK(res1
)) {
28977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28979 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28981 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
28982 if (arg3
== NULL
) SWIG_fail
;
28985 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
28986 if (!SWIG_IsOK(ecode4
)) {
28987 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
28989 arg4
= static_cast< int >(val4
);
28992 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_Py_Void();
28997 if (arg3
) delete [] arg3
;
29002 if (arg3
) delete [] arg3
;
29008 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
= 0;
29010 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29025 PyObject
* obj0
= 0 ;
29026 PyObject
* obj1
= 0 ;
29027 PyObject
* obj2
= 0 ;
29028 PyObject
* obj3
= 0 ;
29029 PyObject
* obj4
= 0 ;
29030 char * kwnames
[] = {
29031 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29036 if (!SWIG_IsOK(res1
)) {
29037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29039 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29040 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29041 if (!SWIG_IsOK(ecode2
)) {
29042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29044 arg2
= static_cast< wxDouble
>(val2
);
29045 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29046 if (!SWIG_IsOK(ecode3
)) {
29047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29049 arg3
= static_cast< wxDouble
>(val3
);
29050 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29051 if (!SWIG_IsOK(ecode4
)) {
29052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29054 arg4
= static_cast< wxDouble
>(val4
);
29055 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29056 if (!SWIG_IsOK(ecode5
)) {
29057 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29059 arg5
= static_cast< wxDouble
>(val5
);
29061 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 resultobj
= SWIG_Py_Void();
29071 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(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_DrawEllipse",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_DrawEllipse" "', 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_DrawEllipse" "', 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_DrawEllipse" "', 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_DrawEllipse" "', 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_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29122 arg5
= static_cast< wxDouble
>(val5
);
29124 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_Py_Void();
29134 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
= 0;
29136 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29154 PyObject
* obj0
= 0 ;
29155 PyObject
* obj1
= 0 ;
29156 PyObject
* obj2
= 0 ;
29157 PyObject
* obj3
= 0 ;
29158 PyObject
* obj4
= 0 ;
29159 PyObject
* obj5
= 0 ;
29160 char * kwnames
[] = {
29161 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29166 if (!SWIG_IsOK(res1
)) {
29167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29169 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29170 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29171 if (!SWIG_IsOK(ecode2
)) {
29172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29174 arg2
= static_cast< wxDouble
>(val2
);
29175 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29176 if (!SWIG_IsOK(ecode3
)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29179 arg3
= static_cast< wxDouble
>(val3
);
29180 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29181 if (!SWIG_IsOK(ecode4
)) {
29182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29184 arg4
= static_cast< wxDouble
>(val4
);
29185 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29186 if (!SWIG_IsOK(ecode5
)) {
29187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29189 arg5
= static_cast< wxDouble
>(val5
);
29190 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29191 if (!SWIG_IsOK(ecode6
)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29194 arg6
= static_cast< wxDouble
>(val6
);
29196 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29199 resultobj
= SWIG_Py_Void();
29206 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29207 PyObject
*resultobj
= 0;
29208 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29212 PyObject
*swig_obj
[1] ;
29214 if (!args
) SWIG_fail
;
29215 swig_obj
[0] = args
;
29216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29217 if (!SWIG_IsOK(res1
)) {
29218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29220 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29222 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29223 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29234 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29237 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29238 return SWIG_Py_Void();
29241 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29242 PyObject
*resultobj
= 0;
29243 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29246 PyObject
*swig_obj
[1] ;
29248 if (!args
) SWIG_fail
;
29249 swig_obj
[0] = args
;
29250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29251 if (!SWIG_IsOK(res1
)) {
29252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29254 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= SWIG_Py_Void();
29267 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29268 PyObject
*resultobj
= 0;
29269 wxGraphicsRenderer
*result
= 0 ;
29271 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29273 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29283 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29284 PyObject
*resultobj
= 0;
29285 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29286 wxWindowDC
*arg2
= 0 ;
29287 wxGraphicsContext
*result
= 0 ;
29293 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29295 if (!SWIG_IsOK(res1
)) {
29296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29298 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29299 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29300 if (!SWIG_IsOK(res2
)) {
29301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29306 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29308 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29318 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29319 PyObject
*resultobj
= 0;
29320 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29321 wxWindow
*arg2
= (wxWindow
*) 0 ;
29322 wxGraphicsContext
*result
= 0 ;
29328 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29330 if (!SWIG_IsOK(res1
)) {
29331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29333 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29334 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29335 if (!SWIG_IsOK(res2
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29338 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29340 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29350 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29354 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29359 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29360 _v
= SWIG_CheckState(res
);
29362 if (!_v
) goto check_1
;
29363 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29368 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29372 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29377 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
= 0;
29379 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29380 void *arg2
= (void *) 0 ;
29381 wxGraphicsContext
*result
= 0 ;
29385 PyObject
* obj0
= 0 ;
29386 PyObject
* obj1
= 0 ;
29387 char * kwnames
[] = {
29388 (char *) "self",(char *) "context", NULL
29391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29393 if (!SWIG_IsOK(res1
)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29396 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29397 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29398 if (!SWIG_IsOK(res2
)) {
29399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29402 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29403 if (PyErr_Occurred()) SWIG_fail
;
29405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29412 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
= 0;
29414 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29415 void *arg2
= (void *) 0 ;
29416 wxGraphicsContext
*result
= 0 ;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 char * kwnames
[] = {
29423 (char *) "self",(char *) "window", NULL
29426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29428 if (!SWIG_IsOK(res1
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29431 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29432 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29433 if (!SWIG_IsOK(res2
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29437 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29447 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29448 PyObject
*resultobj
= 0;
29449 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29450 wxGraphicsPath
*result
= 0 ;
29453 PyObject
*swig_obj
[1] ;
29455 if (!args
) SWIG_fail
;
29456 swig_obj
[0] = args
;
29457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29461 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29463 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29473 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
= 0;
29475 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29476 wxDouble arg2
= (wxDouble
) 1.0 ;
29477 wxDouble arg3
= (wxDouble
) 0.0 ;
29478 wxDouble arg4
= (wxDouble
) 0.0 ;
29479 wxDouble arg5
= (wxDouble
) 1.0 ;
29480 wxDouble arg6
= (wxDouble
) 0.0 ;
29481 wxDouble arg7
= (wxDouble
) 0.0 ;
29482 wxGraphicsMatrix
*result
= 0 ;
29497 PyObject
* obj0
= 0 ;
29498 PyObject
* obj1
= 0 ;
29499 PyObject
* obj2
= 0 ;
29500 PyObject
* obj3
= 0 ;
29501 PyObject
* obj4
= 0 ;
29502 PyObject
* obj5
= 0 ;
29503 PyObject
* obj6
= 0 ;
29504 char * kwnames
[] = {
29505 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29510 if (!SWIG_IsOK(res1
)) {
29511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29513 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29515 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29516 if (!SWIG_IsOK(ecode2
)) {
29517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29519 arg2
= static_cast< wxDouble
>(val2
);
29522 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29523 if (!SWIG_IsOK(ecode3
)) {
29524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29526 arg3
= static_cast< wxDouble
>(val3
);
29529 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29530 if (!SWIG_IsOK(ecode4
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29533 arg4
= static_cast< wxDouble
>(val4
);
29536 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29537 if (!SWIG_IsOK(ecode5
)) {
29538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29540 arg5
= static_cast< wxDouble
>(val5
);
29543 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29544 if (!SWIG_IsOK(ecode6
)) {
29545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29547 arg6
= static_cast< wxDouble
>(val6
);
29550 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29551 if (!SWIG_IsOK(ecode7
)) {
29552 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29554 arg7
= static_cast< wxDouble
>(val7
);
29557 result
= (wxGraphicsMatrix
*)(arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29567 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29568 PyObject
*resultobj
= 0;
29569 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29571 wxGraphicsPen result
;
29576 PyObject
* obj0
= 0 ;
29577 PyObject
* obj1
= 0 ;
29578 char * kwnames
[] = {
29579 (char *) "self",(char *) "pen", NULL
29582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29584 if (!SWIG_IsOK(res1
)) {
29585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29587 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29589 if (!SWIG_IsOK(res2
)) {
29590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29595 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29597 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
29607 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
= 0;
29609 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29610 wxBrush
*arg2
= 0 ;
29611 wxGraphicsBrush result
;
29616 PyObject
* obj0
= 0 ;
29617 PyObject
* obj1
= 0 ;
29618 char * kwnames
[] = {
29619 (char *) "self",(char *) "brush", NULL
29622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29624 if (!SWIG_IsOK(res1
)) {
29625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29627 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29629 if (!SWIG_IsOK(res2
)) {
29630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29635 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29637 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29647 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
= 0;
29649 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29654 wxColour
*arg6
= 0 ;
29655 wxColour
*arg7
= 0 ;
29656 wxGraphicsBrush result
;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 PyObject
* obj2
= 0 ;
29672 PyObject
* obj3
= 0 ;
29673 PyObject
* obj4
= 0 ;
29674 PyObject
* obj5
= 0 ;
29675 PyObject
* obj6
= 0 ;
29676 char * kwnames
[] = {
29677 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
29680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29682 if (!SWIG_IsOK(res1
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29685 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29686 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29687 if (!SWIG_IsOK(ecode2
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29690 arg2
= static_cast< wxDouble
>(val2
);
29691 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29692 if (!SWIG_IsOK(ecode3
)) {
29693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29695 arg3
= static_cast< wxDouble
>(val3
);
29696 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29697 if (!SWIG_IsOK(ecode4
)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29700 arg4
= static_cast< wxDouble
>(val4
);
29701 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29702 if (!SWIG_IsOK(ecode5
)) {
29703 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29705 arg5
= static_cast< wxDouble
>(val5
);
29708 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29712 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29715 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29725 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
= 0;
29727 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29733 wxColour
*arg7
= 0 ;
29734 wxColour
*arg8
= 0 ;
29735 wxGraphicsBrush result
;
29750 PyObject
* obj0
= 0 ;
29751 PyObject
* obj1
= 0 ;
29752 PyObject
* obj2
= 0 ;
29753 PyObject
* obj3
= 0 ;
29754 PyObject
* obj4
= 0 ;
29755 PyObject
* obj5
= 0 ;
29756 PyObject
* obj6
= 0 ;
29757 PyObject
* obj7
= 0 ;
29758 char * kwnames
[] = {
29759 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
29762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29767 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29768 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29769 if (!SWIG_IsOK(ecode2
)) {
29770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29772 arg2
= static_cast< wxDouble
>(val2
);
29773 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29774 if (!SWIG_IsOK(ecode3
)) {
29775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29777 arg3
= static_cast< wxDouble
>(val3
);
29778 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29779 if (!SWIG_IsOK(ecode4
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29782 arg4
= static_cast< wxDouble
>(val4
);
29783 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29784 if (!SWIG_IsOK(ecode5
)) {
29785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29787 arg5
= static_cast< wxDouble
>(val5
);
29788 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29789 if (!SWIG_IsOK(ecode6
)) {
29790 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
29792 arg6
= static_cast< wxDouble
>(val6
);
29795 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29799 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
29802 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
29803 if (PyErr_Occurred()) SWIG_fail
;
29805 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29812 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
= 0;
29814 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29816 wxColour
const &arg3_defvalue
= *wxBLACK
;
29817 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29818 wxGraphicsFont result
;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 PyObject
* obj2
= 0 ;
29827 char * kwnames
[] = {
29828 (char *) "self",(char *) "font",(char *) "col", NULL
29831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29833 if (!SWIG_IsOK(res1
)) {
29834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29836 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29838 if (!SWIG_IsOK(res2
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29844 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29848 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29852 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
29862 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29865 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
29866 return SWIG_Py_Void();
29869 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
= 0;
29871 wxWindowDC
*arg1
= 0 ;
29872 wxGCDC
*result
= 0 ;
29875 PyObject
* obj0
= 0 ;
29876 char * kwnames
[] = {
29877 (char *) "dc", NULL
29880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
29881 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
29886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
29888 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
29890 if (!wxPyCheckForApp()) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
29903 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29904 PyObject
*resultobj
= 0;
29905 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
29908 PyObject
*swig_obj
[1] ;
29910 if (!args
) SWIG_fail
;
29911 swig_obj
[0] = args
;
29912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
29913 if (!SWIG_IsOK(res1
)) {
29914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
29916 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= SWIG_Py_Void();
29929 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29930 PyObject
*resultobj
= 0;
29931 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
29932 wxGraphicsContext
*result
= 0 ;
29935 PyObject
*swig_obj
[1] ;
29937 if (!args
) SWIG_fail
;
29938 swig_obj
[0] = args
;
29939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
29940 if (!SWIG_IsOK(res1
)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
29943 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
29945 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29955 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29956 PyObject
*resultobj
= 0;
29957 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
29958 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 char * kwnames
[] = {
29966 (char *) "self",(char *) "ctx", NULL
29969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
29971 if (!SWIG_IsOK(res1
)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
29974 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
29975 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29976 if (!SWIG_IsOK(res2
)) {
29977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
29979 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
29981 (arg1
)->SetGraphicsContext(arg2
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29984 resultobj
= SWIG_Py_Void();
29991 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29994 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
29995 return SWIG_Py_Void();
29998 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29999 return SWIG_Python_InitShadowInstance(args
);
30002 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30003 PyObject
*resultobj
= 0;
30004 wxOverlay
*result
= 0 ;
30006 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 result
= (wxOverlay
*)new wxOverlay();
30010 wxPyEndAllowThreads(__tstate
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30020 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30021 PyObject
*resultobj
= 0;
30022 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30025 PyObject
*swig_obj
[1] ;
30027 if (!args
) SWIG_fail
;
30028 swig_obj
[0] = args
;
30029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30030 if (!SWIG_IsOK(res1
)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30033 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= SWIG_Py_Void();
30048 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30049 PyObject
*resultobj
= 0;
30050 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30053 PyObject
*swig_obj
[1] ;
30055 if (!args
) SWIG_fail
;
30056 swig_obj
[0] = args
;
30057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30058 if (!SWIG_IsOK(res1
)) {
30059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30061 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= SWIG_Py_Void();
30075 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30078 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30079 return SWIG_Py_Void();
30082 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30083 return SWIG_Python_InitShadowInstance(args
);
30086 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30087 PyObject
*resultobj
= 0;
30088 wxOverlay
*arg1
= 0 ;
30089 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30094 wxDCOverlay
*result
= 0 ;
30108 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30110 if (!SWIG_IsOK(res1
)) {
30111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30116 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30117 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30118 if (!SWIG_IsOK(res2
)) {
30119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30121 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30122 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30123 if (!SWIG_IsOK(ecode3
)) {
30124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30126 arg3
= static_cast< int >(val3
);
30127 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30128 if (!SWIG_IsOK(ecode4
)) {
30129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30131 arg4
= static_cast< int >(val4
);
30132 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30133 if (!SWIG_IsOK(ecode5
)) {
30134 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30136 arg5
= static_cast< int >(val5
);
30137 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30138 if (!SWIG_IsOK(ecode6
)) {
30139 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30141 arg6
= static_cast< int >(val6
);
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30155 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30156 PyObject
*resultobj
= 0;
30157 wxOverlay
*arg1
= 0 ;
30158 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30159 wxDCOverlay
*result
= 0 ;
30165 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30167 if (!SWIG_IsOK(res1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30173 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30174 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30175 if (!SWIG_IsOK(res2
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30178 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30192 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30196 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30199 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30202 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30206 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30211 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30212 PyObject
*resultobj
= 0;
30213 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30216 PyObject
*swig_obj
[1] ;
30218 if (!args
) SWIG_fail
;
30219 swig_obj
[0] = args
;
30220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30221 if (!SWIG_IsOK(res1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30224 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_Py_Void();
30239 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30240 PyObject
*resultobj
= 0;
30241 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30244 PyObject
*swig_obj
[1] ;
30246 if (!args
) SWIG_fail
;
30247 swig_obj
[0] = args
;
30248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30249 if (!SWIG_IsOK(res1
)) {
30250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30252 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 resultobj
= SWIG_Py_Void();
30266 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30269 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30270 return SWIG_Py_Void();
30273 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30274 return SWIG_Python_InitShadowInstance(args
);
30277 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
= 0;
30281 int arg3
= (int) true ;
30282 int arg4
= (int) 1 ;
30283 wxImageList
*result
= 0 ;
30292 PyObject
* obj0
= 0 ;
30293 PyObject
* obj1
= 0 ;
30294 PyObject
* obj2
= 0 ;
30295 PyObject
* obj3
= 0 ;
30296 char * kwnames
[] = {
30297 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30302 if (!SWIG_IsOK(ecode1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30305 arg1
= static_cast< int >(val1
);
30306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30307 if (!SWIG_IsOK(ecode2
)) {
30308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30310 arg2
= static_cast< int >(val2
);
30312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30313 if (!SWIG_IsOK(ecode3
)) {
30314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30316 arg3
= static_cast< int >(val3
);
30319 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30320 if (!SWIG_IsOK(ecode4
)) {
30321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30323 arg4
= static_cast< int >(val4
);
30326 if (!wxPyCheckForApp()) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30339 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30340 PyObject
*resultobj
= 0;
30341 wxImageList
*arg1
= (wxImageList
*) 0 ;
30344 PyObject
*swig_obj
[1] ;
30346 if (!args
) SWIG_fail
;
30347 swig_obj
[0] = args
;
30348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30349 if (!SWIG_IsOK(res1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30352 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 resultobj
= SWIG_Py_Void();
30367 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30368 PyObject
*resultobj
= 0;
30369 wxImageList
*arg1
= (wxImageList
*) 0 ;
30370 wxBitmap
*arg2
= 0 ;
30371 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30372 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30380 PyObject
* obj0
= 0 ;
30381 PyObject
* obj1
= 0 ;
30382 PyObject
* obj2
= 0 ;
30383 char * kwnames
[] = {
30384 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30392 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30394 if (!SWIG_IsOK(res2
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30400 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30402 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30403 if (!SWIG_IsOK(res3
)) {
30404 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30409 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_From_int(static_cast< int >(result
));
30424 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
= 0;
30426 wxImageList
*arg1
= (wxImageList
*) 0 ;
30427 wxBitmap
*arg2
= 0 ;
30428 wxColour
*arg3
= 0 ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 PyObject
* obj2
= 0 ;
30438 char * kwnames
[] = {
30439 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30444 if (!SWIG_IsOK(res1
)) {
30445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30447 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30449 if (!SWIG_IsOK(res2
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30455 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30458 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 resultobj
= SWIG_From_int(static_cast< int >(result
));
30473 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
= 0;
30475 wxImageList
*arg1
= (wxImageList
*) 0 ;
30482 PyObject
* obj0
= 0 ;
30483 PyObject
* obj1
= 0 ;
30484 char * kwnames
[] = {
30485 (char *) "self",(char *) "icon", NULL
30488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30490 if (!SWIG_IsOK(res1
)) {
30491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
30493 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30495 if (!SWIG_IsOK(res2
)) {
30496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30501 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30504 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= SWIG_From_int(static_cast< int >(result
));
30515 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
= 0;
30517 wxImageList
*arg1
= (wxImageList
*) 0 ;
30519 SwigValueWrapper
<wxBitmap
> result
;
30524 PyObject
* obj0
= 0 ;
30525 PyObject
* obj1
= 0 ;
30526 char * kwnames
[] = {
30527 (char *) "self",(char *) "index", NULL
30530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30532 if (!SWIG_IsOK(res1
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
30535 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30537 if (!SWIG_IsOK(ecode2
)) {
30538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
30540 arg2
= static_cast< int >(val2
);
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
30554 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
= 0;
30556 wxImageList
*arg1
= (wxImageList
*) 0 ;
30563 PyObject
* obj0
= 0 ;
30564 PyObject
* obj1
= 0 ;
30565 char * kwnames
[] = {
30566 (char *) "self",(char *) "index", NULL
30569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30571 if (!SWIG_IsOK(res1
)) {
30572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
30574 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30576 if (!SWIG_IsOK(ecode2
)) {
30577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
30579 arg2
= static_cast< int >(val2
);
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
30593 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
= 0;
30595 wxImageList
*arg1
= (wxImageList
*) 0 ;
30597 wxBitmap
*arg3
= 0 ;
30598 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
30599 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 PyObject
* obj2
= 0 ;
30612 PyObject
* obj3
= 0 ;
30613 char * kwnames
[] = {
30614 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
30617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30619 if (!SWIG_IsOK(res1
)) {
30620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
30622 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30624 if (!SWIG_IsOK(ecode2
)) {
30625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
30627 arg2
= static_cast< int >(val2
);
30628 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30629 if (!SWIG_IsOK(res3
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30635 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30637 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30638 if (!SWIG_IsOK(res4
)) {
30639 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
30642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
30644 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
30649 wxPyEndAllowThreads(__tstate
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30661 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
= 0;
30663 wxImageList
*arg1
= (wxImageList
*) 0 ;
30668 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
30669 bool arg7
= (bool) (bool)false ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 PyObject
* obj2
= 0 ;
30688 PyObject
* obj3
= 0 ;
30689 PyObject
* obj4
= 0 ;
30690 PyObject
* obj5
= 0 ;
30691 PyObject
* obj6
= 0 ;
30692 char * kwnames
[] = {
30693 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
30696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30698 if (!SWIG_IsOK(res1
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
30701 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30703 if (!SWIG_IsOK(ecode2
)) {
30704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
30706 arg2
= static_cast< int >(val2
);
30707 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30708 if (!SWIG_IsOK(res3
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
30712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
30714 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30715 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30716 if (!SWIG_IsOK(ecode4
)) {
30717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
30719 arg4
= static_cast< int >(val4
);
30720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30721 if (!SWIG_IsOK(ecode5
)) {
30722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
30724 arg5
= static_cast< int >(val5
);
30726 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30727 if (!SWIG_IsOK(ecode6
)) {
30728 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
30730 arg6
= static_cast< int >(val6
);
30733 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
30734 if (!SWIG_IsOK(ecode7
)) {
30735 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
30737 arg7
= static_cast< bool >(val7
);
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30754 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30755 PyObject
*resultobj
= 0;
30756 wxImageList
*arg1
= (wxImageList
*) 0 ;
30760 PyObject
*swig_obj
[1] ;
30762 if (!args
) SWIG_fail
;
30763 swig_obj
[0] = args
;
30764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
30768 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (int)(arg1
)->GetImageCount();
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_From_int(static_cast< int >(result
));
30782 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
= 0;
30784 wxImageList
*arg1
= (wxImageList
*) 0 ;
30791 PyObject
* obj0
= 0 ;
30792 PyObject
* obj1
= 0 ;
30793 char * kwnames
[] = {
30794 (char *) "self",(char *) "index", NULL
30797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30799 if (!SWIG_IsOK(res1
)) {
30800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
30802 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30804 if (!SWIG_IsOK(ecode2
)) {
30805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
30807 arg2
= static_cast< int >(val2
);
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 result
= (bool)(arg1
)->Remove(arg2
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30823 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30824 PyObject
*resultobj
= 0;
30825 wxImageList
*arg1
= (wxImageList
*) 0 ;
30829 PyObject
*swig_obj
[1] ;
30831 if (!args
) SWIG_fail
;
30832 swig_obj
[0] = args
;
30833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30834 if (!SWIG_IsOK(res1
)) {
30835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
30837 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (bool)(arg1
)->RemoveAll();
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30853 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30854 PyObject
*resultobj
= 0;
30855 wxImageList
*arg1
= (wxImageList
*) 0 ;
30864 int res3
= SWIG_TMPOBJ
;
30866 int res4
= SWIG_TMPOBJ
;
30867 PyObject
* obj0
= 0 ;
30868 PyObject
* obj1
= 0 ;
30869 char * kwnames
[] = {
30870 (char *) "self",(char *) "index", NULL
30875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30877 if (!SWIG_IsOK(res1
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
30880 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30882 if (!SWIG_IsOK(ecode2
)) {
30883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
30885 arg2
= static_cast< int >(val2
);
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30892 resultobj
= SWIG_Py_Void();
30893 if (SWIG_IsTmpObj(res3
)) {
30894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30896 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30899 if (SWIG_IsTmpObj(res4
)) {
30900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
30902 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
30911 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30914 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
30915 return SWIG_Py_Void();
30918 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30919 return SWIG_Python_InitShadowInstance(args
);
30922 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30923 PyObject
*resultobj
= 0;
30924 wxStockGDI
*result
= 0 ;
30926 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= (wxStockGDI
*)new wxStockGDI();
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
30940 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30941 PyObject
*resultobj
= 0;
30942 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
30945 PyObject
*swig_obj
[1] ;
30947 if (!args
) SWIG_fail
;
30948 swig_obj
[0] = args
;
30949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
30950 if (!SWIG_IsOK(res1
)) {
30951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
30953 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
30955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 wxPyEndAllowThreads(__tstate
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30961 resultobj
= SWIG_Py_Void();
30968 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30969 PyObject
*resultobj
= 0;
30971 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 wxStockGDI::DeleteAll();
30975 wxPyEndAllowThreads(__tstate
);
30976 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= SWIG_Py_Void();
30985 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30986 PyObject
*resultobj
= 0;
30987 wxStockGDI
*result
= 0 ;
30989 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 wxStockGDI
&_result_ref
= wxStockGDI::instance();
30994 result
= (wxStockGDI
*) &_result_ref
;
30996 wxPyEndAllowThreads(__tstate
);
30997 if (PyErr_Occurred()) SWIG_fail
;
30999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31006 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31007 PyObject
*resultobj
= 0;
31008 wxStockGDI::Item arg1
;
31009 wxBrush
*result
= 0 ;
31012 PyObject
* obj0
= 0 ;
31013 char * kwnames
[] = {
31014 (char *) "item", NULL
31017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31019 if (!SWIG_IsOK(ecode1
)) {
31020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31022 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31036 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxStockGDI::Item arg1
;
31039 wxColour
*result
= 0 ;
31042 PyObject
* obj0
= 0 ;
31043 char * kwnames
[] = {
31044 (char *) "item", NULL
31047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31049 if (!SWIG_IsOK(ecode1
)) {
31050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31052 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31066 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
= 0;
31068 wxStockGDI::Item arg1
;
31069 wxCursor
*result
= 0 ;
31072 PyObject
* obj0
= 0 ;
31073 char * kwnames
[] = {
31074 (char *) "item", NULL
31077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31079 if (!SWIG_IsOK(ecode1
)) {
31080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31082 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31096 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31097 PyObject
*resultobj
= 0;
31098 wxStockGDI::Item arg1
;
31099 wxPen
*result
= 0 ;
31102 PyObject
* obj0
= 0 ;
31103 char * kwnames
[] = {
31104 (char *) "item", NULL
31107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31109 if (!SWIG_IsOK(ecode1
)) {
31110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31112 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31115 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31126 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
= 0;
31128 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31129 wxStockGDI::Item arg2
;
31130 wxFont
*result
= 0 ;
31135 PyObject
* obj0
= 0 ;
31136 PyObject
* obj1
= 0 ;
31137 char * kwnames
[] = {
31138 (char *) "self",(char *) "item", NULL
31141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31143 if (!SWIG_IsOK(res1
)) {
31144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31146 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31148 if (!SWIG_IsOK(ecode2
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31151 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31165 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31168 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31169 return SWIG_Py_Void();
31172 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31173 return SWIG_Python_InitShadowInstance(args
);
31176 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31177 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31182 SWIGINTERN PyObject
*NullBitmap_get(void) {
31183 PyObject
*pyobj
= 0;
31185 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31190 SWIGINTERN
int NullIcon_set(PyObject
*) {
31191 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31196 SWIGINTERN PyObject
*NullIcon_get(void) {
31197 PyObject
*pyobj
= 0;
31199 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31204 SWIGINTERN
int NullCursor_set(PyObject
*) {
31205 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31210 SWIGINTERN PyObject
*NullCursor_get(void) {
31211 PyObject
*pyobj
= 0;
31213 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31218 SWIGINTERN
int NullPen_set(PyObject
*) {
31219 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31224 SWIGINTERN PyObject
*NullPen_get(void) {
31225 PyObject
*pyobj
= 0;
31227 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31232 SWIGINTERN
int NullBrush_set(PyObject
*) {
31233 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31238 SWIGINTERN PyObject
*NullBrush_get(void) {
31239 PyObject
*pyobj
= 0;
31241 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31246 SWIGINTERN
int NullPalette_set(PyObject
*) {
31247 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31252 SWIGINTERN PyObject
*NullPalette_get(void) {
31253 PyObject
*pyobj
= 0;
31255 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31260 SWIGINTERN
int NullFont_set(PyObject
*) {
31261 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31266 SWIGINTERN PyObject
*NullFont_get(void) {
31267 PyObject
*pyobj
= 0;
31269 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31274 SWIGINTERN
int NullColour_set(PyObject
*) {
31275 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31280 SWIGINTERN PyObject
*NullColour_get(void) {
31281 PyObject
*pyobj
= 0;
31283 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31288 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31289 PyObject
*resultobj
= 0;
31290 wxGDIObjListBase
*result
= 0 ;
31292 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31306 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31307 PyObject
*resultobj
= 0;
31308 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31311 PyObject
*swig_obj
[1] ;
31313 if (!args
) SWIG_fail
;
31314 swig_obj
[0] = args
;
31315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31316 if (!SWIG_IsOK(res1
)) {
31317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31319 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= SWIG_Py_Void();
31334 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31337 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31338 return SWIG_Py_Void();
31341 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31342 return SWIG_Python_InitShadowInstance(args
);
31345 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31346 PyObject
*resultobj
= 0;
31347 wxPenList
*arg1
= (wxPenList
*) 0 ;
31348 wxColour
*arg2
= 0 ;
31351 wxPen
*result
= 0 ;
31359 PyObject
* obj0
= 0 ;
31360 PyObject
* obj1
= 0 ;
31361 PyObject
* obj2
= 0 ;
31362 PyObject
* obj3
= 0 ;
31363 char * kwnames
[] = {
31364 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31372 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31375 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31378 if (!SWIG_IsOK(ecode3
)) {
31379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31381 arg3
= static_cast< int >(val3
);
31382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31383 if (!SWIG_IsOK(ecode4
)) {
31384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31386 arg4
= static_cast< int >(val4
);
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31400 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxPenList
*arg1
= (wxPenList
*) 0 ;
31403 wxPen
*arg2
= (wxPen
*) 0 ;
31408 PyObject
* obj0
= 0 ;
31409 PyObject
* obj1
= 0 ;
31410 char * kwnames
[] = {
31411 (char *) "self",(char *) "pen", NULL
31414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31419 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31421 if (!SWIG_IsOK(res2
)) {
31422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31424 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 (arg1
)->AddPen(arg2
);
31428 wxPyEndAllowThreads(__tstate
);
31429 if (PyErr_Occurred()) SWIG_fail
;
31431 resultobj
= SWIG_Py_Void();
31438 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31439 PyObject
*resultobj
= 0;
31440 wxPenList
*arg1
= (wxPenList
*) 0 ;
31441 wxPen
*arg2
= (wxPen
*) 0 ;
31446 PyObject
* obj0
= 0 ;
31447 PyObject
* obj1
= 0 ;
31448 char * kwnames
[] = {
31449 (char *) "self",(char *) "pen", NULL
31452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31454 if (!SWIG_IsOK(res1
)) {
31455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31457 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31459 if (!SWIG_IsOK(res2
)) {
31460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31462 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31465 (arg1
)->RemovePen(arg2
);
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31469 resultobj
= SWIG_Py_Void();
31476 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
31480 return SWIG_Py_Void();
31483 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
= 0;
31485 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31486 wxColour
*arg2
= 0 ;
31487 int arg3
= (int) wxSOLID
;
31488 wxBrush
*result
= 0 ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 PyObject
* obj2
= 0 ;
31497 char * kwnames
[] = {
31498 (char *) "self",(char *) "colour",(char *) "style", NULL
31501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31503 if (!SWIG_IsOK(res1
)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31506 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31513 if (!SWIG_IsOK(ecode3
)) {
31514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
31516 arg3
= static_cast< int >(val3
);
31519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31520 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31531 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31532 PyObject
*resultobj
= 0;
31533 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31534 wxBrush
*arg2
= (wxBrush
*) 0 ;
31539 PyObject
* obj0
= 0 ;
31540 PyObject
* obj1
= 0 ;
31541 char * kwnames
[] = {
31542 (char *) "self",(char *) "brush", NULL
31545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31547 if (!SWIG_IsOK(res1
)) {
31548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31550 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31551 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31552 if (!SWIG_IsOK(res2
)) {
31553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31555 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 (arg1
)->AddBrush(arg2
);
31559 wxPyEndAllowThreads(__tstate
);
31560 if (PyErr_Occurred()) SWIG_fail
;
31562 resultobj
= SWIG_Py_Void();
31569 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31570 PyObject
*resultobj
= 0;
31571 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31572 wxBrush
*arg2
= (wxBrush
*) 0 ;
31577 PyObject
* obj0
= 0 ;
31578 PyObject
* obj1
= 0 ;
31579 char * kwnames
[] = {
31580 (char *) "self",(char *) "brush", NULL
31583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31585 if (!SWIG_IsOK(res1
)) {
31586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31588 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31590 if (!SWIG_IsOK(res2
)) {
31591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31593 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 (arg1
)->RemoveBrush(arg2
);
31597 wxPyEndAllowThreads(__tstate
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31600 resultobj
= SWIG_Py_Void();
31607 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31610 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
31611 return SWIG_Py_Void();
31614 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
= 0;
31616 wxFontList
*arg1
= (wxFontList
*) 0 ;
31621 bool arg6
= (bool) false ;
31622 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31624 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
31625 wxFont
*result
= 0 ;
31638 bool temp7
= false ;
31641 PyObject
* obj0
= 0 ;
31642 PyObject
* obj1
= 0 ;
31643 PyObject
* obj2
= 0 ;
31644 PyObject
* obj3
= 0 ;
31645 PyObject
* obj4
= 0 ;
31646 PyObject
* obj5
= 0 ;
31647 PyObject
* obj6
= 0 ;
31648 PyObject
* obj7
= 0 ;
31649 char * kwnames
[] = {
31650 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
31653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
31655 if (!SWIG_IsOK(res1
)) {
31656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
31658 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
31659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31660 if (!SWIG_IsOK(ecode2
)) {
31661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
31663 arg2
= static_cast< int >(val2
);
31664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31665 if (!SWIG_IsOK(ecode3
)) {
31666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
31668 arg3
= static_cast< int >(val3
);
31669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31670 if (!SWIG_IsOK(ecode4
)) {
31671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
31673 arg4
= static_cast< int >(val4
);
31674 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31675 if (!SWIG_IsOK(ecode5
)) {
31676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
31678 arg5
= static_cast< int >(val5
);
31680 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
31681 if (!SWIG_IsOK(ecode6
)) {
31682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
31684 arg6
= static_cast< bool >(val6
);
31688 arg7
= wxString_in_helper(obj6
);
31689 if (arg7
== NULL
) SWIG_fail
;
31694 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
31695 if (!SWIG_IsOK(ecode8
)) {
31696 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
31698 arg8
= static_cast< wxFontEncoding
>(val8
);
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
31703 wxPyEndAllowThreads(__tstate
);
31704 if (PyErr_Occurred()) SWIG_fail
;
31706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31721 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31722 PyObject
*resultobj
= 0;
31723 wxFontList
*arg1
= (wxFontList
*) 0 ;
31724 wxFont
*arg2
= (wxFont
*) 0 ;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "self",(char *) "font", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
31740 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
31741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
31742 if (!SWIG_IsOK(res2
)) {
31743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
31745 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 (arg1
)->AddFont(arg2
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31752 resultobj
= SWIG_Py_Void();
31759 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
= 0;
31761 wxFontList
*arg1
= (wxFontList
*) 0 ;
31762 wxFont
*arg2
= (wxFont
*) 0 ;
31767 PyObject
* obj0
= 0 ;
31768 PyObject
* obj1
= 0 ;
31769 char * kwnames
[] = {
31770 (char *) "self",(char *) "font", NULL
31773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
31775 if (!SWIG_IsOK(res1
)) {
31776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
31778 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
31779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
31780 if (!SWIG_IsOK(res2
)) {
31781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
31783 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31786 (arg1
)->RemoveFont(arg2
);
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= SWIG_Py_Void();
31797 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31800 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
31801 return SWIG_Py_Void();
31804 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31805 PyObject
*resultobj
= 0;
31806 wxColourDatabase
*result
= 0 ;
31808 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
31810 if (!wxPyCheckForApp()) SWIG_fail
;
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (wxColourDatabase
*)new wxColourDatabase();
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
31823 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31824 PyObject
*resultobj
= 0;
31825 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
31828 PyObject
*swig_obj
[1] ;
31830 if (!args
) SWIG_fail
;
31831 swig_obj
[0] = args
;
31832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
31833 if (!SWIG_IsOK(res1
)) {
31834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
31836 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_Py_Void();
31851 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
= 0;
31853 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
31854 wxString
*arg2
= 0 ;
31858 bool temp2
= false ;
31859 PyObject
* obj0
= 0 ;
31860 PyObject
* obj1
= 0 ;
31861 char * kwnames
[] = {
31862 (char *) "self",(char *) "name", NULL
31865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
31867 if (!SWIG_IsOK(res1
)) {
31868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
31870 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
31872 arg2
= wxString_in_helper(obj1
);
31873 if (arg2
== NULL
) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31897 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31898 PyObject
*resultobj
= 0;
31899 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
31900 wxColour
*arg2
= 0 ;
31905 PyObject
* obj0
= 0 ;
31906 PyObject
* obj1
= 0 ;
31907 char * kwnames
[] = {
31908 (char *) "self",(char *) "colour", NULL
31911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
31913 if (!SWIG_IsOK(res1
)) {
31914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
31916 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
31919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31940 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31941 PyObject
*resultobj
= 0;
31942 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
31943 wxString
*arg2
= 0 ;
31944 wxColour
*arg3
= 0 ;
31947 bool temp2
= false ;
31949 PyObject
* obj0
= 0 ;
31950 PyObject
* obj1
= 0 ;
31951 PyObject
* obj2
= 0 ;
31952 char * kwnames
[] = {
31953 (char *) "self",(char *) "name",(char *) "colour", NULL
31956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
31958 if (!SWIG_IsOK(res1
)) {
31959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
31961 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
31963 arg2
= wxString_in_helper(obj1
);
31964 if (arg2
== NULL
) SWIG_fail
;
31969 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31973 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
31974 wxPyEndAllowThreads(__tstate
);
31975 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= SWIG_Py_Void();
31992 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
= 0;
31994 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
31995 wxString
*arg2
= 0 ;
32001 bool temp2
= false ;
32008 PyObject
* obj0
= 0 ;
32009 PyObject
* obj1
= 0 ;
32010 PyObject
* obj2
= 0 ;
32011 PyObject
* obj3
= 0 ;
32012 PyObject
* obj4
= 0 ;
32013 char * kwnames
[] = {
32014 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32019 if (!SWIG_IsOK(res1
)) {
32020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32022 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32024 arg2
= wxString_in_helper(obj1
);
32025 if (arg2
== NULL
) SWIG_fail
;
32028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32029 if (!SWIG_IsOK(ecode3
)) {
32030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32032 arg3
= static_cast< int >(val3
);
32033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32034 if (!SWIG_IsOK(ecode4
)) {
32035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32037 arg4
= static_cast< int >(val4
);
32038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32039 if (!SWIG_IsOK(ecode5
)) {
32040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32042 arg5
= static_cast< int >(val5
);
32044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32045 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32046 wxPyEndAllowThreads(__tstate
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32049 resultobj
= SWIG_Py_Void();
32064 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32067 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32068 return SWIG_Py_Void();
32071 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32072 return SWIG_Python_InitShadowInstance(args
);
32075 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32076 PyObject
*resultobj
= 0;
32077 wxFontList
*result
= 0 ;
32079 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 result
= (wxFontList
*)_wxPyInitTheFontList();
32083 wxPyEndAllowThreads(__tstate
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32093 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32094 PyObject
*resultobj
= 0;
32095 wxPenList
*result
= 0 ;
32097 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 result
= (wxPenList
*)_wxPyInitThePenList();
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32111 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32112 PyObject
*resultobj
= 0;
32113 wxBrushList
*result
= 0 ;
32115 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32118 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32119 wxPyEndAllowThreads(__tstate
);
32120 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32129 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32130 PyObject
*resultobj
= 0;
32131 wxColourDatabase
*result
= 0 ;
32133 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32147 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32148 PyObject
*resultobj
= 0;
32149 wxEffects
*result
= 0 ;
32151 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32154 result
= (wxEffects
*)new wxEffects();
32155 wxPyEndAllowThreads(__tstate
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32165 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32166 PyObject
*resultobj
= 0;
32167 wxEffects
*arg1
= (wxEffects
*) 0 ;
32171 PyObject
*swig_obj
[1] ;
32173 if (!args
) SWIG_fail
;
32174 swig_obj
[0] = args
;
32175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32176 if (!SWIG_IsOK(res1
)) {
32177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32179 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32183 wxPyEndAllowThreads(__tstate
);
32184 if (PyErr_Occurred()) SWIG_fail
;
32186 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32193 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32194 PyObject
*resultobj
= 0;
32195 wxEffects
*arg1
= (wxEffects
*) 0 ;
32199 PyObject
*swig_obj
[1] ;
32201 if (!args
) SWIG_fail
;
32202 swig_obj
[0] = args
;
32203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32204 if (!SWIG_IsOK(res1
)) {
32205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32207 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32211 wxPyEndAllowThreads(__tstate
);
32212 if (PyErr_Occurred()) SWIG_fail
;
32214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32221 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32222 PyObject
*resultobj
= 0;
32223 wxEffects
*arg1
= (wxEffects
*) 0 ;
32227 PyObject
*swig_obj
[1] ;
32229 if (!args
) SWIG_fail
;
32230 swig_obj
[0] = args
;
32231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32232 if (!SWIG_IsOK(res1
)) {
32233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32235 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32238 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32239 wxPyEndAllowThreads(__tstate
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32249 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32250 PyObject
*resultobj
= 0;
32251 wxEffects
*arg1
= (wxEffects
*) 0 ;
32255 PyObject
*swig_obj
[1] ;
32257 if (!args
) SWIG_fail
;
32258 swig_obj
[0] = args
;
32259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32260 if (!SWIG_IsOK(res1
)) {
32261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32263 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32266 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32267 wxPyEndAllowThreads(__tstate
);
32268 if (PyErr_Occurred()) SWIG_fail
;
32270 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32277 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32278 PyObject
*resultobj
= 0;
32279 wxEffects
*arg1
= (wxEffects
*) 0 ;
32283 PyObject
*swig_obj
[1] ;
32285 if (!args
) SWIG_fail
;
32286 swig_obj
[0] = args
;
32287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32288 if (!SWIG_IsOK(res1
)) {
32289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32291 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32298 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32305 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
= 0;
32307 wxEffects
*arg1
= (wxEffects
*) 0 ;
32308 wxColour
*arg2
= 0 ;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 char * kwnames
[] = {
32315 (char *) "self",(char *) "c", NULL
32318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32320 if (!SWIG_IsOK(res1
)) {
32321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32323 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 resultobj
= SWIG_Py_Void();
32341 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
= 0;
32343 wxEffects
*arg1
= (wxEffects
*) 0 ;
32344 wxColour
*arg2
= 0 ;
32348 PyObject
* obj0
= 0 ;
32349 PyObject
* obj1
= 0 ;
32350 char * kwnames
[] = {
32351 (char *) "self",(char *) "c", NULL
32354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32356 if (!SWIG_IsOK(res1
)) {
32357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32359 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 resultobj
= SWIG_Py_Void();
32377 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
= 0;
32379 wxEffects
*arg1
= (wxEffects
*) 0 ;
32380 wxColour
*arg2
= 0 ;
32384 PyObject
* obj0
= 0 ;
32385 PyObject
* obj1
= 0 ;
32386 char * kwnames
[] = {
32387 (char *) "self",(char *) "c", NULL
32390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32392 if (!SWIG_IsOK(res1
)) {
32393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32395 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32398 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_Py_Void();
32413 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
= 0;
32415 wxEffects
*arg1
= (wxEffects
*) 0 ;
32416 wxColour
*arg2
= 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 char * kwnames
[] = {
32423 (char *) "self",(char *) "c", NULL
32426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32428 if (!SWIG_IsOK(res1
)) {
32429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32431 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32439 wxPyEndAllowThreads(__tstate
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32442 resultobj
= SWIG_Py_Void();
32449 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32450 PyObject
*resultobj
= 0;
32451 wxEffects
*arg1
= (wxEffects
*) 0 ;
32452 wxColour
*arg2
= 0 ;
32456 PyObject
* obj0
= 0 ;
32457 PyObject
* obj1
= 0 ;
32458 char * kwnames
[] = {
32459 (char *) "self",(char *) "c", NULL
32462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32464 if (!SWIG_IsOK(res1
)) {
32465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32467 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32470 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32478 resultobj
= SWIG_Py_Void();
32485 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32486 PyObject
*resultobj
= 0;
32487 wxEffects
*arg1
= (wxEffects
*) 0 ;
32488 wxColour
*arg2
= 0 ;
32489 wxColour
*arg3
= 0 ;
32490 wxColour
*arg4
= 0 ;
32491 wxColour
*arg5
= 0 ;
32492 wxColour
*arg6
= 0 ;
32500 PyObject
* obj0
= 0 ;
32501 PyObject
* obj1
= 0 ;
32502 PyObject
* obj2
= 0 ;
32503 PyObject
* obj3
= 0 ;
32504 PyObject
* obj4
= 0 ;
32505 PyObject
* obj5
= 0 ;
32506 char * kwnames
[] = {
32507 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
32510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32512 if (!SWIG_IsOK(res1
)) {
32513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
32515 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32522 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32526 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32530 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
32534 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
32537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32538 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
32539 wxPyEndAllowThreads(__tstate
);
32540 if (PyErr_Occurred()) SWIG_fail
;
32542 resultobj
= SWIG_Py_Void();
32549 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32550 PyObject
*resultobj
= 0;
32551 wxEffects
*arg1
= (wxEffects
*) 0 ;
32554 int arg4
= (int) 1 ;
32562 PyObject
* obj0
= 0 ;
32563 PyObject
* obj1
= 0 ;
32564 PyObject
* obj2
= 0 ;
32565 PyObject
* obj3
= 0 ;
32566 char * kwnames
[] = {
32567 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
32570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32572 if (!SWIG_IsOK(res1
)) {
32573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
32575 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
32577 if (!SWIG_IsOK(res2
)) {
32578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32583 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32586 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32590 if (!SWIG_IsOK(ecode4
)) {
32591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
32593 arg4
= static_cast< int >(val4
);
32596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32597 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32601 resultobj
= SWIG_Py_Void();
32608 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32609 PyObject
*resultobj
= 0;
32610 wxEffects
*arg1
= (wxEffects
*) 0 ;
32613 wxBitmap
*arg4
= 0 ;
32622 PyObject
* obj0
= 0 ;
32623 PyObject
* obj1
= 0 ;
32624 PyObject
* obj2
= 0 ;
32625 PyObject
* obj3
= 0 ;
32626 char * kwnames
[] = {
32627 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
32630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32632 if (!SWIG_IsOK(res1
)) {
32633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
32635 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32638 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32640 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32641 if (!SWIG_IsOK(res3
)) {
32642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
32645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
32647 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32648 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
32649 if (!SWIG_IsOK(res4
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
32653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
32655 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32671 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32674 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
32675 return SWIG_Py_Void();
32678 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32679 return SWIG_Python_InitShadowInstance(args
);
32682 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32683 PyObject
*resultobj
= 0;
32687 wxSplitterRenderParams
*result
= 0 ;
32694 PyObject
* obj0
= 0 ;
32695 PyObject
* obj1
= 0 ;
32696 PyObject
* obj2
= 0 ;
32697 char * kwnames
[] = {
32698 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
32701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32703 if (!SWIG_IsOK(ecode1
)) {
32704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
32706 arg1
= static_cast< int >(val1
);
32707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32708 if (!SWIG_IsOK(ecode2
)) {
32709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
32711 arg2
= static_cast< int >(val2
);
32712 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32713 if (!SWIG_IsOK(ecode3
)) {
32714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
32716 arg3
= static_cast< bool >(val3
);
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
32730 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32731 PyObject
*resultobj
= 0;
32732 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
32735 PyObject
*swig_obj
[1] ;
32737 if (!args
) SWIG_fail
;
32738 swig_obj
[0] = args
;
32739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
32743 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= SWIG_Py_Void();
32758 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32759 PyObject
*resultobj
= 0;
32760 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
32764 PyObject
*swig_obj
[1] ;
32766 if (!args
) SWIG_fail
;
32767 swig_obj
[0] = args
;
32768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
32769 if (!SWIG_IsOK(res1
)) {
32770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
32772 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
32773 result
= (int)(int) ((arg1
)->widthSash
);
32774 resultobj
= SWIG_From_int(static_cast< int >(result
));
32781 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32782 PyObject
*resultobj
= 0;
32783 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
32787 PyObject
*swig_obj
[1] ;
32789 if (!args
) SWIG_fail
;
32790 swig_obj
[0] = args
;
32791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
32792 if (!SWIG_IsOK(res1
)) {
32793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
32795 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
32796 result
= (int)(int) ((arg1
)->border
);
32797 resultobj
= SWIG_From_int(static_cast< int >(result
));
32804 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32805 PyObject
*resultobj
= 0;
32806 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
32810 PyObject
*swig_obj
[1] ;
32812 if (!args
) SWIG_fail
;
32813 swig_obj
[0] = args
;
32814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
32815 if (!SWIG_IsOK(res1
)) {
32816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
32818 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
32819 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
32820 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
32827 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32830 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
32831 return SWIG_Py_Void();
32834 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32835 return SWIG_Python_InitShadowInstance(args
);
32838 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32839 PyObject
*resultobj
= 0;
32840 wxHeaderButtonParams
*result
= 0 ;
32842 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
32846 wxPyEndAllowThreads(__tstate
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
32856 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32857 PyObject
*resultobj
= 0;
32858 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
32861 PyObject
*swig_obj
[1] ;
32863 if (!args
) SWIG_fail
;
32864 swig_obj
[0] = args
;
32865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
32869 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= SWIG_Py_Void();
32884 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32885 PyObject
*resultobj
= 0;
32886 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
32887 wxColour
*arg2
= (wxColour
*) 0 ;
32891 PyObject
*swig_obj
[2] ;
32893 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
32894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
32895 if (!SWIG_IsOK(res1
)) {
32896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
32898 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
32901 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
32903 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
32905 resultobj
= SWIG_Py_Void();
32912 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32913 PyObject
*resultobj
= 0;
32914 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
32915 wxColour
*result
= 0 ;
32918 PyObject
*swig_obj
[1] ;
32920 if (!args
) SWIG_fail
;
32921 swig_obj
[0] = args
;
32922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
32923 if (!SWIG_IsOK(res1
)) {
32924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
32926 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
32927 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
32928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32935 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32936 PyObject
*resultobj
= 0;
32937 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
32938 wxColour
*arg2
= (wxColour
*) 0 ;
32942 PyObject
*swig_obj
[2] ;
32944 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
32945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
32946 if (!SWIG_IsOK(res1
)) {
32947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
32949 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
32952 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
32954 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
32956 resultobj
= SWIG_Py_Void();
32963 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32964 PyObject
*resultobj
= 0;
32965 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
32966 wxColour
*result
= 0 ;
32969 PyObject
*swig_obj
[1] ;
32971 if (!args
) SWIG_fail
;
32972 swig_obj
[0] = args
;
32973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
32974 if (!SWIG_IsOK(res1
)) {
32975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
32977 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
32978 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
32979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32986 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32987 PyObject
*resultobj
= 0;
32988 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
32989 wxString
*arg2
= (wxString
*) 0 ;
32992 bool temp2
= false ;
32993 PyObject
*swig_obj
[2] ;
32995 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
32996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
32997 if (!SWIG_IsOK(res1
)) {
32998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33000 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33002 arg2
= wxString_in_helper(swig_obj
[1]);
33003 if (arg2
== NULL
) SWIG_fail
;
33006 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33008 resultobj
= SWIG_Py_Void();
33023 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33024 PyObject
*resultobj
= 0;
33025 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33026 wxString
*result
= 0 ;
33029 PyObject
*swig_obj
[1] ;
33031 if (!args
) SWIG_fail
;
33032 swig_obj
[0] = args
;
33033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33034 if (!SWIG_IsOK(res1
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33037 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33038 result
= (wxString
*)& ((arg1
)->m_labelText
);
33041 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33043 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33052 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33053 PyObject
*resultobj
= 0;
33054 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33055 wxFont
*arg2
= (wxFont
*) 0 ;
33060 PyObject
*swig_obj
[2] ;
33062 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33064 if (!SWIG_IsOK(res1
)) {
33065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33067 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33068 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33069 if (!SWIG_IsOK(res2
)) {
33070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33072 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33073 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33075 resultobj
= SWIG_Py_Void();
33082 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33083 PyObject
*resultobj
= 0;
33084 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33085 wxFont
*result
= 0 ;
33088 PyObject
*swig_obj
[1] ;
33090 if (!args
) SWIG_fail
;
33091 swig_obj
[0] = args
;
33092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33093 if (!SWIG_IsOK(res1
)) {
33094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33096 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33097 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33105 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33106 PyObject
*resultobj
= 0;
33107 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33108 wxColour
*arg2
= (wxColour
*) 0 ;
33112 PyObject
*swig_obj
[2] ;
33114 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33116 if (!SWIG_IsOK(res1
)) {
33117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33119 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33122 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33124 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33126 resultobj
= SWIG_Py_Void();
33133 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33134 PyObject
*resultobj
= 0;
33135 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33136 wxColour
*result
= 0 ;
33139 PyObject
*swig_obj
[1] ;
33141 if (!args
) SWIG_fail
;
33142 swig_obj
[0] = args
;
33143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33144 if (!SWIG_IsOK(res1
)) {
33145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33147 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33148 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33156 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33157 PyObject
*resultobj
= 0;
33158 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33159 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33164 PyObject
*swig_obj
[2] ;
33166 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33168 if (!SWIG_IsOK(res1
)) {
33169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33171 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33172 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33173 if (!SWIG_IsOK(res2
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33176 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33177 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33179 resultobj
= SWIG_Py_Void();
33186 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33187 PyObject
*resultobj
= 0;
33188 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33189 wxBitmap
*result
= 0 ;
33192 PyObject
*swig_obj
[1] ;
33194 if (!args
) SWIG_fail
;
33195 swig_obj
[0] = args
;
33196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33197 if (!SWIG_IsOK(res1
)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33200 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33201 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33209 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33210 PyObject
*resultobj
= 0;
33211 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33217 PyObject
*swig_obj
[2] ;
33219 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33221 if (!SWIG_IsOK(res1
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33224 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33225 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33226 if (!SWIG_IsOK(ecode2
)) {
33227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33229 arg2
= static_cast< int >(val2
);
33230 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33232 resultobj
= SWIG_Py_Void();
33239 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33240 PyObject
*resultobj
= 0;
33241 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33245 PyObject
*swig_obj
[1] ;
33247 if (!args
) SWIG_fail
;
33248 swig_obj
[0] = args
;
33249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33250 if (!SWIG_IsOK(res1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33253 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33254 result
= (int) ((arg1
)->m_labelAlignment
);
33255 resultobj
= SWIG_From_int(static_cast< int >(result
));
33262 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33265 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33266 return SWIG_Py_Void();
33269 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33270 return SWIG_Python_InitShadowInstance(args
);
33273 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33274 PyObject
*resultobj
= 0;
33277 wxRendererVersion
*result
= 0 ;
33282 PyObject
* obj0
= 0 ;
33283 PyObject
* obj1
= 0 ;
33284 char * kwnames
[] = {
33285 (char *) "version_",(char *) "age_", NULL
33288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33289 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33290 if (!SWIG_IsOK(ecode1
)) {
33291 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33293 arg1
= static_cast< int >(val1
);
33294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33295 if (!SWIG_IsOK(ecode2
)) {
33296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33298 arg2
= static_cast< int >(val2
);
33300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33302 wxPyEndAllowThreads(__tstate
);
33303 if (PyErr_Occurred()) SWIG_fail
;
33305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33312 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33313 PyObject
*resultobj
= 0;
33314 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33317 PyObject
*swig_obj
[1] ;
33319 if (!args
) SWIG_fail
;
33320 swig_obj
[0] = args
;
33321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33322 if (!SWIG_IsOK(res1
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33325 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= SWIG_Py_Void();
33340 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33341 PyObject
*resultobj
= 0;
33342 wxRendererVersion
*arg1
= 0 ;
33346 PyObject
* obj0
= 0 ;
33347 char * kwnames
[] = {
33348 (char *) "ver", NULL
33351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33352 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33353 if (!SWIG_IsOK(res1
)) {
33354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33359 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33362 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33363 wxPyEndAllowThreads(__tstate
);
33364 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33375 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33376 PyObject
*resultobj
= 0;
33377 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33381 PyObject
*swig_obj
[1] ;
33383 if (!args
) SWIG_fail
;
33384 swig_obj
[0] = args
;
33385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33386 if (!SWIG_IsOK(res1
)) {
33387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33389 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33390 result
= (int)(int) ((arg1
)->version
);
33391 resultobj
= SWIG_From_int(static_cast< int >(result
));
33398 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33399 PyObject
*resultobj
= 0;
33400 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33404 PyObject
*swig_obj
[1] ;
33406 if (!args
) SWIG_fail
;
33407 swig_obj
[0] = args
;
33408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33409 if (!SWIG_IsOK(res1
)) {
33410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33412 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33413 result
= (int)(int) ((arg1
)->age
);
33414 resultobj
= SWIG_From_int(static_cast< int >(result
));
33421 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33424 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33425 return SWIG_Py_Void();
33428 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33429 return SWIG_Python_InitShadowInstance(args
);
33432 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33433 PyObject
*resultobj
= 0;
33434 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33435 wxWindow
*arg2
= (wxWindow
*) 0 ;
33438 int arg5
= (int) 0 ;
33439 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33440 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33454 PyObject
* obj0
= 0 ;
33455 PyObject
* obj1
= 0 ;
33456 PyObject
* obj2
= 0 ;
33457 PyObject
* obj3
= 0 ;
33458 PyObject
* obj4
= 0 ;
33459 PyObject
* obj5
= 0 ;
33460 PyObject
* obj6
= 0 ;
33461 char * kwnames
[] = {
33462 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33467 if (!SWIG_IsOK(res1
)) {
33468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33470 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33471 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33472 if (!SWIG_IsOK(res2
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33475 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33476 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33477 if (!SWIG_IsOK(res3
)) {
33478 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33483 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33486 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33489 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33490 if (!SWIG_IsOK(ecode5
)) {
33491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
33493 arg5
= static_cast< int >(val5
);
33496 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33497 if (!SWIG_IsOK(ecode6
)) {
33498 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33500 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33503 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33504 if (!SWIG_IsOK(res7
)) {
33505 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33507 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33511 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33512 wxPyEndAllowThreads(__tstate
);
33513 if (PyErr_Occurred()) SWIG_fail
;
33515 resultobj
= SWIG_Py_Void();
33522 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33523 PyObject
*resultobj
= 0;
33524 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33525 wxWindow
*arg2
= (wxWindow
*) 0 ;
33528 int arg5
= (int) 0 ;
33529 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33530 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33544 PyObject
* obj0
= 0 ;
33545 PyObject
* obj1
= 0 ;
33546 PyObject
* obj2
= 0 ;
33547 PyObject
* obj3
= 0 ;
33548 PyObject
* obj4
= 0 ;
33549 PyObject
* obj5
= 0 ;
33550 PyObject
* obj6
= 0 ;
33551 char * kwnames
[] = {
33552 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33557 if (!SWIG_IsOK(res1
)) {
33558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33560 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33562 if (!SWIG_IsOK(res2
)) {
33563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
33565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33567 if (!SWIG_IsOK(res3
)) {
33568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33573 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33576 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33579 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33580 if (!SWIG_IsOK(ecode5
)) {
33581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
33583 arg5
= static_cast< int >(val5
);
33586 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33587 if (!SWIG_IsOK(ecode6
)) {
33588 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33590 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33593 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33594 if (!SWIG_IsOK(res7
)) {
33595 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33597 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33605 resultobj
= SWIG_Py_Void();
33612 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33613 PyObject
*resultobj
= 0;
33614 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33615 wxWindow
*arg2
= (wxWindow
*) 0 ;
33621 PyObject
* obj0
= 0 ;
33622 PyObject
* obj1
= 0 ;
33623 char * kwnames
[] = {
33624 (char *) "self",(char *) "win", NULL
33627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33629 if (!SWIG_IsOK(res1
)) {
33630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33632 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33634 if (!SWIG_IsOK(res2
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
33637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33640 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= SWIG_From_int(static_cast< int >(result
));
33651 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
= 0;
33653 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33654 wxWindow
*arg2
= (wxWindow
*) 0 ;
33657 int arg5
= (int) 0 ;
33667 PyObject
* obj0
= 0 ;
33668 PyObject
* obj1
= 0 ;
33669 PyObject
* obj2
= 0 ;
33670 PyObject
* obj3
= 0 ;
33671 PyObject
* obj4
= 0 ;
33672 char * kwnames
[] = {
33673 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
33676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33678 if (!SWIG_IsOK(res1
)) {
33679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33681 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33683 if (!SWIG_IsOK(res2
)) {
33684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33686 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33687 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33688 if (!SWIG_IsOK(res3
)) {
33689 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
33692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
33694 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33697 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33700 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33701 if (!SWIG_IsOK(ecode5
)) {
33702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
33704 arg5
= static_cast< int >(val5
);
33707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33708 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
33709 wxPyEndAllowThreads(__tstate
);
33710 if (PyErr_Occurred()) SWIG_fail
;
33712 resultobj
= SWIG_Py_Void();
33719 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33720 PyObject
*resultobj
= 0;
33721 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33722 wxWindow
*arg2
= (wxWindow
*) 0 ;
33725 int arg5
= (int) 0 ;
33735 PyObject
* obj0
= 0 ;
33736 PyObject
* obj1
= 0 ;
33737 PyObject
* obj2
= 0 ;
33738 PyObject
* obj3
= 0 ;
33739 PyObject
* obj4
= 0 ;
33740 char * kwnames
[] = {
33741 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
33744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33746 if (!SWIG_IsOK(res1
)) {
33747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33749 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33750 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33751 if (!SWIG_IsOK(res2
)) {
33752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
33754 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33755 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33756 if (!SWIG_IsOK(res3
)) {
33757 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
33760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
33762 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33765 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33768 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33769 if (!SWIG_IsOK(ecode5
)) {
33770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
33772 arg5
= static_cast< int >(val5
);
33775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33776 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
33777 wxPyEndAllowThreads(__tstate
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33780 resultobj
= SWIG_Py_Void();
33787 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33788 PyObject
*resultobj
= 0;
33789 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33790 wxWindow
*arg2
= (wxWindow
*) 0 ;
33794 wxOrientation arg6
;
33795 int arg7
= (int) 0 ;
33809 PyObject
* obj0
= 0 ;
33810 PyObject
* obj1
= 0 ;
33811 PyObject
* obj2
= 0 ;
33812 PyObject
* obj3
= 0 ;
33813 PyObject
* obj4
= 0 ;
33814 PyObject
* obj5
= 0 ;
33815 PyObject
* obj6
= 0 ;
33816 char * kwnames
[] = {
33817 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
33820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33822 if (!SWIG_IsOK(res1
)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33825 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33827 if (!SWIG_IsOK(res2
)) {
33828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
33830 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33831 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33832 if (!SWIG_IsOK(res3
)) {
33833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
33836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
33838 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33841 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33844 if (!SWIG_IsOK(ecode5
)) {
33845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
33847 arg5
= static_cast< int >(val5
);
33848 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33849 if (!SWIG_IsOK(ecode6
)) {
33850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
33852 arg6
= static_cast< wxOrientation
>(val6
);
33854 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
33855 if (!SWIG_IsOK(ecode7
)) {
33856 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
33858 arg7
= static_cast< int >(val7
);
33861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33862 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
33863 wxPyEndAllowThreads(__tstate
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33866 resultobj
= SWIG_Py_Void();
33873 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33874 PyObject
*resultobj
= 0;
33875 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33876 wxWindow
*arg2
= (wxWindow
*) 0 ;
33879 int arg5
= (int) 0 ;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 PyObject
* obj2
= 0 ;
33892 PyObject
* obj3
= 0 ;
33893 PyObject
* obj4
= 0 ;
33894 char * kwnames
[] = {
33895 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
33898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33900 if (!SWIG_IsOK(res1
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33903 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33905 if (!SWIG_IsOK(res2
)) {
33906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33909 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33910 if (!SWIG_IsOK(res3
)) {
33911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
33914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
33916 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33919 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33922 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33923 if (!SWIG_IsOK(ecode5
)) {
33924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
33926 arg5
= static_cast< int >(val5
);
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33934 resultobj
= SWIG_Py_Void();
33941 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33942 PyObject
*resultobj
= 0;
33943 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33944 wxWindow
*arg2
= (wxWindow
*) 0 ;
33947 int arg5
= (int) 0 ;
33957 PyObject
* obj0
= 0 ;
33958 PyObject
* obj1
= 0 ;
33959 PyObject
* obj2
= 0 ;
33960 PyObject
* obj3
= 0 ;
33961 PyObject
* obj4
= 0 ;
33962 char * kwnames
[] = {
33963 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
33966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33968 if (!SWIG_IsOK(res1
)) {
33969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33971 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33972 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33973 if (!SWIG_IsOK(res2
)) {
33974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
33976 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33977 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33978 if (!SWIG_IsOK(res3
)) {
33979 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
33982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
33984 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33987 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33990 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33991 if (!SWIG_IsOK(ecode5
)) {
33992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
33994 arg5
= static_cast< int >(val5
);
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
33999 wxPyEndAllowThreads(__tstate
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34002 resultobj
= SWIG_Py_Void();
34009 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34010 PyObject
*resultobj
= 0;
34011 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34012 wxWindow
*arg2
= (wxWindow
*) 0 ;
34015 int arg5
= (int) 0 ;
34025 PyObject
* obj0
= 0 ;
34026 PyObject
* obj1
= 0 ;
34027 PyObject
* obj2
= 0 ;
34028 PyObject
* obj3
= 0 ;
34029 PyObject
* obj4
= 0 ;
34030 char * kwnames
[] = {
34031 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34036 if (!SWIG_IsOK(res1
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34039 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34041 if (!SWIG_IsOK(res2
)) {
34042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34044 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34045 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34046 if (!SWIG_IsOK(res3
)) {
34047 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34052 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34055 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34058 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34059 if (!SWIG_IsOK(ecode5
)) {
34060 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34062 arg5
= static_cast< int >(val5
);
34065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34066 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34067 wxPyEndAllowThreads(__tstate
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34070 resultobj
= SWIG_Py_Void();
34077 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34078 PyObject
*resultobj
= 0;
34079 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34080 wxWindow
*arg2
= (wxWindow
*) 0 ;
34083 int arg5
= (int) 0 ;
34093 PyObject
* obj0
= 0 ;
34094 PyObject
* obj1
= 0 ;
34095 PyObject
* obj2
= 0 ;
34096 PyObject
* obj3
= 0 ;
34097 PyObject
* obj4
= 0 ;
34098 char * kwnames
[] = {
34099 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34107 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34109 if (!SWIG_IsOK(res2
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34112 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34113 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34114 if (!SWIG_IsOK(res3
)) {
34115 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34120 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34123 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34126 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34127 if (!SWIG_IsOK(ecode5
)) {
34128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34130 arg5
= static_cast< int >(val5
);
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= SWIG_Py_Void();
34145 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34146 PyObject
*resultobj
= 0;
34147 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34148 wxWindow
*arg2
= (wxWindow
*) 0 ;
34151 int arg5
= (int) 0 ;
34161 PyObject
* obj0
= 0 ;
34162 PyObject
* obj1
= 0 ;
34163 PyObject
* obj2
= 0 ;
34164 PyObject
* obj3
= 0 ;
34165 PyObject
* obj4
= 0 ;
34166 char * kwnames
[] = {
34167 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34172 if (!SWIG_IsOK(res1
)) {
34173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34175 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34177 if (!SWIG_IsOK(res2
)) {
34178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34180 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34181 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34182 if (!SWIG_IsOK(res3
)) {
34183 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34188 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34191 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34194 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34195 if (!SWIG_IsOK(ecode5
)) {
34196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34198 arg5
= static_cast< int >(val5
);
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34206 resultobj
= SWIG_Py_Void();
34213 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
= 0;
34215 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34216 wxWindow
*arg2
= (wxWindow
*) 0 ;
34217 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34222 PyObject
* obj0
= 0 ;
34223 PyObject
* obj1
= 0 ;
34224 char * kwnames
[] = {
34225 (char *) "self",(char *) "win", NULL
34228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34230 if (!SWIG_IsOK(res1
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34233 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34235 if (!SWIG_IsOK(res2
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34238 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34242 wxPyEndAllowThreads(__tstate
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34245 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34252 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34253 PyObject
*resultobj
= 0;
34254 wxRendererNative
*result
= 0 ;
34256 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34258 if (!wxPyCheckForApp()) SWIG_fail
;
34259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34261 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34262 result
= (wxRendererNative
*) &_result_ref
;
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34274 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34275 PyObject
*resultobj
= 0;
34276 wxRendererNative
*result
= 0 ;
34278 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34280 if (!wxPyCheckForApp()) SWIG_fail
;
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34284 result
= (wxRendererNative
*) &_result_ref
;
34286 wxPyEndAllowThreads(__tstate
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34296 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34297 PyObject
*resultobj
= 0;
34298 wxRendererNative
*result
= 0 ;
34300 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34302 if (!wxPyCheckForApp()) SWIG_fail
;
34303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34305 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34306 result
= (wxRendererNative
*) &_result_ref
;
34308 wxPyEndAllowThreads(__tstate
);
34309 if (PyErr_Occurred()) SWIG_fail
;
34311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34318 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34319 PyObject
*resultobj
= 0;
34320 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34321 wxRendererNative
*result
= 0 ;
34324 PyObject
* obj0
= 0 ;
34325 char * kwnames
[] = {
34326 (char *) "renderer", NULL
34329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34331 if (!SWIG_IsOK(res1
)) {
34332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34334 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34336 if (!wxPyCheckForApp()) SWIG_fail
;
34337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34338 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34349 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34350 PyObject
*resultobj
= 0;
34351 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34352 SwigValueWrapper
<wxRendererVersion
> result
;
34355 PyObject
*swig_obj
[1] ;
34357 if (!args
) SWIG_fail
;
34358 swig_obj
[0] = args
;
34359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34360 if (!SWIG_IsOK(res1
)) {
34361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34363 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34367 wxPyEndAllowThreads(__tstate
);
34368 if (PyErr_Occurred()) SWIG_fail
;
34370 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34377 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34380 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34381 return SWIG_Py_Void();
34384 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34385 PyObject
*resultobj
= 0;
34386 wxPseudoDC
*result
= 0 ;
34388 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 result
= (wxPseudoDC
*)new wxPseudoDC();
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34402 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34403 PyObject
*resultobj
= 0;
34404 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34407 PyObject
*swig_obj
[1] ;
34409 if (!args
) SWIG_fail
;
34410 swig_obj
[0] = args
;
34411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34412 if (!SWIG_IsOK(res1
)) {
34413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34415 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34418 (arg1
)->BeginDrawing();
34419 wxPyEndAllowThreads(__tstate
);
34420 if (PyErr_Occurred()) SWIG_fail
;
34422 resultobj
= SWIG_Py_Void();
34429 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34430 PyObject
*resultobj
= 0;
34431 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34434 PyObject
*swig_obj
[1] ;
34436 if (!args
) SWIG_fail
;
34437 swig_obj
[0] = args
;
34438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34439 if (!SWIG_IsOK(res1
)) {
34440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34442 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34445 (arg1
)->EndDrawing();
34446 wxPyEndAllowThreads(__tstate
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34449 resultobj
= SWIG_Py_Void();
34456 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34457 PyObject
*resultobj
= 0;
34458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34461 PyObject
*swig_obj
[1] ;
34463 if (!args
) SWIG_fail
;
34464 swig_obj
[0] = args
;
34465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34466 if (!SWIG_IsOK(res1
)) {
34467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34469 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34477 resultobj
= SWIG_Py_Void();
34484 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34485 PyObject
*resultobj
= 0;
34486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34489 PyObject
*swig_obj
[1] ;
34491 if (!args
) SWIG_fail
;
34492 swig_obj
[0] = args
;
34493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34494 if (!SWIG_IsOK(res1
)) {
34495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34500 (arg1
)->RemoveAll();
34501 wxPyEndAllowThreads(__tstate
);
34502 if (PyErr_Occurred()) SWIG_fail
;
34504 resultobj
= SWIG_Py_Void();
34511 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34512 PyObject
*resultobj
= 0;
34513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34517 PyObject
*swig_obj
[1] ;
34519 if (!args
) SWIG_fail
;
34520 swig_obj
[0] = args
;
34521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34522 if (!SWIG_IsOK(res1
)) {
34523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34528 result
= (int)(arg1
)->GetLen();
34529 wxPyEndAllowThreads(__tstate
);
34530 if (PyErr_Occurred()) SWIG_fail
;
34532 resultobj
= SWIG_From_int(static_cast< int >(result
));
34539 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34540 PyObject
*resultobj
= 0;
34541 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34547 PyObject
* obj0
= 0 ;
34548 PyObject
* obj1
= 0 ;
34549 char * kwnames
[] = {
34550 (char *) "self",(char *) "id", NULL
34553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34555 if (!SWIG_IsOK(res1
)) {
34556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34558 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34560 if (!SWIG_IsOK(ecode2
)) {
34561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
34563 arg2
= static_cast< int >(val2
);
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 (arg1
)->SetId(arg2
);
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= SWIG_Py_Void();
34577 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34578 PyObject
*resultobj
= 0;
34579 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34585 PyObject
* obj0
= 0 ;
34586 PyObject
* obj1
= 0 ;
34587 char * kwnames
[] = {
34588 (char *) "self",(char *) "id", NULL
34591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34593 if (!SWIG_IsOK(res1
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34598 if (!SWIG_IsOK(ecode2
)) {
34599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
34601 arg2
= static_cast< int >(val2
);
34603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34604 (arg1
)->ClearId(arg2
);
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34608 resultobj
= SWIG_Py_Void();
34615 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
= 0;
34617 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34623 PyObject
* obj0
= 0 ;
34624 PyObject
* obj1
= 0 ;
34625 char * kwnames
[] = {
34626 (char *) "self",(char *) "id", NULL
34629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34631 if (!SWIG_IsOK(res1
)) {
34632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34634 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34636 if (!SWIG_IsOK(ecode2
)) {
34637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
34639 arg2
= static_cast< int >(val2
);
34641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34642 (arg1
)->RemoveId(arg2
);
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= SWIG_Py_Void();
34653 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34654 PyObject
*resultobj
= 0;
34655 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34667 PyObject
* obj0
= 0 ;
34668 PyObject
* obj1
= 0 ;
34669 PyObject
* obj2
= 0 ;
34670 PyObject
* obj3
= 0 ;
34671 char * kwnames
[] = {
34672 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
34675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34677 if (!SWIG_IsOK(res1
)) {
34678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34680 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34682 if (!SWIG_IsOK(ecode2
)) {
34683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
34685 arg2
= static_cast< int >(val2
);
34686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34687 if (!SWIG_IsOK(ecode3
)) {
34688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
34690 arg3
= static_cast< int >(val3
);
34691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34692 if (!SWIG_IsOK(ecode4
)) {
34693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
34695 arg4
= static_cast< int >(val4
);
34697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34698 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34702 resultobj
= SWIG_Py_Void();
34709 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34710 PyObject
*resultobj
= 0;
34711 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34713 bool arg3
= (bool) true ;
34720 PyObject
* obj0
= 0 ;
34721 PyObject
* obj1
= 0 ;
34722 PyObject
* obj2
= 0 ;
34723 char * kwnames
[] = {
34724 (char *) "self",(char *) "id",(char *) "greyout", NULL
34727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34729 if (!SWIG_IsOK(res1
)) {
34730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34734 if (!SWIG_IsOK(ecode2
)) {
34735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
34737 arg2
= static_cast< int >(val2
);
34739 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34740 if (!SWIG_IsOK(ecode3
)) {
34741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
34743 arg3
= static_cast< bool >(val3
);
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34751 resultobj
= SWIG_Py_Void();
34758 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34759 PyObject
*resultobj
= 0;
34760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34767 PyObject
* obj0
= 0 ;
34768 PyObject
* obj1
= 0 ;
34769 char * kwnames
[] = {
34770 (char *) "self",(char *) "id", NULL
34773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34775 if (!SWIG_IsOK(res1
)) {
34776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34778 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34780 if (!SWIG_IsOK(ecode2
)) {
34781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
34783 arg2
= static_cast< int >(val2
);
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34799 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34800 PyObject
*resultobj
= 0;
34801 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34804 int arg4
= (int) 1 ;
34805 wxColor
const &arg5_defvalue
= *wxWHITE
;
34806 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
34807 PyObject
*result
= 0 ;
34818 PyObject
* obj0
= 0 ;
34819 PyObject
* obj1
= 0 ;
34820 PyObject
* obj2
= 0 ;
34821 PyObject
* obj3
= 0 ;
34822 PyObject
* obj4
= 0 ;
34823 char * kwnames
[] = {
34824 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
34827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34829 if (!SWIG_IsOK(res1
)) {
34830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34834 if (!SWIG_IsOK(ecode2
)) {
34835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
34837 arg2
= static_cast< int >(val2
);
34838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34839 if (!SWIG_IsOK(ecode3
)) {
34840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
34842 arg3
= static_cast< int >(val3
);
34844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34845 if (!SWIG_IsOK(ecode4
)) {
34846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
34848 arg4
= static_cast< int >(val4
);
34851 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
34852 if (!SWIG_IsOK(res5
)) {
34853 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
34856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
34858 arg5
= reinterpret_cast< wxColor
* >(argp5
);
34861 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34864 resultobj
= result
;
34871 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34872 PyObject
*resultobj
= 0;
34873 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34876 PyObject
*result
= 0 ;
34883 PyObject
* obj0
= 0 ;
34884 PyObject
* obj1
= 0 ;
34885 PyObject
* obj2
= 0 ;
34886 char * kwnames
[] = {
34887 (char *) "self",(char *) "x",(char *) "y", NULL
34890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34892 if (!SWIG_IsOK(res1
)) {
34893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34897 if (!SWIG_IsOK(ecode2
)) {
34898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
34900 arg2
= static_cast< int >(val2
);
34901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34902 if (!SWIG_IsOK(ecode3
)) {
34903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
34905 arg3
= static_cast< int >(val3
);
34907 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= result
;
34917 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34918 PyObject
*resultobj
= 0;
34919 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34921 wxDC
*arg3
= (wxDC
*) 0 ;
34928 PyObject
* obj0
= 0 ;
34929 PyObject
* obj1
= 0 ;
34930 PyObject
* obj2
= 0 ;
34931 char * kwnames
[] = {
34932 (char *) "self",(char *) "id",(char *) "dc", NULL
34935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34937 if (!SWIG_IsOK(res1
)) {
34938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34940 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34942 if (!SWIG_IsOK(ecode2
)) {
34943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
34945 arg2
= static_cast< int >(val2
);
34946 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
34947 if (!SWIG_IsOK(res3
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
34950 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 (arg1
)->DrawIdToDC(arg2
,arg3
);
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 resultobj
= SWIG_Py_Void();
34964 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34965 PyObject
*resultobj
= 0;
34966 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 PyObject
* obj2
= 0 ;
34977 char * kwnames
[] = {
34978 (char *) "self",(char *) "id",(char *) "rect", NULL
34981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34983 if (!SWIG_IsOK(res1
)) {
34984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34986 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34988 if (!SWIG_IsOK(ecode2
)) {
34989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
34991 arg2
= static_cast< int >(val2
);
34994 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34998 (arg1
)->SetIdBounds(arg2
,*arg3
);
34999 wxPyEndAllowThreads(__tstate
);
35000 if (PyErr_Occurred()) SWIG_fail
;
35002 resultobj
= SWIG_Py_Void();
35009 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35010 PyObject
*resultobj
= 0;
35011 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35018 PyObject
* obj0
= 0 ;
35019 PyObject
* obj1
= 0 ;
35020 char * kwnames
[] = {
35021 (char *) "self",(char *) "id", NULL
35024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35026 if (!SWIG_IsOK(res1
)) {
35027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35029 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35031 if (!SWIG_IsOK(ecode2
)) {
35032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35034 arg2
= static_cast< int >(val2
);
35036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35037 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35038 wxPyEndAllowThreads(__tstate
);
35039 if (PyErr_Occurred()) SWIG_fail
;
35041 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35048 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35049 PyObject
*resultobj
= 0;
35050 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35051 wxDC
*arg2
= (wxDC
*) 0 ;
35058 PyObject
* obj0
= 0 ;
35059 PyObject
* obj1
= 0 ;
35060 PyObject
* obj2
= 0 ;
35061 char * kwnames
[] = {
35062 (char *) "self",(char *) "dc",(char *) "rect", NULL
35065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35067 if (!SWIG_IsOK(res1
)) {
35068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35070 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35072 if (!SWIG_IsOK(res2
)) {
35073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35075 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35078 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35083 wxPyEndAllowThreads(__tstate
);
35084 if (PyErr_Occurred()) SWIG_fail
;
35086 resultobj
= SWIG_Py_Void();
35093 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35094 PyObject
*resultobj
= 0;
35095 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35096 wxDC
*arg2
= (wxDC
*) 0 ;
35097 wxRegion
*arg3
= 0 ;
35104 PyObject
* obj0
= 0 ;
35105 PyObject
* obj1
= 0 ;
35106 PyObject
* obj2
= 0 ;
35107 char * kwnames
[] = {
35108 (char *) "self",(char *) "dc",(char *) "region", NULL
35111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35113 if (!SWIG_IsOK(res1
)) {
35114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35118 if (!SWIG_IsOK(res2
)) {
35119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35121 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35122 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35123 if (!SWIG_IsOK(res3
)) {
35124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35129 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35133 wxPyEndAllowThreads(__tstate
);
35134 if (PyErr_Occurred()) SWIG_fail
;
35136 resultobj
= SWIG_Py_Void();
35143 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35144 PyObject
*resultobj
= 0;
35145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35146 wxDC
*arg2
= (wxDC
*) 0 ;
35151 PyObject
* obj0
= 0 ;
35152 PyObject
* obj1
= 0 ;
35153 char * kwnames
[] = {
35154 (char *) "self",(char *) "dc", NULL
35157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35159 if (!SWIG_IsOK(res1
)) {
35160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35162 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35164 if (!SWIG_IsOK(res2
)) {
35165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35167 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 (arg1
)->DrawToDC(arg2
);
35171 wxPyEndAllowThreads(__tstate
);
35172 if (PyErr_Occurred()) SWIG_fail
;
35174 resultobj
= SWIG_Py_Void();
35181 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35182 PyObject
*resultobj
= 0;
35183 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35186 wxColour
*arg4
= 0 ;
35187 int arg5
= (int) wxFLOOD_SURFACE
;
35197 PyObject
* obj0
= 0 ;
35198 PyObject
* obj1
= 0 ;
35199 PyObject
* obj2
= 0 ;
35200 PyObject
* obj3
= 0 ;
35201 PyObject
* obj4
= 0 ;
35202 char * kwnames
[] = {
35203 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35208 if (!SWIG_IsOK(res1
)) {
35209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35213 if (!SWIG_IsOK(ecode2
)) {
35214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35216 arg2
= static_cast< int >(val2
);
35217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35218 if (!SWIG_IsOK(ecode3
)) {
35219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35221 arg3
= static_cast< int >(val3
);
35224 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35227 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35228 if (!SWIG_IsOK(ecode5
)) {
35229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35231 arg5
= static_cast< int >(val5
);
35234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35235 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35236 wxPyEndAllowThreads(__tstate
);
35237 if (PyErr_Occurred()) SWIG_fail
;
35239 resultobj
= SWIG_Py_Void();
35246 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35247 PyObject
*resultobj
= 0;
35248 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35249 wxPoint
*arg2
= 0 ;
35250 wxColour
*arg3
= 0 ;
35251 int arg4
= (int) wxFLOOD_SURFACE
;
35258 PyObject
* obj0
= 0 ;
35259 PyObject
* obj1
= 0 ;
35260 PyObject
* obj2
= 0 ;
35261 PyObject
* obj3
= 0 ;
35262 char * kwnames
[] = {
35263 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35268 if (!SWIG_IsOK(res1
)) {
35269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35271 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35278 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35282 if (!SWIG_IsOK(ecode4
)) {
35283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35285 arg4
= static_cast< int >(val4
);
35288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35289 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35290 wxPyEndAllowThreads(__tstate
);
35291 if (PyErr_Occurred()) SWIG_fail
;
35293 resultobj
= SWIG_Py_Void();
35300 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35301 PyObject
*resultobj
= 0;
35302 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35317 PyObject
* obj0
= 0 ;
35318 PyObject
* obj1
= 0 ;
35319 PyObject
* obj2
= 0 ;
35320 PyObject
* obj3
= 0 ;
35321 PyObject
* obj4
= 0 ;
35322 char * kwnames
[] = {
35323 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35328 if (!SWIG_IsOK(res1
)) {
35329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35331 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35333 if (!SWIG_IsOK(ecode2
)) {
35334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35336 arg2
= static_cast< int >(val2
);
35337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35338 if (!SWIG_IsOK(ecode3
)) {
35339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35341 arg3
= static_cast< int >(val3
);
35342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35343 if (!SWIG_IsOK(ecode4
)) {
35344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35346 arg4
= static_cast< int >(val4
);
35347 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35348 if (!SWIG_IsOK(ecode5
)) {
35349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35351 arg5
= static_cast< int >(val5
);
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= SWIG_Py_Void();
35365 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35366 PyObject
*resultobj
= 0;
35367 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35368 wxPoint
*arg2
= 0 ;
35369 wxPoint
*arg3
= 0 ;
35374 PyObject
* obj0
= 0 ;
35375 PyObject
* obj1
= 0 ;
35376 PyObject
* obj2
= 0 ;
35377 char * kwnames
[] = {
35378 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35383 if (!SWIG_IsOK(res1
)) {
35384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35386 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35393 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35397 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35398 wxPyEndAllowThreads(__tstate
);
35399 if (PyErr_Occurred()) SWIG_fail
;
35401 resultobj
= SWIG_Py_Void();
35408 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
= 0;
35410 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35419 PyObject
* obj0
= 0 ;
35420 PyObject
* obj1
= 0 ;
35421 PyObject
* obj2
= 0 ;
35422 char * kwnames
[] = {
35423 (char *) "self",(char *) "x",(char *) "y", NULL
35426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35428 if (!SWIG_IsOK(res1
)) {
35429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35431 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35433 if (!SWIG_IsOK(ecode2
)) {
35434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35436 arg2
= static_cast< int >(val2
);
35437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35438 if (!SWIG_IsOK(ecode3
)) {
35439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35441 arg3
= static_cast< int >(val3
);
35443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35444 (arg1
)->CrossHair(arg2
,arg3
);
35445 wxPyEndAllowThreads(__tstate
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35448 resultobj
= SWIG_Py_Void();
35455 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35456 PyObject
*resultobj
= 0;
35457 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35458 wxPoint
*arg2
= 0 ;
35462 PyObject
* obj0
= 0 ;
35463 PyObject
* obj1
= 0 ;
35464 char * kwnames
[] = {
35465 (char *) "self",(char *) "pt", NULL
35468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35470 if (!SWIG_IsOK(res1
)) {
35471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35473 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35480 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35484 resultobj
= SWIG_Py_Void();
35491 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
= 0;
35493 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35514 PyObject
* obj0
= 0 ;
35515 PyObject
* obj1
= 0 ;
35516 PyObject
* obj2
= 0 ;
35517 PyObject
* obj3
= 0 ;
35518 PyObject
* obj4
= 0 ;
35519 PyObject
* obj5
= 0 ;
35520 PyObject
* obj6
= 0 ;
35521 char * kwnames
[] = {
35522 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
35525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35527 if (!SWIG_IsOK(res1
)) {
35528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35530 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35532 if (!SWIG_IsOK(ecode2
)) {
35533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
35535 arg2
= static_cast< int >(val2
);
35536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35537 if (!SWIG_IsOK(ecode3
)) {
35538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
35540 arg3
= static_cast< int >(val3
);
35541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35542 if (!SWIG_IsOK(ecode4
)) {
35543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
35545 arg4
= static_cast< int >(val4
);
35546 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35547 if (!SWIG_IsOK(ecode5
)) {
35548 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
35550 arg5
= static_cast< int >(val5
);
35551 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35552 if (!SWIG_IsOK(ecode6
)) {
35553 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
35555 arg6
= static_cast< int >(val6
);
35556 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35557 if (!SWIG_IsOK(ecode7
)) {
35558 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
35560 arg7
= static_cast< int >(val7
);
35562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35564 wxPyEndAllowThreads(__tstate
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35567 resultobj
= SWIG_Py_Void();
35574 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35575 PyObject
*resultobj
= 0;
35576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35577 wxPoint
*arg2
= 0 ;
35578 wxPoint
*arg3
= 0 ;
35579 wxPoint
*arg4
= 0 ;
35585 PyObject
* obj0
= 0 ;
35586 PyObject
* obj1
= 0 ;
35587 PyObject
* obj2
= 0 ;
35588 PyObject
* obj3
= 0 ;
35589 char * kwnames
[] = {
35590 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
35593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35595 if (!SWIG_IsOK(res1
)) {
35596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35613 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
35614 wxPyEndAllowThreads(__tstate
);
35615 if (PyErr_Occurred()) SWIG_fail
;
35617 resultobj
= SWIG_Py_Void();
35624 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35625 PyObject
*resultobj
= 0;
35626 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35641 PyObject
* obj0
= 0 ;
35642 PyObject
* obj1
= 0 ;
35643 PyObject
* obj2
= 0 ;
35644 PyObject
* obj3
= 0 ;
35645 PyObject
* obj4
= 0 ;
35646 char * kwnames
[] = {
35647 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35652 if (!SWIG_IsOK(res1
)) {
35653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35655 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35657 if (!SWIG_IsOK(ecode2
)) {
35658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
35660 arg2
= static_cast< int >(val2
);
35661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35662 if (!SWIG_IsOK(ecode3
)) {
35663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
35665 arg3
= static_cast< int >(val3
);
35666 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35667 if (!SWIG_IsOK(ecode4
)) {
35668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
35670 arg4
= static_cast< int >(val4
);
35671 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35672 if (!SWIG_IsOK(ecode5
)) {
35673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
35675 arg5
= static_cast< int >(val5
);
35677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35678 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
35679 wxPyEndAllowThreads(__tstate
);
35680 if (PyErr_Occurred()) SWIG_fail
;
35682 resultobj
= SWIG_Py_Void();
35689 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35690 PyObject
*resultobj
= 0;
35691 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 char * kwnames
[] = {
35699 (char *) "self",(char *) "rect", NULL
35702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35704 if (!SWIG_IsOK(res1
)) {
35705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35707 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35710 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
35713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35714 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
35715 wxPyEndAllowThreads(__tstate
);
35716 if (PyErr_Occurred()) SWIG_fail
;
35718 resultobj
= SWIG_Py_Void();
35725 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35726 PyObject
*resultobj
= 0;
35727 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35748 PyObject
* obj0
= 0 ;
35749 PyObject
* obj1
= 0 ;
35750 PyObject
* obj2
= 0 ;
35751 PyObject
* obj3
= 0 ;
35752 PyObject
* obj4
= 0 ;
35753 PyObject
* obj5
= 0 ;
35754 PyObject
* obj6
= 0 ;
35755 char * kwnames
[] = {
35756 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
35759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35761 if (!SWIG_IsOK(res1
)) {
35762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35764 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35766 if (!SWIG_IsOK(ecode2
)) {
35767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
35769 arg2
= static_cast< int >(val2
);
35770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35771 if (!SWIG_IsOK(ecode3
)) {
35772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
35774 arg3
= static_cast< int >(val3
);
35775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35776 if (!SWIG_IsOK(ecode4
)) {
35777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
35779 arg4
= static_cast< int >(val4
);
35780 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35781 if (!SWIG_IsOK(ecode5
)) {
35782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
35784 arg5
= static_cast< int >(val5
);
35785 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
35786 if (!SWIG_IsOK(ecode6
)) {
35787 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
35789 arg6
= static_cast< double >(val6
);
35790 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
35791 if (!SWIG_IsOK(ecode7
)) {
35792 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
35794 arg7
= static_cast< double >(val7
);
35796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35797 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35801 resultobj
= SWIG_Py_Void();
35808 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
= 0;
35810 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35811 wxPoint
*arg2
= 0 ;
35823 PyObject
* obj0
= 0 ;
35824 PyObject
* obj1
= 0 ;
35825 PyObject
* obj2
= 0 ;
35826 PyObject
* obj3
= 0 ;
35827 PyObject
* obj4
= 0 ;
35828 char * kwnames
[] = {
35829 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
35832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35834 if (!SWIG_IsOK(res1
)) {
35835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35837 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35840 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35844 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35846 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
35847 if (!SWIG_IsOK(ecode4
)) {
35848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
35850 arg4
= static_cast< double >(val4
);
35851 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
35852 if (!SWIG_IsOK(ecode5
)) {
35853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
35855 arg5
= static_cast< double >(val5
);
35857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35858 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35862 resultobj
= SWIG_Py_Void();
35869 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
= 0;
35871 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35880 PyObject
* obj0
= 0 ;
35881 PyObject
* obj1
= 0 ;
35882 PyObject
* obj2
= 0 ;
35883 char * kwnames
[] = {
35884 (char *) "self",(char *) "x",(char *) "y", NULL
35887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35889 if (!SWIG_IsOK(res1
)) {
35890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35894 if (!SWIG_IsOK(ecode2
)) {
35895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
35897 arg2
= static_cast< int >(val2
);
35898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35899 if (!SWIG_IsOK(ecode3
)) {
35900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
35902 arg3
= static_cast< int >(val3
);
35904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35905 (arg1
)->DrawPoint(arg2
,arg3
);
35906 wxPyEndAllowThreads(__tstate
);
35907 if (PyErr_Occurred()) SWIG_fail
;
35909 resultobj
= SWIG_Py_Void();
35916 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
= 0;
35918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35919 wxPoint
*arg2
= 0 ;
35923 PyObject
* obj0
= 0 ;
35924 PyObject
* obj1
= 0 ;
35925 char * kwnames
[] = {
35926 (char *) "self",(char *) "pt", NULL
35929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35931 if (!SWIG_IsOK(res1
)) {
35932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35934 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35941 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
35942 wxPyEndAllowThreads(__tstate
);
35943 if (PyErr_Occurred()) SWIG_fail
;
35945 resultobj
= SWIG_Py_Void();
35952 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35953 PyObject
*resultobj
= 0;
35954 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35969 PyObject
* obj0
= 0 ;
35970 PyObject
* obj1
= 0 ;
35971 PyObject
* obj2
= 0 ;
35972 PyObject
* obj3
= 0 ;
35973 PyObject
* obj4
= 0 ;
35974 char * kwnames
[] = {
35975 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35980 if (!SWIG_IsOK(res1
)) {
35981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35983 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35985 if (!SWIG_IsOK(ecode2
)) {
35986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
35988 arg2
= static_cast< int >(val2
);
35989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35990 if (!SWIG_IsOK(ecode3
)) {
35991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
35993 arg3
= static_cast< int >(val3
);
35994 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35995 if (!SWIG_IsOK(ecode4
)) {
35996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
35998 arg4
= static_cast< int >(val4
);
35999 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36000 if (!SWIG_IsOK(ecode5
)) {
36001 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36003 arg5
= static_cast< int >(val5
);
36005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36006 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= SWIG_Py_Void();
36017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36024 PyObject
* obj0
= 0 ;
36025 PyObject
* obj1
= 0 ;
36026 char * kwnames
[] = {
36027 (char *) "self",(char *) "rect", NULL
36030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36032 if (!SWIG_IsOK(res1
)) {
36033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36038 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36042 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36043 wxPyEndAllowThreads(__tstate
);
36044 if (PyErr_Occurred()) SWIG_fail
;
36046 resultobj
= SWIG_Py_Void();
36053 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36054 PyObject
*resultobj
= 0;
36055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36056 wxPoint
*arg2
= 0 ;
36062 PyObject
* obj0
= 0 ;
36063 PyObject
* obj1
= 0 ;
36064 PyObject
* obj2
= 0 ;
36065 char * kwnames
[] = {
36066 (char *) "self",(char *) "pt",(char *) "sz", NULL
36069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36071 if (!SWIG_IsOK(res1
)) {
36072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36074 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36081 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36085 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36086 wxPyEndAllowThreads(__tstate
);
36087 if (PyErr_Occurred()) SWIG_fail
;
36089 resultobj
= SWIG_Py_Void();
36096 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36097 PyObject
*resultobj
= 0;
36098 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36116 PyObject
* obj0
= 0 ;
36117 PyObject
* obj1
= 0 ;
36118 PyObject
* obj2
= 0 ;
36119 PyObject
* obj3
= 0 ;
36120 PyObject
* obj4
= 0 ;
36121 PyObject
* obj5
= 0 ;
36122 char * kwnames
[] = {
36123 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36128 if (!SWIG_IsOK(res1
)) {
36129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36131 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36133 if (!SWIG_IsOK(ecode2
)) {
36134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36136 arg2
= static_cast< int >(val2
);
36137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36138 if (!SWIG_IsOK(ecode3
)) {
36139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36141 arg3
= static_cast< int >(val3
);
36142 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36143 if (!SWIG_IsOK(ecode4
)) {
36144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36146 arg4
= static_cast< int >(val4
);
36147 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36148 if (!SWIG_IsOK(ecode5
)) {
36149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36151 arg5
= static_cast< int >(val5
);
36152 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36153 if (!SWIG_IsOK(ecode6
)) {
36154 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36156 arg6
= static_cast< double >(val6
);
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36163 resultobj
= SWIG_Py_Void();
36170 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36171 PyObject
*resultobj
= 0;
36172 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36180 PyObject
* obj0
= 0 ;
36181 PyObject
* obj1
= 0 ;
36182 PyObject
* obj2
= 0 ;
36183 char * kwnames
[] = {
36184 (char *) "self",(char *) "r",(char *) "radius", NULL
36187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36189 if (!SWIG_IsOK(res1
)) {
36190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36195 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36197 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36198 if (!SWIG_IsOK(ecode3
)) {
36199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36201 arg3
= static_cast< double >(val3
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_Py_Void();
36215 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
= 0;
36217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36218 wxPoint
*arg2
= 0 ;
36227 PyObject
* obj0
= 0 ;
36228 PyObject
* obj1
= 0 ;
36229 PyObject
* obj2
= 0 ;
36230 PyObject
* obj3
= 0 ;
36231 char * kwnames
[] = {
36232 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36237 if (!SWIG_IsOK(res1
)) {
36238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36240 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36247 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36249 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36250 if (!SWIG_IsOK(ecode4
)) {
36251 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36253 arg4
= static_cast< double >(val4
);
36255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36256 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36257 wxPyEndAllowThreads(__tstate
);
36258 if (PyErr_Occurred()) SWIG_fail
;
36260 resultobj
= SWIG_Py_Void();
36267 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36268 PyObject
*resultobj
= 0;
36269 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36281 PyObject
* obj0
= 0 ;
36282 PyObject
* obj1
= 0 ;
36283 PyObject
* obj2
= 0 ;
36284 PyObject
* obj3
= 0 ;
36285 char * kwnames
[] = {
36286 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36291 if (!SWIG_IsOK(res1
)) {
36292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36296 if (!SWIG_IsOK(ecode2
)) {
36297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36299 arg2
= static_cast< int >(val2
);
36300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36301 if (!SWIG_IsOK(ecode3
)) {
36302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36304 arg3
= static_cast< int >(val3
);
36305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36306 if (!SWIG_IsOK(ecode4
)) {
36307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36309 arg4
= static_cast< int >(val4
);
36311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36312 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36313 wxPyEndAllowThreads(__tstate
);
36314 if (PyErr_Occurred()) SWIG_fail
;
36316 resultobj
= SWIG_Py_Void();
36323 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36324 PyObject
*resultobj
= 0;
36325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36326 wxPoint
*arg2
= 0 ;
36333 PyObject
* obj0
= 0 ;
36334 PyObject
* obj1
= 0 ;
36335 PyObject
* obj2
= 0 ;
36336 char * kwnames
[] = {
36337 (char *) "self",(char *) "pt",(char *) "radius", NULL
36340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36342 if (!SWIG_IsOK(res1
)) {
36343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36351 if (!SWIG_IsOK(ecode3
)) {
36352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36354 arg3
= static_cast< int >(val3
);
36356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36357 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36358 wxPyEndAllowThreads(__tstate
);
36359 if (PyErr_Occurred()) SWIG_fail
;
36361 resultobj
= SWIG_Py_Void();
36368 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36369 PyObject
*resultobj
= 0;
36370 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36385 PyObject
* obj0
= 0 ;
36386 PyObject
* obj1
= 0 ;
36387 PyObject
* obj2
= 0 ;
36388 PyObject
* obj3
= 0 ;
36389 PyObject
* obj4
= 0 ;
36390 char * kwnames
[] = {
36391 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36396 if (!SWIG_IsOK(res1
)) {
36397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36399 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36401 if (!SWIG_IsOK(ecode2
)) {
36402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36404 arg2
= static_cast< int >(val2
);
36405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36406 if (!SWIG_IsOK(ecode3
)) {
36407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36409 arg3
= static_cast< int >(val3
);
36410 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36411 if (!SWIG_IsOK(ecode4
)) {
36412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36414 arg4
= static_cast< int >(val4
);
36415 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36416 if (!SWIG_IsOK(ecode5
)) {
36417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36419 arg5
= static_cast< int >(val5
);
36421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36422 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36423 wxPyEndAllowThreads(__tstate
);
36424 if (PyErr_Occurred()) SWIG_fail
;
36426 resultobj
= SWIG_Py_Void();
36433 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
= 0;
36435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36440 PyObject
* obj0
= 0 ;
36441 PyObject
* obj1
= 0 ;
36442 char * kwnames
[] = {
36443 (char *) "self",(char *) "rect", NULL
36446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36448 if (!SWIG_IsOK(res1
)) {
36449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36451 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36454 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36458 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36459 wxPyEndAllowThreads(__tstate
);
36460 if (PyErr_Occurred()) SWIG_fail
;
36462 resultobj
= SWIG_Py_Void();
36469 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36470 PyObject
*resultobj
= 0;
36471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36472 wxPoint
*arg2
= 0 ;
36478 PyObject
* obj0
= 0 ;
36479 PyObject
* obj1
= 0 ;
36480 PyObject
* obj2
= 0 ;
36481 char * kwnames
[] = {
36482 (char *) "self",(char *) "pt",(char *) "sz", NULL
36485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36487 if (!SWIG_IsOK(res1
)) {
36488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36490 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36497 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36501 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36502 wxPyEndAllowThreads(__tstate
);
36503 if (PyErr_Occurred()) SWIG_fail
;
36505 resultobj
= SWIG_Py_Void();
36512 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36513 PyObject
*resultobj
= 0;
36514 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36526 PyObject
* obj0
= 0 ;
36527 PyObject
* obj1
= 0 ;
36528 PyObject
* obj2
= 0 ;
36529 PyObject
* obj3
= 0 ;
36530 char * kwnames
[] = {
36531 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
36534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36536 if (!SWIG_IsOK(res1
)) {
36537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36539 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36541 if (!SWIG_IsOK(res2
)) {
36542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36547 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36548 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36549 if (!SWIG_IsOK(ecode3
)) {
36550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
36552 arg3
= static_cast< int >(val3
);
36553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36554 if (!SWIG_IsOK(ecode4
)) {
36555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
36557 arg4
= static_cast< int >(val4
);
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 resultobj
= SWIG_Py_Void();
36571 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36572 PyObject
*resultobj
= 0;
36573 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36575 wxPoint
*arg3
= 0 ;
36581 PyObject
* obj0
= 0 ;
36582 PyObject
* obj1
= 0 ;
36583 PyObject
* obj2
= 0 ;
36584 char * kwnames
[] = {
36585 (char *) "self",(char *) "icon",(char *) "pt", NULL
36588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36590 if (!SWIG_IsOK(res1
)) {
36591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36593 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36595 if (!SWIG_IsOK(res2
)) {
36596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36601 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
36609 wxPyEndAllowThreads(__tstate
);
36610 if (PyErr_Occurred()) SWIG_fail
;
36612 resultobj
= SWIG_Py_Void();
36619 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36620 PyObject
*resultobj
= 0;
36621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36622 wxBitmap
*arg2
= 0 ;
36625 bool arg5
= (bool) false ;
36636 PyObject
* obj0
= 0 ;
36637 PyObject
* obj1
= 0 ;
36638 PyObject
* obj2
= 0 ;
36639 PyObject
* obj3
= 0 ;
36640 PyObject
* obj4
= 0 ;
36641 char * kwnames
[] = {
36642 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
36645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36647 if (!SWIG_IsOK(res1
)) {
36648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36650 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
36652 if (!SWIG_IsOK(res2
)) {
36653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36658 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
36659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36660 if (!SWIG_IsOK(ecode3
)) {
36661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
36663 arg3
= static_cast< int >(val3
);
36664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36665 if (!SWIG_IsOK(ecode4
)) {
36666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
36668 arg4
= static_cast< int >(val4
);
36670 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
36671 if (!SWIG_IsOK(ecode5
)) {
36672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
36674 arg5
= static_cast< bool >(val5
);
36677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36678 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
36679 wxPyEndAllowThreads(__tstate
);
36680 if (PyErr_Occurred()) SWIG_fail
;
36682 resultobj
= SWIG_Py_Void();
36689 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36690 PyObject
*resultobj
= 0;
36691 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36692 wxBitmap
*arg2
= 0 ;
36693 wxPoint
*arg3
= 0 ;
36694 bool arg4
= (bool) false ;
36702 PyObject
* obj0
= 0 ;
36703 PyObject
* obj1
= 0 ;
36704 PyObject
* obj2
= 0 ;
36705 PyObject
* obj3
= 0 ;
36706 char * kwnames
[] = {
36707 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
36710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36712 if (!SWIG_IsOK(res1
)) {
36713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36715 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
36717 if (!SWIG_IsOK(res2
)) {
36718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36723 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
36726 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36729 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
36730 if (!SWIG_IsOK(ecode4
)) {
36731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
36733 arg4
= static_cast< bool >(val4
);
36736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36737 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36741 resultobj
= SWIG_Py_Void();
36748 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
= 0;
36750 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36751 wxString
*arg2
= 0 ;
36756 bool temp2
= false ;
36761 PyObject
* obj0
= 0 ;
36762 PyObject
* obj1
= 0 ;
36763 PyObject
* obj2
= 0 ;
36764 PyObject
* obj3
= 0 ;
36765 char * kwnames
[] = {
36766 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
36769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36771 if (!SWIG_IsOK(res1
)) {
36772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36774 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36776 arg2
= wxString_in_helper(obj1
);
36777 if (arg2
== NULL
) SWIG_fail
;
36780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36781 if (!SWIG_IsOK(ecode3
)) {
36782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
36784 arg3
= static_cast< int >(val3
);
36785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36786 if (!SWIG_IsOK(ecode4
)) {
36787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
36789 arg4
= static_cast< int >(val4
);
36791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36792 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
36793 wxPyEndAllowThreads(__tstate
);
36794 if (PyErr_Occurred()) SWIG_fail
;
36796 resultobj
= SWIG_Py_Void();
36811 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36812 PyObject
*resultobj
= 0;
36813 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36814 wxString
*arg2
= 0 ;
36815 wxPoint
*arg3
= 0 ;
36818 bool temp2
= false ;
36820 PyObject
* obj0
= 0 ;
36821 PyObject
* obj1
= 0 ;
36822 PyObject
* obj2
= 0 ;
36823 char * kwnames
[] = {
36824 (char *) "self",(char *) "text",(char *) "pt", NULL
36827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36829 if (!SWIG_IsOK(res1
)) {
36830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36834 arg2
= wxString_in_helper(obj1
);
36835 if (arg2
== NULL
) SWIG_fail
;
36840 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36844 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
36845 wxPyEndAllowThreads(__tstate
);
36846 if (PyErr_Occurred()) SWIG_fail
;
36848 resultobj
= SWIG_Py_Void();
36863 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36864 PyObject
*resultobj
= 0;
36865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36866 wxString
*arg2
= 0 ;
36872 bool temp2
= false ;
36879 PyObject
* obj0
= 0 ;
36880 PyObject
* obj1
= 0 ;
36881 PyObject
* obj2
= 0 ;
36882 PyObject
* obj3
= 0 ;
36883 PyObject
* obj4
= 0 ;
36884 char * kwnames
[] = {
36885 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
36888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36890 if (!SWIG_IsOK(res1
)) {
36891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36893 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36895 arg2
= wxString_in_helper(obj1
);
36896 if (arg2
== NULL
) SWIG_fail
;
36899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36900 if (!SWIG_IsOK(ecode3
)) {
36901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
36903 arg3
= static_cast< int >(val3
);
36904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36905 if (!SWIG_IsOK(ecode4
)) {
36906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
36908 arg4
= static_cast< int >(val4
);
36909 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36910 if (!SWIG_IsOK(ecode5
)) {
36911 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
36913 arg5
= static_cast< double >(val5
);
36915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36916 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 resultobj
= SWIG_Py_Void();
36935 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36936 PyObject
*resultobj
= 0;
36937 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36938 wxString
*arg2
= 0 ;
36939 wxPoint
*arg3
= 0 ;
36943 bool temp2
= false ;
36947 PyObject
* obj0
= 0 ;
36948 PyObject
* obj1
= 0 ;
36949 PyObject
* obj2
= 0 ;
36950 PyObject
* obj3
= 0 ;
36951 char * kwnames
[] = {
36952 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
36955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36957 if (!SWIG_IsOK(res1
)) {
36958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36960 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36962 arg2
= wxString_in_helper(obj1
);
36963 if (arg2
== NULL
) SWIG_fail
;
36968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36970 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36971 if (!SWIG_IsOK(ecode4
)) {
36972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
36974 arg4
= static_cast< double >(val4
);
36976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36977 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
36978 wxPyEndAllowThreads(__tstate
);
36979 if (PyErr_Occurred()) SWIG_fail
;
36981 resultobj
= SWIG_Py_Void();
36996 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36997 PyObject
*resultobj
= 0;
36998 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37000 wxPoint
*arg3
= (wxPoint
*) 0 ;
37001 int arg4
= (int) 0 ;
37002 int arg5
= (int) 0 ;
37009 PyObject
* obj0
= 0 ;
37010 PyObject
* obj1
= 0 ;
37011 PyObject
* obj2
= 0 ;
37012 PyObject
* obj3
= 0 ;
37013 char * kwnames
[] = {
37014 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37019 if (!SWIG_IsOK(res1
)) {
37020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37024 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37025 if (arg3
== NULL
) SWIG_fail
;
37028 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37029 if (!SWIG_IsOK(ecode4
)) {
37030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37032 arg4
= static_cast< int >(val4
);
37035 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37036 if (!SWIG_IsOK(ecode5
)) {
37037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37039 arg5
= static_cast< int >(val5
);
37042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37043 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37044 wxPyEndAllowThreads(__tstate
);
37045 if (PyErr_Occurred()) SWIG_fail
;
37047 resultobj
= SWIG_Py_Void();
37049 if (arg3
) delete [] arg3
;
37054 if (arg3
) delete [] arg3
;
37060 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37061 PyObject
*resultobj
= 0;
37062 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37064 wxPoint
*arg3
= (wxPoint
*) 0 ;
37065 int arg4
= (int) 0 ;
37066 int arg5
= (int) 0 ;
37067 int arg6
= (int) wxODDEVEN_RULE
;
37076 PyObject
* obj0
= 0 ;
37077 PyObject
* obj1
= 0 ;
37078 PyObject
* obj2
= 0 ;
37079 PyObject
* obj3
= 0 ;
37080 PyObject
* obj4
= 0 ;
37081 char * kwnames
[] = {
37082 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37087 if (!SWIG_IsOK(res1
)) {
37088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37090 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37092 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37093 if (arg3
== NULL
) SWIG_fail
;
37096 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37097 if (!SWIG_IsOK(ecode4
)) {
37098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37100 arg4
= static_cast< int >(val4
);
37103 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37104 if (!SWIG_IsOK(ecode5
)) {
37105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37107 arg5
= static_cast< int >(val5
);
37110 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37111 if (!SWIG_IsOK(ecode6
)) {
37112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37114 arg6
= static_cast< int >(val6
);
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37119 wxPyEndAllowThreads(__tstate
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37122 resultobj
= SWIG_Py_Void();
37124 if (arg3
) delete [] arg3
;
37129 if (arg3
) delete [] arg3
;
37135 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
= 0;
37137 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37138 wxString
*arg2
= 0 ;
37140 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37141 int arg5
= (int) -1 ;
37144 bool temp2
= false ;
37150 PyObject
* obj0
= 0 ;
37151 PyObject
* obj1
= 0 ;
37152 PyObject
* obj2
= 0 ;
37153 PyObject
* obj3
= 0 ;
37154 PyObject
* obj4
= 0 ;
37155 char * kwnames
[] = {
37156 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37161 if (!SWIG_IsOK(res1
)) {
37162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37164 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37166 arg2
= wxString_in_helper(obj1
);
37167 if (arg2
== NULL
) SWIG_fail
;
37172 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37176 if (!SWIG_IsOK(ecode4
)) {
37177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37179 arg4
= static_cast< int >(val4
);
37182 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37183 if (!SWIG_IsOK(ecode5
)) {
37184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37186 arg5
= static_cast< int >(val5
);
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37191 wxPyEndAllowThreads(__tstate
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37194 resultobj
= SWIG_Py_Void();
37209 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37210 PyObject
*resultobj
= 0;
37211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37212 wxString
*arg2
= 0 ;
37213 wxBitmap
*arg3
= 0 ;
37215 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37216 int arg6
= (int) -1 ;
37219 bool temp2
= false ;
37227 PyObject
* obj0
= 0 ;
37228 PyObject
* obj1
= 0 ;
37229 PyObject
* obj2
= 0 ;
37230 PyObject
* obj3
= 0 ;
37231 PyObject
* obj4
= 0 ;
37232 PyObject
* obj5
= 0 ;
37233 char * kwnames
[] = {
37234 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37239 if (!SWIG_IsOK(res1
)) {
37240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37244 arg2
= wxString_in_helper(obj1
);
37245 if (arg2
== NULL
) SWIG_fail
;
37248 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37249 if (!SWIG_IsOK(res3
)) {
37250 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37255 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37258 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37262 if (!SWIG_IsOK(ecode5
)) {
37263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37265 arg5
= static_cast< int >(val5
);
37268 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37269 if (!SWIG_IsOK(ecode6
)) {
37270 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37272 arg6
= static_cast< int >(val6
);
37275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37276 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37277 wxPyEndAllowThreads(__tstate
);
37278 if (PyErr_Occurred()) SWIG_fail
;
37280 resultobj
= SWIG_Py_Void();
37295 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37296 PyObject
*resultobj
= 0;
37297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37299 wxPoint
*arg3
= (wxPoint
*) 0 ;
37302 PyObject
* obj0
= 0 ;
37303 PyObject
* obj1
= 0 ;
37304 char * kwnames
[] = {
37305 (char *) "self",(char *) "points", NULL
37308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37310 if (!SWIG_IsOK(res1
)) {
37311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37313 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37315 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37316 if (arg3
== NULL
) SWIG_fail
;
37319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37320 (arg1
)->DrawSpline(arg2
,arg3
);
37321 wxPyEndAllowThreads(__tstate
);
37322 if (PyErr_Occurred()) SWIG_fail
;
37324 resultobj
= SWIG_Py_Void();
37326 if (arg3
) delete [] arg3
;
37331 if (arg3
) delete [] arg3
;
37337 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37338 PyObject
*resultobj
= 0;
37339 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37342 PyObject
*swig_obj
[1] ;
37344 if (!args
) SWIG_fail
;
37345 swig_obj
[0] = args
;
37346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37347 if (!SWIG_IsOK(res1
)) {
37348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37350 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 wxPyEndAllowThreads(__tstate
);
37355 if (PyErr_Occurred()) SWIG_fail
;
37357 resultobj
= SWIG_Py_Void();
37364 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37365 PyObject
*resultobj
= 0;
37366 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37372 PyObject
* obj0
= 0 ;
37373 PyObject
* obj1
= 0 ;
37374 char * kwnames
[] = {
37375 (char *) "self",(char *) "font", NULL
37378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37380 if (!SWIG_IsOK(res1
)) {
37381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37384 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37385 if (!SWIG_IsOK(res2
)) {
37386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37391 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37394 (arg1
)->SetFont((wxFont
const &)*arg2
);
37395 wxPyEndAllowThreads(__tstate
);
37396 if (PyErr_Occurred()) SWIG_fail
;
37398 resultobj
= SWIG_Py_Void();
37405 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37406 PyObject
*resultobj
= 0;
37407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37413 PyObject
* obj0
= 0 ;
37414 PyObject
* obj1
= 0 ;
37415 char * kwnames
[] = {
37416 (char *) "self",(char *) "pen", NULL
37419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37421 if (!SWIG_IsOK(res1
)) {
37422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37424 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37426 if (!SWIG_IsOK(res2
)) {
37427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37432 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37435 (arg1
)->SetPen((wxPen
const &)*arg2
);
37436 wxPyEndAllowThreads(__tstate
);
37437 if (PyErr_Occurred()) SWIG_fail
;
37439 resultobj
= SWIG_Py_Void();
37446 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37447 PyObject
*resultobj
= 0;
37448 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37449 wxBrush
*arg2
= 0 ;
37454 PyObject
* obj0
= 0 ;
37455 PyObject
* obj1
= 0 ;
37456 char * kwnames
[] = {
37457 (char *) "self",(char *) "brush", NULL
37460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37462 if (!SWIG_IsOK(res1
)) {
37463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37465 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37467 if (!SWIG_IsOK(res2
)) {
37468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37473 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37476 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
37477 wxPyEndAllowThreads(__tstate
);
37478 if (PyErr_Occurred()) SWIG_fail
;
37480 resultobj
= SWIG_Py_Void();
37487 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37488 PyObject
*resultobj
= 0;
37489 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37490 wxBrush
*arg2
= 0 ;
37495 PyObject
* obj0
= 0 ;
37496 PyObject
* obj1
= 0 ;
37497 char * kwnames
[] = {
37498 (char *) "self",(char *) "brush", NULL
37501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37503 if (!SWIG_IsOK(res1
)) {
37504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37506 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37508 if (!SWIG_IsOK(res2
)) {
37509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37514 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
37518 wxPyEndAllowThreads(__tstate
);
37519 if (PyErr_Occurred()) SWIG_fail
;
37521 resultobj
= SWIG_Py_Void();
37528 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37529 PyObject
*resultobj
= 0;
37530 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37536 PyObject
* obj0
= 0 ;
37537 PyObject
* obj1
= 0 ;
37538 char * kwnames
[] = {
37539 (char *) "self",(char *) "mode", NULL
37542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37544 if (!SWIG_IsOK(res1
)) {
37545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37547 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37549 if (!SWIG_IsOK(ecode2
)) {
37550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
37552 arg2
= static_cast< int >(val2
);
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 (arg1
)->SetBackgroundMode(arg2
);
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37559 resultobj
= SWIG_Py_Void();
37566 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37567 PyObject
*resultobj
= 0;
37568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37569 wxPalette
*arg2
= 0 ;
37574 PyObject
* obj0
= 0 ;
37575 PyObject
* obj1
= 0 ;
37576 char * kwnames
[] = {
37577 (char *) "self",(char *) "palette", NULL
37580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37582 if (!SWIG_IsOK(res1
)) {
37583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37585 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
37587 if (!SWIG_IsOK(res2
)) {
37588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37593 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
37595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37596 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
37597 wxPyEndAllowThreads(__tstate
);
37598 if (PyErr_Occurred()) SWIG_fail
;
37600 resultobj
= SWIG_Py_Void();
37607 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37608 PyObject
*resultobj
= 0;
37609 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37610 wxColour
*arg2
= 0 ;
37614 PyObject
* obj0
= 0 ;
37615 PyObject
* obj1
= 0 ;
37616 char * kwnames
[] = {
37617 (char *) "self",(char *) "colour", NULL
37620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37622 if (!SWIG_IsOK(res1
)) {
37623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37625 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37632 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
37633 wxPyEndAllowThreads(__tstate
);
37634 if (PyErr_Occurred()) SWIG_fail
;
37636 resultobj
= SWIG_Py_Void();
37643 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37644 PyObject
*resultobj
= 0;
37645 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37646 wxColour
*arg2
= 0 ;
37650 PyObject
* obj0
= 0 ;
37651 PyObject
* obj1
= 0 ;
37652 char * kwnames
[] = {
37653 (char *) "self",(char *) "colour", NULL
37656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37658 if (!SWIG_IsOK(res1
)) {
37659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37661 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37664 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
37669 wxPyEndAllowThreads(__tstate
);
37670 if (PyErr_Occurred()) SWIG_fail
;
37672 resultobj
= SWIG_Py_Void();
37679 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37680 PyObject
*resultobj
= 0;
37681 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37687 PyObject
* obj0
= 0 ;
37688 PyObject
* obj1
= 0 ;
37689 char * kwnames
[] = {
37690 (char *) "self",(char *) "function", NULL
37693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37695 if (!SWIG_IsOK(res1
)) {
37696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37700 if (!SWIG_IsOK(ecode2
)) {
37701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
37703 arg2
= static_cast< int >(val2
);
37705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37706 (arg1
)->SetLogicalFunction(arg2
);
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37710 resultobj
= SWIG_Py_Void();
37717 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37720 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
37721 return SWIG_Py_Void();
37724 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37725 return SWIG_Python_InitShadowInstance(args
);
37728 static PyMethodDef SwigMethods
[] = {
37729 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
37730 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
37731 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
37732 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
37733 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
37734 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37735 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37736 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37737 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
37738 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
37739 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
37740 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
37741 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
37742 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
37743 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37744 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37745 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37746 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37747 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
37748 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37749 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37750 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37751 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
37752 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
37753 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
37754 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37755 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
37756 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37757 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37758 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
37759 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
37760 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
37761 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
37762 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37763 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
37764 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
37765 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
37766 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
37767 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
37768 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
37769 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
37770 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37771 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37772 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37773 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37774 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37775 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37776 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
37777 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37778 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
37779 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37780 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37781 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
37782 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
37783 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37784 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37785 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
37786 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37787 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37788 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37789 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
37790 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
37791 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
37792 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
37793 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
37794 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
37795 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
37796 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37797 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
37798 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37799 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37800 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37801 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37802 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37803 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
37804 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
37805 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
37806 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
37807 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
37808 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
37809 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
37810 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37811 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37812 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37813 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37814 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37815 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
37816 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37817 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37818 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37819 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37820 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37821 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37822 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37823 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
37824 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
37825 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37826 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37827 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37828 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
37829 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
37830 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
37831 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
37832 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
37833 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
37834 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
37835 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
37836 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
37837 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
37838 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
37839 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
37840 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
37841 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
37842 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
37843 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37844 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
37845 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
37846 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37847 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37848 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37849 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37850 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37851 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
37852 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
37853 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
37854 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
37855 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
37856 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
37857 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
37858 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
37859 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
37860 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
37861 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
37862 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
37863 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37864 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
37865 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
37866 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37867 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37868 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37869 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37870 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37871 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
37872 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
37873 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
37874 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37875 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
37876 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
37877 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
37878 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37879 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
37880 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
37881 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37882 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37883 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37884 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37885 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
37886 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
37887 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
37888 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
37889 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37890 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37891 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37892 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37893 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
37894 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
37895 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37896 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
37897 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
37898 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37899 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
37900 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37901 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
37902 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
37903 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
37904 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
37905 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37906 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37907 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
37908 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37909 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37910 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37911 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
37912 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
37913 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37914 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
37915 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37916 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37917 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
37918 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
37919 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
37920 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37921 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37922 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37923 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37924 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
37925 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
37926 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37927 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37928 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37929 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37930 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37931 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
37932 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37933 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37934 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37935 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
37936 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37937 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37938 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37939 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37940 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37941 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37942 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37943 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37944 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37945 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37946 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
37947 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37948 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37949 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
37950 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
37951 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37952 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
37953 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
37954 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
37955 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
37956 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
37957 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
37958 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
37959 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
37960 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
37961 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
37962 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
37963 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
37964 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
37965 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
37966 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
37967 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
37968 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
37969 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37970 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
37971 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
37972 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
37973 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
37974 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
37975 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
37976 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
37977 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37978 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37979 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37980 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37981 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37982 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37983 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37984 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37985 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
37986 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
37987 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37988 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
37989 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
37990 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
37991 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
37992 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
37993 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
37994 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
37995 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
37996 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
37997 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37998 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
37999 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38000 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38001 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38002 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38003 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38004 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38005 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38006 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38007 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38008 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38009 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38010 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38011 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38012 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38013 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38014 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38015 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38016 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38017 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38018 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38019 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38020 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38021 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38022 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38023 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38024 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38025 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38026 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38027 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38028 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38029 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38030 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38031 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38032 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38033 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38034 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38035 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38036 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38037 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38038 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38039 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38040 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38041 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38042 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38043 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38044 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38045 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38046 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38047 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38048 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38049 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38050 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38051 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38052 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38053 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38054 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38055 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38056 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38057 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38058 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38059 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38060 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38061 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38062 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38063 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38064 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38065 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38066 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38067 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38068 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38069 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38070 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38071 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38072 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38073 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38074 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38075 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38076 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38077 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38078 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38079 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38080 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38081 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38082 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38083 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38084 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38085 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38086 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38087 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38088 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38089 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38090 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38091 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38092 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38093 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38094 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38095 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38096 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38097 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38098 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38099 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38100 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38101 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38102 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38103 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38104 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38105 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38106 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38107 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38108 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38109 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38110 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38111 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38112 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38113 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38114 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38115 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38116 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38117 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38118 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38119 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38120 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38121 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38122 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38123 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38124 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38125 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38126 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38127 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38128 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38129 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38131 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38132 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38133 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38134 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38135 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38136 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38137 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38138 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38139 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38140 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38141 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38142 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38143 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38144 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38145 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38146 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38147 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38148 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38149 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38150 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38151 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38152 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38153 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38154 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38155 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38156 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38157 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38158 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38159 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38160 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38161 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38162 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38163 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38164 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38165 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38166 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38167 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38168 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38169 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38170 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38171 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38172 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38173 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38174 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38175 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38176 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38177 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38178 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38179 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38180 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38181 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38182 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38183 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38184 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38185 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38186 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38187 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38188 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38189 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38190 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38191 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38192 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38193 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38194 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38195 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38196 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38197 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38198 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38199 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38200 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38201 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38202 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38203 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38204 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38205 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38206 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38207 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38208 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38209 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38210 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38211 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38212 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38213 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38214 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38215 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38216 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38217 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38218 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38219 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38220 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38221 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38222 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38223 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38224 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38225 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38226 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38227 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38228 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38229 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38230 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38231 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38232 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38233 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38234 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38235 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38236 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38237 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38238 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38239 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38240 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38241 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38242 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38243 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38244 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38245 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38246 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38247 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38248 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38249 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38250 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38251 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38252 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38253 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38254 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38255 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38256 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38257 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38258 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38259 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38260 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38261 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38262 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38263 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38264 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38265 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38266 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38267 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38268 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38269 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38270 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38271 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38272 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38273 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38274 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38275 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38276 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38277 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38278 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38279 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38280 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38281 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38282 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38283 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38285 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38286 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38287 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38288 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38289 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38290 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38291 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38292 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38293 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38294 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38295 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38296 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38297 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38299 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38300 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38301 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38302 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38303 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38304 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38305 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38306 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38307 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38308 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38309 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38310 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38311 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38312 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38313 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38314 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38315 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38316 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38317 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38318 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38319 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38320 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38321 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38322 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38323 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38324 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38325 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38326 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38327 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38328 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38329 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38330 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38331 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38332 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38333 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38334 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38335 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38336 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38337 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38338 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38339 { (char *)"GraphicsPath_Clone", (PyCFunction
)_wrap_GraphicsPath_Clone
, METH_O
, NULL
},
38340 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38341 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38342 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38343 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38345 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38346 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38347 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38348 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38349 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38350 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38351 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38352 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38353 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38354 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38355 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38356 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38357 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38358 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38359 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38360 { (char *)"GraphicsMatrix_Clone", (PyCFunction
)_wrap_GraphicsMatrix_Clone
, METH_O
, NULL
},
38361 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38362 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38363 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38365 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38366 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38367 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38373 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38374 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38375 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38376 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38378 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38379 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38380 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38382 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38383 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38384 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38385 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38386 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38387 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38388 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38389 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38390 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38391 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38393 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38394 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38395 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38396 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38397 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38400 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38401 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38402 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38403 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38404 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38405 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38406 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38407 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38408 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38415 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38416 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38417 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38418 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38419 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38421 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38422 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38424 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38425 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38426 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38427 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38428 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38429 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38430 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38431 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38432 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38433 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38434 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38435 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38436 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38437 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38438 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38439 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38440 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38441 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38442 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38443 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38444 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38445 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38447 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38448 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38453 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38455 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38457 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38459 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38460 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38461 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
38462 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
38463 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
38464 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
38470 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
38471 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
38472 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
38473 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
38474 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
38475 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
38479 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
38483 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
38487 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
38488 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
38489 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
38494 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
38495 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
38496 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
38497 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
38498 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
38499 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
38500 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
38501 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
38502 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
38503 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
38504 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
38505 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
38514 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
38515 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
38517 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
38518 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
38519 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
38520 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
38521 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
38522 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
38523 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
38524 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
38525 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
38526 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
38527 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
38528 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
38529 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
38530 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
38531 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
38532 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
38533 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
38534 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
38535 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
38536 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
38537 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
38538 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
38539 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
38540 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
38542 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38543 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
38544 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
38545 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
38546 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
38547 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
38560 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
38561 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
38562 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
38564 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
38565 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
38566 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
38567 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
38568 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
38569 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
38570 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
38571 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38593 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38604 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38605 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38607 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
38624 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
38634 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
38635 { NULL
, NULL
, 0, NULL
}
38639 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38641 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
38642 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
38644 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
38645 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
38647 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
38648 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
38650 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
38651 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
38653 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
38654 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
38656 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
38657 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
38659 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
38660 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
38662 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
38663 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
38665 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
38666 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
38668 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
38669 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
38671 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
38672 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
38674 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
38675 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
38677 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
38678 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
38680 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
38681 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
38683 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
38684 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
38686 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
38687 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
38689 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
38690 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
38692 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
38693 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
38695 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
38696 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
38698 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
38699 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
38701 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
38702 return (void *)((wxDC
*) ((wxGCDC
*) x
));
38704 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
38705 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
38707 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
38708 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
38710 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
38711 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
38713 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
38714 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
38716 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
38717 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
38719 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
38720 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
38722 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
38723 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
38725 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
38726 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
38728 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
38729 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
38731 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
38732 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
38734 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
38735 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
38737 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
38738 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
38740 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
38741 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
38743 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
38744 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
38746 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
38747 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
38749 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
38750 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
38752 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
38753 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
38755 static void *_p_wxPenTo_p_wxObject(void *x
) {
38756 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
38758 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
38759 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
38761 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
38762 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
38764 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
38765 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
38767 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
38768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
38770 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
38771 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
38773 static void *_p_wxIconTo_p_wxObject(void *x
) {
38774 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
38776 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
38777 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
38779 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
38780 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
38782 static void *_p_wxSizerTo_p_wxObject(void *x
) {
38783 return (void *)((wxObject
*) ((wxSizer
*) x
));
38785 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
38786 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
38788 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
38789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38791 static void *_p_wxEventTo_p_wxObject(void *x
) {
38792 return (void *)((wxObject
*) ((wxEvent
*) x
));
38794 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
38795 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
38797 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
38798 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
38800 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
38801 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
38803 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
38804 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
38806 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
38807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38809 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
38810 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
38812 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
38813 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
38815 static void *_p_wxDCTo_p_wxObject(void *x
) {
38816 return (void *)((wxObject
*) ((wxDC
*) x
));
38818 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
38819 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38821 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
38822 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38824 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
38825 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38827 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
38828 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38830 static void *_p_wxControlTo_p_wxObject(void *x
) {
38831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
38833 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
38834 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
38836 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
38837 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
38839 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
38840 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
38842 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
38843 return (void *)((wxObject
*) ((wxFSFile
*) x
));
38845 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
38846 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
38848 static void *_p_wxRegionTo_p_wxObject(void *x
) {
38849 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
38851 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
38852 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
38854 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
38855 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
38857 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
38858 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
38860 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
38861 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
38863 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
38864 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
38866 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
38867 return (void *)((wxObject
*) ((wxEffects
*) x
));
38869 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38870 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38872 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38875 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
38876 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
38878 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
38879 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
38881 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38882 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38884 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38885 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38887 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38890 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38891 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38893 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
38894 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38896 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
38897 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38899 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
38900 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
38902 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
38903 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
38905 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
38906 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
38908 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
38909 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
38911 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
38912 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
38914 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38917 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38920 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38923 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38926 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38929 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38930 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38932 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38933 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38935 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38936 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38938 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38941 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38944 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38945 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38947 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38950 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38953 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38954 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38956 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
38957 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38959 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
38960 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
38962 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
38963 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
38965 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
38966 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
38968 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
38969 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
38971 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
38972 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
38974 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38975 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38977 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38978 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38980 static void *_p_wxImageTo_p_wxObject(void *x
) {
38981 return (void *)((wxObject
*) ((wxImage
*) x
));
38983 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38984 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38986 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
38987 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
38989 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
38990 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
38992 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
38993 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
38995 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
38996 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
38998 static void *_p_wxImageListTo_p_wxObject(void *x
) {
38999 return (void *)((wxObject
*) ((wxImageList
*) x
));
39001 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39002 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39004 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39005 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39007 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39008 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39010 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39011 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39013 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39014 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39016 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39017 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39019 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39020 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39022 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39023 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39025 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39026 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39028 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39029 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39031 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39034 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39035 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39037 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39038 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39040 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39041 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39043 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39044 return (void *)((wxObject
*) ((wxMask
*) x
));
39046 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39047 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39049 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39052 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39053 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39055 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39056 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39058 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39059 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39061 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39062 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39064 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39065 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39067 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39070 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39071 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39073 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39074 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39076 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39077 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39079 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39082 static void *_p_wxFontTo_p_wxObject(void *x
) {
39083 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39085 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39086 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39088 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39089 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39091 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39094 static void *_p_wxColourTo_p_wxObject(void *x
) {
39095 return (void *)((wxObject
*) ((wxColour
*) x
));
39097 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39098 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39100 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39101 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39103 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39104 return (void *)((wxWindow
*) ((wxControl
*) x
));
39106 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39107 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39109 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39110 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39112 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39113 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39115 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39116 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39118 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39119 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39120 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39121 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};
39122 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39123 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39124 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39125 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39126 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39127 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39128 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39129 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39130 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39131 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39132 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39133 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39134 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39135 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39136 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39137 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39138 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39139 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39140 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39141 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39142 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39143 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39144 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39145 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39146 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39147 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39148 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39149 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39150 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39151 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39152 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39153 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39154 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39155 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39156 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39157 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39158 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39159 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39160 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39161 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39162 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39163 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39164 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39165 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39166 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39167 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39168 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39169 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39170 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39171 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39172 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39173 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39174 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39175 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39176 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39177 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39178 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39179 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39180 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39181 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39182 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39183 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39184 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39185 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39186 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39187 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39188 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39189 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39190 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39191 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39192 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39193 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39194 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39195 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39196 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39197 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39198 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39199 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39200 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39201 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39202 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39203 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39204 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39205 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39206 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39207 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39208 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39209 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39210 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39211 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39212 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39213 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39214 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39215 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39216 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39217 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39218 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39219 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39220 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39221 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39222 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39223 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39224 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39225 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39226 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39227 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39228 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39229 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39230 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39231 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39232 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39233 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39234 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39235 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39236 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39237 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39238 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39239 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39240 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39241 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39242 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39243 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39244 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39245 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39246 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39247 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39248 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39249 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39250 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39251 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39252 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39253 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39254 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39255 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39256 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39257 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39258 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39259 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39260 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39261 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39262 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39263 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39264 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39265 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39266 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39267 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39268 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39269 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39270 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39271 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39272 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39273 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39274 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39275 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39276 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39277 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39278 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39279 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39280 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39281 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39282 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39283 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39284 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39285 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39286 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39287 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39289 static swig_type_info
*swig_type_initial
[] = {
39293 &_swigt__p_form_ops_t
,
39295 &_swigt__p_unsigned_char
,
39296 &_swigt__p_unsigned_int
,
39297 &_swigt__p_unsigned_long
,
39299 &_swigt__p_wxANIHandler
,
39300 &_swigt__p_wxAcceleratorTable
,
39301 &_swigt__p_wxActivateEvent
,
39302 &_swigt__p_wxAlphaPixelData
,
39303 &_swigt__p_wxAlphaPixelData_Accessor
,
39304 &_swigt__p_wxAutoBufferedPaintDC
,
39305 &_swigt__p_wxBMPHandler
,
39306 &_swigt__p_wxBitmap
,
39307 &_swigt__p_wxBoxSizer
,
39308 &_swigt__p_wxBrush
,
39309 &_swigt__p_wxBrushList
,
39310 &_swigt__p_wxBufferedDC
,
39311 &_swigt__p_wxBufferedPaintDC
,
39312 &_swigt__p_wxCURHandler
,
39314 &_swigt__p_wxChildFocusEvent
,
39315 &_swigt__p_wxClientDC
,
39316 &_swigt__p_wxClipboardTextEvent
,
39317 &_swigt__p_wxCloseEvent
,
39318 &_swigt__p_wxColor
,
39319 &_swigt__p_wxColour
,
39320 &_swigt__p_wxColourDatabase
,
39321 &_swigt__p_wxCommandEvent
,
39322 &_swigt__p_wxContextMenuEvent
,
39323 &_swigt__p_wxControl
,
39324 &_swigt__p_wxControlWithItems
,
39325 &_swigt__p_wxCursor
,
39327 &_swigt__p_wxDCBrushChanger
,
39328 &_swigt__p_wxDCClipper
,
39329 &_swigt__p_wxDCOverlay
,
39330 &_swigt__p_wxDCPenChanger
,
39331 &_swigt__p_wxDCTextColourChanger
,
39333 &_swigt__p_wxDateEvent
,
39334 &_swigt__p_wxDisplayChangedEvent
,
39335 &_swigt__p_wxDropFilesEvent
,
39336 &_swigt__p_wxDuplexMode
,
39337 &_swigt__p_wxEffects
,
39338 &_swigt__p_wxEncodingConverter
,
39339 &_swigt__p_wxEraseEvent
,
39340 &_swigt__p_wxEvent
,
39341 &_swigt__p_wxEvtHandler
,
39342 &_swigt__p_wxFSFile
,
39343 &_swigt__p_wxFileSystem
,
39344 &_swigt__p_wxFlexGridSizer
,
39345 &_swigt__p_wxFocusEvent
,
39347 &_swigt__p_wxFontList
,
39348 &_swigt__p_wxFontMapper
,
39349 &_swigt__p_wxGBSizerItem
,
39351 &_swigt__p_wxGDIObjListBase
,
39352 &_swigt__p_wxGDIObject
,
39353 &_swigt__p_wxGIFHandler
,
39354 &_swigt__p_wxGraphicsBrush
,
39355 &_swigt__p_wxGraphicsContext
,
39356 &_swigt__p_wxGraphicsFont
,
39357 &_swigt__p_wxGraphicsMatrix
,
39358 &_swigt__p_wxGraphicsObject
,
39359 &_swigt__p_wxGraphicsPath
,
39360 &_swigt__p_wxGraphicsPen
,
39361 &_swigt__p_wxGraphicsRenderer
,
39362 &_swigt__p_wxGridBagSizer
,
39363 &_swigt__p_wxGridSizer
,
39364 &_swigt__p_wxHeaderButtonParams
,
39365 &_swigt__p_wxICOHandler
,
39367 &_swigt__p_wxIconBundle
,
39368 &_swigt__p_wxIconLocation
,
39369 &_swigt__p_wxIconizeEvent
,
39370 &_swigt__p_wxIdleEvent
,
39371 &_swigt__p_wxImage
,
39372 &_swigt__p_wxImageHandler
,
39373 &_swigt__p_wxImageList
,
39374 &_swigt__p_wxIndividualLayoutConstraint
,
39375 &_swigt__p_wxInitDialogEvent
,
39376 &_swigt__p_wxJPEGHandler
,
39377 &_swigt__p_wxKeyEvent
,
39378 &_swigt__p_wxLanguageInfo
,
39379 &_swigt__p_wxLayoutConstraints
,
39380 &_swigt__p_wxLocale
,
39382 &_swigt__p_wxMaximizeEvent
,
39383 &_swigt__p_wxMemoryDC
,
39385 &_swigt__p_wxMenuBar
,
39386 &_swigt__p_wxMenuEvent
,
39387 &_swigt__p_wxMenuItem
,
39388 &_swigt__p_wxMetaFile
,
39389 &_swigt__p_wxMetaFileDC
,
39390 &_swigt__p_wxMirrorDC
,
39391 &_swigt__p_wxMouseCaptureChangedEvent
,
39392 &_swigt__p_wxMouseCaptureLostEvent
,
39393 &_swigt__p_wxMouseEvent
,
39394 &_swigt__p_wxMoveEvent
,
39395 &_swigt__p_wxNativeEncodingInfo
,
39396 &_swigt__p_wxNativeFontInfo
,
39397 &_swigt__p_wxNativePixelData
,
39398 &_swigt__p_wxNativePixelData_Accessor
,
39399 &_swigt__p_wxNavigationKeyEvent
,
39400 &_swigt__p_wxNcPaintEvent
,
39401 &_swigt__p_wxNotifyEvent
,
39402 &_swigt__p_wxObject
,
39403 &_swigt__p_wxOverlay
,
39404 &_swigt__p_wxPCXHandler
,
39405 &_swigt__p_wxPNGHandler
,
39406 &_swigt__p_wxPNMHandler
,
39407 &_swigt__p_wxPaintDC
,
39408 &_swigt__p_wxPaintEvent
,
39409 &_swigt__p_wxPalette
,
39410 &_swigt__p_wxPaletteChangedEvent
,
39411 &_swigt__p_wxPaperSize
,
39413 &_swigt__p_wxPenList
,
39414 &_swigt__p_wxPixelDataBase
,
39415 &_swigt__p_wxPoint
,
39416 &_swigt__p_wxPoint2D
,
39417 &_swigt__p_wxPoint2DDouble
,
39418 &_swigt__p_wxPostScriptDC
,
39419 &_swigt__p_wxPrintData
,
39420 &_swigt__p_wxPrinterDC
,
39421 &_swigt__p_wxPseudoDC
,
39422 &_swigt__p_wxPyApp
,
39423 &_swigt__p_wxPyCommandEvent
,
39424 &_swigt__p_wxPyEvent
,
39425 &_swigt__p_wxPyFontEnumerator
,
39426 &_swigt__p_wxPyImageHandler
,
39427 &_swigt__p_wxPyLocale
,
39428 &_swigt__p_wxPySizer
,
39429 &_swigt__p_wxPyValidator
,
39430 &_swigt__p_wxQueryNewPaletteEvent
,
39432 &_swigt__p_wxRect2DDouble
,
39433 &_swigt__p_wxRegion
,
39434 &_swigt__p_wxRegionIterator
,
39435 &_swigt__p_wxRendererNative
,
39436 &_swigt__p_wxRendererVersion
,
39437 &_swigt__p_wxScreenDC
,
39438 &_swigt__p_wxScrollEvent
,
39439 &_swigt__p_wxScrollWinEvent
,
39440 &_swigt__p_wxSetCursorEvent
,
39441 &_swigt__p_wxShowEvent
,
39443 &_swigt__p_wxSizeEvent
,
39444 &_swigt__p_wxSizer
,
39445 &_swigt__p_wxSizerItem
,
39446 &_swigt__p_wxSplitterRenderParams
,
39447 &_swigt__p_wxStaticBoxSizer
,
39448 &_swigt__p_wxStdDialogButtonSizer
,
39449 &_swigt__p_wxStockGDI
,
39450 &_swigt__p_wxString
,
39451 &_swigt__p_wxSysColourChangedEvent
,
39452 &_swigt__p_wxTIFFHandler
,
39453 &_swigt__p_wxUpdateUIEvent
,
39454 &_swigt__p_wxValidator
,
39455 &_swigt__p_wxWindow
,
39456 &_swigt__p_wxWindowCreateEvent
,
39457 &_swigt__p_wxWindowDC
,
39458 &_swigt__p_wxWindowDestroyEvent
,
39459 &_swigt__p_wxXPMHandler
,
39462 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
39463 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39464 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
39465 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39466 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39467 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39468 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39469 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39470 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39471 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
39472 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39473 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39474 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39475 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
39476 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
39477 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}};
39478 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39479 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39480 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}};
39481 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
39482 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39483 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
39484 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39485 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}};
39486 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
39487 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
39488 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39489 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
39490 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
39491 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
39492 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39493 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
39494 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
39495 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39496 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
39497 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
39498 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
39499 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}};
39500 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}};
39501 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
39502 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
39503 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
39504 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
39505 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}};
39506 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
39507 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
39508 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
39509 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
39510 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39511 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
39512 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
39513 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39514 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
39515 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
39516 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}};
39517 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
39518 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}};
39519 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
39520 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
39521 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
39522 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
39523 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
39524 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
39525 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39526 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39527 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39528 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39529 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39530 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39531 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39532 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39533 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39534 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39535 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39536 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39537 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
39538 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39539 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39540 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39541 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39542 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39543 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39544 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39545 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39546 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39547 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39548 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39549 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39550 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39551 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39552 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39553 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39554 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39555 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39556 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39557 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39558 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39559 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39560 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39561 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39562 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39563 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39564 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39565 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
39566 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39567 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39568 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39569 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39570 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39571 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39572 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39573 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39574 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39575 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39576 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39577 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39578 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39579 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39580 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39581 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39582 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39583 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39584 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39585 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39586 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39587 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39588 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39589 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39590 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39591 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39592 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39593 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39594 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39595 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39596 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39597 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39598 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39599 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39600 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39601 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39602 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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_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}};
39603 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39604 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39605 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
39606 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39607 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
39608 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
39609 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}};
39610 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39611 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
39612 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39613 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
39614 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
39615 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
39616 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
39617 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
39618 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
39619 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39620 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39621 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
39622 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
39623 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
39624 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
39625 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
39626 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39627 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
39628 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
39629 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39630 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}};
39631 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
39633 static swig_cast_info
*swig_cast_initial
[] = {
39637 _swigc__p_form_ops_t
,
39639 _swigc__p_unsigned_char
,
39640 _swigc__p_unsigned_int
,
39641 _swigc__p_unsigned_long
,
39643 _swigc__p_wxANIHandler
,
39644 _swigc__p_wxAcceleratorTable
,
39645 _swigc__p_wxActivateEvent
,
39646 _swigc__p_wxAlphaPixelData
,
39647 _swigc__p_wxAlphaPixelData_Accessor
,
39648 _swigc__p_wxAutoBufferedPaintDC
,
39649 _swigc__p_wxBMPHandler
,
39650 _swigc__p_wxBitmap
,
39651 _swigc__p_wxBoxSizer
,
39653 _swigc__p_wxBrushList
,
39654 _swigc__p_wxBufferedDC
,
39655 _swigc__p_wxBufferedPaintDC
,
39656 _swigc__p_wxCURHandler
,
39658 _swigc__p_wxChildFocusEvent
,
39659 _swigc__p_wxClientDC
,
39660 _swigc__p_wxClipboardTextEvent
,
39661 _swigc__p_wxCloseEvent
,
39663 _swigc__p_wxColour
,
39664 _swigc__p_wxColourDatabase
,
39665 _swigc__p_wxCommandEvent
,
39666 _swigc__p_wxContextMenuEvent
,
39667 _swigc__p_wxControl
,
39668 _swigc__p_wxControlWithItems
,
39669 _swigc__p_wxCursor
,
39671 _swigc__p_wxDCBrushChanger
,
39672 _swigc__p_wxDCClipper
,
39673 _swigc__p_wxDCOverlay
,
39674 _swigc__p_wxDCPenChanger
,
39675 _swigc__p_wxDCTextColourChanger
,
39677 _swigc__p_wxDateEvent
,
39678 _swigc__p_wxDisplayChangedEvent
,
39679 _swigc__p_wxDropFilesEvent
,
39680 _swigc__p_wxDuplexMode
,
39681 _swigc__p_wxEffects
,
39682 _swigc__p_wxEncodingConverter
,
39683 _swigc__p_wxEraseEvent
,
39685 _swigc__p_wxEvtHandler
,
39686 _swigc__p_wxFSFile
,
39687 _swigc__p_wxFileSystem
,
39688 _swigc__p_wxFlexGridSizer
,
39689 _swigc__p_wxFocusEvent
,
39691 _swigc__p_wxFontList
,
39692 _swigc__p_wxFontMapper
,
39693 _swigc__p_wxGBSizerItem
,
39695 _swigc__p_wxGDIObjListBase
,
39696 _swigc__p_wxGDIObject
,
39697 _swigc__p_wxGIFHandler
,
39698 _swigc__p_wxGraphicsBrush
,
39699 _swigc__p_wxGraphicsContext
,
39700 _swigc__p_wxGraphicsFont
,
39701 _swigc__p_wxGraphicsMatrix
,
39702 _swigc__p_wxGraphicsObject
,
39703 _swigc__p_wxGraphicsPath
,
39704 _swigc__p_wxGraphicsPen
,
39705 _swigc__p_wxGraphicsRenderer
,
39706 _swigc__p_wxGridBagSizer
,
39707 _swigc__p_wxGridSizer
,
39708 _swigc__p_wxHeaderButtonParams
,
39709 _swigc__p_wxICOHandler
,
39711 _swigc__p_wxIconBundle
,
39712 _swigc__p_wxIconLocation
,
39713 _swigc__p_wxIconizeEvent
,
39714 _swigc__p_wxIdleEvent
,
39716 _swigc__p_wxImageHandler
,
39717 _swigc__p_wxImageList
,
39718 _swigc__p_wxIndividualLayoutConstraint
,
39719 _swigc__p_wxInitDialogEvent
,
39720 _swigc__p_wxJPEGHandler
,
39721 _swigc__p_wxKeyEvent
,
39722 _swigc__p_wxLanguageInfo
,
39723 _swigc__p_wxLayoutConstraints
,
39724 _swigc__p_wxLocale
,
39726 _swigc__p_wxMaximizeEvent
,
39727 _swigc__p_wxMemoryDC
,
39729 _swigc__p_wxMenuBar
,
39730 _swigc__p_wxMenuEvent
,
39731 _swigc__p_wxMenuItem
,
39732 _swigc__p_wxMetaFile
,
39733 _swigc__p_wxMetaFileDC
,
39734 _swigc__p_wxMirrorDC
,
39735 _swigc__p_wxMouseCaptureChangedEvent
,
39736 _swigc__p_wxMouseCaptureLostEvent
,
39737 _swigc__p_wxMouseEvent
,
39738 _swigc__p_wxMoveEvent
,
39739 _swigc__p_wxNativeEncodingInfo
,
39740 _swigc__p_wxNativeFontInfo
,
39741 _swigc__p_wxNativePixelData
,
39742 _swigc__p_wxNativePixelData_Accessor
,
39743 _swigc__p_wxNavigationKeyEvent
,
39744 _swigc__p_wxNcPaintEvent
,
39745 _swigc__p_wxNotifyEvent
,
39746 _swigc__p_wxObject
,
39747 _swigc__p_wxOverlay
,
39748 _swigc__p_wxPCXHandler
,
39749 _swigc__p_wxPNGHandler
,
39750 _swigc__p_wxPNMHandler
,
39751 _swigc__p_wxPaintDC
,
39752 _swigc__p_wxPaintEvent
,
39753 _swigc__p_wxPalette
,
39754 _swigc__p_wxPaletteChangedEvent
,
39755 _swigc__p_wxPaperSize
,
39757 _swigc__p_wxPenList
,
39758 _swigc__p_wxPixelDataBase
,
39760 _swigc__p_wxPoint2D
,
39761 _swigc__p_wxPoint2DDouble
,
39762 _swigc__p_wxPostScriptDC
,
39763 _swigc__p_wxPrintData
,
39764 _swigc__p_wxPrinterDC
,
39765 _swigc__p_wxPseudoDC
,
39767 _swigc__p_wxPyCommandEvent
,
39768 _swigc__p_wxPyEvent
,
39769 _swigc__p_wxPyFontEnumerator
,
39770 _swigc__p_wxPyImageHandler
,
39771 _swigc__p_wxPyLocale
,
39772 _swigc__p_wxPySizer
,
39773 _swigc__p_wxPyValidator
,
39774 _swigc__p_wxQueryNewPaletteEvent
,
39776 _swigc__p_wxRect2DDouble
,
39777 _swigc__p_wxRegion
,
39778 _swigc__p_wxRegionIterator
,
39779 _swigc__p_wxRendererNative
,
39780 _swigc__p_wxRendererVersion
,
39781 _swigc__p_wxScreenDC
,
39782 _swigc__p_wxScrollEvent
,
39783 _swigc__p_wxScrollWinEvent
,
39784 _swigc__p_wxSetCursorEvent
,
39785 _swigc__p_wxShowEvent
,
39787 _swigc__p_wxSizeEvent
,
39789 _swigc__p_wxSizerItem
,
39790 _swigc__p_wxSplitterRenderParams
,
39791 _swigc__p_wxStaticBoxSizer
,
39792 _swigc__p_wxStdDialogButtonSizer
,
39793 _swigc__p_wxStockGDI
,
39794 _swigc__p_wxString
,
39795 _swigc__p_wxSysColourChangedEvent
,
39796 _swigc__p_wxTIFFHandler
,
39797 _swigc__p_wxUpdateUIEvent
,
39798 _swigc__p_wxValidator
,
39799 _swigc__p_wxWindow
,
39800 _swigc__p_wxWindowCreateEvent
,
39801 _swigc__p_wxWindowDC
,
39802 _swigc__p_wxWindowDestroyEvent
,
39803 _swigc__p_wxXPMHandler
,
39807 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39809 static swig_const_info swig_const_table
[] = {
39810 {0, 0, 0, 0.0, 0, 0}};
39815 /* -----------------------------------------------------------------------------
39816 * Type initialization:
39817 * This problem is tough by the requirement that no dynamic
39818 * memory is used. Also, since swig_type_info structures store pointers to
39819 * swig_cast_info structures and swig_cast_info structures store pointers back
39820 * to swig_type_info structures, we need some lookup code at initialization.
39821 * The idea is that swig generates all the structures that are needed.
39822 * The runtime then collects these partially filled structures.
39823 * The SWIG_InitializeModule function takes these initial arrays out of
39824 * swig_module, and does all the lookup, filling in the swig_module.types
39825 * array with the correct data and linking the correct swig_cast_info
39826 * structures together.
39828 * The generated swig_type_info structures are assigned staticly to an initial
39829 * array. We just loop though that array, and handle each type individually.
39830 * First we lookup if this type has been already loaded, and if so, use the
39831 * loaded structure instead of the generated one. Then we have to fill in the
39832 * cast linked list. The cast data is initially stored in something like a
39833 * two-dimensional array. Each row corresponds to a type (there are the same
39834 * number of rows as there are in the swig_type_initial array). Each entry in
39835 * a column is one of the swig_cast_info structures for that type.
39836 * The cast_initial array is actually an array of arrays, because each row has
39837 * a variable number of columns. So to actually build the cast linked list,
39838 * we find the array of casts associated with the type, and loop through it
39839 * adding the casts to the list. The one last trick we need to do is making
39840 * sure the type pointer in the swig_cast_info struct is correct.
39842 * First off, we lookup the cast->type name to see if it is already loaded.
39843 * There are three cases to handle:
39844 * 1) If the cast->type has already been loaded AND the type we are adding
39845 * casting info to has not been loaded (it is in this module), THEN we
39846 * replace the cast->type pointer with the type pointer that has already
39848 * 2) If BOTH types (the one we are adding casting info to, and the
39849 * cast->type) are loaded, THEN the cast info has already been loaded by
39850 * the previous module so we just ignore it.
39851 * 3) Finally, if cast->type has not already been loaded, then we add that
39852 * swig_cast_info to the linked list (because the cast->type) pointer will
39854 * ----------------------------------------------------------------------------- */
39864 #define SWIGRUNTIME_DEBUG
39868 SWIG_InitializeModule(void *clientdata
) {
39870 swig_module_info
*module_head
;
39871 static int init_run
= 0;
39873 clientdata
= clientdata
;
39875 if (init_run
) return;
39878 /* Initialize the swig_module */
39879 swig_module
.type_initial
= swig_type_initial
;
39880 swig_module
.cast_initial
= swig_cast_initial
;
39882 /* Try and load any already created modules */
39883 module_head
= SWIG_GetModule(clientdata
);
39885 swig_module
.next
= module_head
->next
;
39886 module_head
->next
= &swig_module
;
39888 /* This is the first module loaded */
39889 swig_module
.next
= &swig_module
;
39890 SWIG_SetModule(clientdata
, &swig_module
);
39893 /* Now work on filling in swig_module.types */
39894 #ifdef SWIGRUNTIME_DEBUG
39895 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39897 for (i
= 0; i
< swig_module
.size
; ++i
) {
39898 swig_type_info
*type
= 0;
39899 swig_type_info
*ret
;
39900 swig_cast_info
*cast
;
39902 #ifdef SWIGRUNTIME_DEBUG
39903 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39906 /* if there is another module already loaded */
39907 if (swig_module
.next
!= &swig_module
) {
39908 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39911 /* Overwrite clientdata field */
39912 #ifdef SWIGRUNTIME_DEBUG
39913 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39915 if (swig_module
.type_initial
[i
]->clientdata
) {
39916 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39917 #ifdef SWIGRUNTIME_DEBUG
39918 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39922 type
= swig_module
.type_initial
[i
];
39925 /* Insert casting types */
39926 cast
= swig_module
.cast_initial
[i
];
39927 while (cast
->type
) {
39928 /* Don't need to add information already in the list */
39930 #ifdef SWIGRUNTIME_DEBUG
39931 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39933 if (swig_module
.next
!= &swig_module
) {
39934 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39935 #ifdef SWIGRUNTIME_DEBUG
39936 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39940 if (type
== swig_module
.type_initial
[i
]) {
39941 #ifdef SWIGRUNTIME_DEBUG
39942 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39947 /* Check for casting already in the list */
39948 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39949 #ifdef SWIGRUNTIME_DEBUG
39950 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39952 if (!ocast
) ret
= 0;
39957 #ifdef SWIGRUNTIME_DEBUG
39958 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39961 type
->cast
->prev
= cast
;
39962 cast
->next
= type
->cast
;
39968 /* Set entry in modules->types array equal to the type */
39969 swig_module
.types
[i
] = type
;
39971 swig_module
.types
[i
] = 0;
39973 #ifdef SWIGRUNTIME_DEBUG
39974 printf("**** SWIG_InitializeModule: Cast List ******\n");
39975 for (i
= 0; i
< swig_module
.size
; ++i
) {
39977 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39978 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39979 while (cast
->type
) {
39980 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39984 printf("---- Total casts: %d\n",j
);
39986 printf("**** SWIG_InitializeModule: Cast List ******\n");
39990 /* This function will propagate the clientdata field of type to
39991 * any new swig_type_info structures that have been added into the list
39992 * of equivalent types. It is like calling
39993 * SWIG_TypeClientData(type, clientdata) a second time.
39996 SWIG_PropagateClientData(void) {
39998 swig_cast_info
*equiv
;
39999 static int init_run
= 0;
40001 if (init_run
) return;
40004 for (i
= 0; i
< swig_module
.size
; i
++) {
40005 if (swig_module
.types
[i
]->clientdata
) {
40006 equiv
= swig_module
.types
[i
]->cast
;
40008 if (!equiv
->converter
) {
40009 if (equiv
->type
&& !equiv
->type
->clientdata
)
40010 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40012 equiv
= equiv
->next
;
40032 /* Python-specific SWIG API */
40033 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40034 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40035 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40037 /* -----------------------------------------------------------------------------
40038 * global variable support code.
40039 * ----------------------------------------------------------------------------- */
40041 typedef struct swig_globalvar
{
40042 char *name
; /* Name of global variable */
40043 PyObject
*(*get_attr
)(void); /* Return the current value */
40044 int (*set_attr
)(PyObject
*); /* Set the value */
40045 struct swig_globalvar
*next
;
40048 typedef struct swig_varlinkobject
{
40050 swig_globalvar
*vars
;
40051 } swig_varlinkobject
;
40053 SWIGINTERN PyObject
*
40054 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40055 return PyString_FromString("<Swig global variables>");
40058 SWIGINTERN PyObject
*
40059 swig_varlink_str(swig_varlinkobject
*v
) {
40060 PyObject
*str
= PyString_FromString("(");
40061 swig_globalvar
*var
;
40062 for (var
= v
->vars
; var
; var
=var
->next
) {
40063 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40064 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40066 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40071 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40072 PyObject
*str
= swig_varlink_str(v
);
40073 fprintf(fp
,"Swig global variables ");
40074 fprintf(fp
,"%s\n", PyString_AsString(str
));
40080 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40081 swig_globalvar
*var
= v
->vars
;
40083 swig_globalvar
*n
= var
->next
;
40090 SWIGINTERN PyObject
*
40091 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40092 PyObject
*res
= NULL
;
40093 swig_globalvar
*var
= v
->vars
;
40095 if (strcmp(var
->name
,n
) == 0) {
40096 res
= (*var
->get_attr
)();
40101 if (res
== NULL
&& !PyErr_Occurred()) {
40102 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40108 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40110 swig_globalvar
*var
= v
->vars
;
40112 if (strcmp(var
->name
,n
) == 0) {
40113 res
= (*var
->set_attr
)(p
);
40118 if (res
== 1 && !PyErr_Occurred()) {
40119 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40124 SWIGINTERN PyTypeObject
*
40125 swig_varlink_type(void) {
40126 static char varlink__doc__
[] = "Swig var link object";
40127 static PyTypeObject varlink_type
;
40128 static int type_init
= 0;
40130 const PyTypeObject tmp
40132 PyObject_HEAD_INIT(NULL
)
40133 0, /* Number of items in variable part (ob_size) */
40134 (char *)"swigvarlink", /* Type name (tp_name) */
40135 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40136 0, /* Itemsize (tp_itemsize) */
40137 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40138 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40139 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40140 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40141 0, /* tp_compare */
40142 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40143 0, /* tp_as_number */
40144 0, /* tp_as_sequence */
40145 0, /* tp_as_mapping */
40148 (reprfunc
)swig_varlink_str
, /* tp_str */
40149 0, /* tp_getattro */
40150 0, /* tp_setattro */
40151 0, /* tp_as_buffer */
40153 varlink__doc__
, /* tp_doc */
40154 0, /* tp_traverse */
40156 0, /* tp_richcompare */
40157 0, /* tp_weaklistoffset */
40158 #if PY_VERSION_HEX >= 0x02020000
40159 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40161 #if PY_VERSION_HEX >= 0x02030000
40164 #ifdef COUNT_ALLOCS
40165 0,0,0,0 /* tp_alloc -> tp_next */
40168 varlink_type
= tmp
;
40169 varlink_type
.ob_type
= &PyType_Type
;
40172 return &varlink_type
;
40175 /* Create a variable linking object for use later */
40176 SWIGINTERN PyObject
*
40177 SWIG_Python_newvarlink(void) {
40178 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40182 return ((PyObject
*) result
);
40186 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40187 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40188 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40190 size_t size
= strlen(name
)+1;
40191 gv
->name
= (char *)malloc(size
);
40193 strncpy(gv
->name
,name
,size
);
40194 gv
->get_attr
= get_attr
;
40195 gv
->set_attr
= set_attr
;
40196 gv
->next
= v
->vars
;
40202 SWIGINTERN PyObject
*
40204 static PyObject
*_SWIG_globals
= 0;
40205 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40206 return _SWIG_globals
;
40209 /* -----------------------------------------------------------------------------
40210 * constants/methods manipulation
40211 * ----------------------------------------------------------------------------- */
40213 /* Install Constants */
40215 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40218 for (i
= 0; constants
[i
].type
; ++i
) {
40219 switch(constants
[i
].type
) {
40220 case SWIG_PY_POINTER
:
40221 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40223 case SWIG_PY_BINARY
:
40224 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40231 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40237 /* -----------------------------------------------------------------------------*/
40238 /* Fix SwigMethods to carry the callback ptrs when needed */
40239 /* -----------------------------------------------------------------------------*/
40242 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40243 swig_const_info
*const_table
,
40244 swig_type_info
**types
,
40245 swig_type_info
**types_initial
) {
40247 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40248 const char *c
= methods
[i
].ml_doc
;
40249 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40251 swig_const_info
*ci
= 0;
40252 const char *name
= c
+ 10;
40253 for (j
= 0; const_table
[j
].type
; ++j
) {
40254 if (strncmp(const_table
[j
].name
, name
,
40255 strlen(const_table
[j
].name
)) == 0) {
40256 ci
= &(const_table
[j
]);
40261 size_t shift
= (ci
->ptype
) - types
;
40262 swig_type_info
*ty
= types_initial
[shift
];
40263 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40264 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40265 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40268 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40270 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40272 strncpy(buff
, "swig_ptr: ", 10);
40274 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40275 methods
[i
].ml_doc
= ndoc
;
40287 /* -----------------------------------------------------------------------------*
40288 * Partial Init method
40289 * -----------------------------------------------------------------------------*/
40294 SWIGEXPORT
void SWIG_init(void) {
40297 /* Fix SwigMethods to carry the callback ptrs when needed */
40298 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40300 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40301 d
= PyModule_GetDict(m
);
40303 SWIG_InitializeModule(0);
40304 SWIG_InstallConstants(d
,swig_const_table
);
40307 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40308 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40309 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40310 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40311 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40312 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40313 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40314 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40315 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40316 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40317 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40318 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40319 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40320 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40321 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40322 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40323 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40324 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40325 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40326 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40327 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40328 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40329 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40330 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40331 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40332 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40333 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40334 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40335 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40336 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40337 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40338 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40339 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40340 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40341 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40342 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40343 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40344 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40345 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40346 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40347 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40348 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40349 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40350 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40351 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40352 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40353 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40354 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40355 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40356 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40357 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40358 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40359 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40360 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40361 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40362 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40363 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40364 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40365 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40366 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40367 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40368 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40369 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40370 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40371 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40372 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40373 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40374 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40375 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40376 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40377 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40378 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40379 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40380 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40381 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40382 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40383 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40384 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40385 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40386 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40387 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40388 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40389 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40390 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40391 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40392 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40393 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40394 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40395 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40396 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40397 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40398 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40399 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40400 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40401 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40402 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40403 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40404 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40405 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40406 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40407 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40408 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40409 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40410 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40411 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40412 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40413 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40414 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40415 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40416 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40417 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40418 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40419 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40420 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40421 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40422 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40423 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40424 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40425 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40426 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40427 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40428 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40429 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40430 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40431 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40432 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40433 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40434 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40435 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40436 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40437 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40438 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40440 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40442 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40443 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40444 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40445 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
40446 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
40447 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
40448 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
40449 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
40450 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
40451 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
40452 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
40453 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
40454 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
40455 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
40456 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
40457 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
40458 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
40459 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
40460 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
40461 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
40462 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
40463 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
40464 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
40465 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
40466 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
40467 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
40468 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
40469 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
40470 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
40471 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
40472 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
40473 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
40474 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
40475 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
40476 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
40477 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
40478 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
40479 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
40480 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
40481 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
40482 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
40483 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
40484 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
40485 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
40486 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
40487 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
40488 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
40489 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
40490 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
40491 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
40492 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
40493 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
40494 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
40495 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
40496 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
40497 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
40498 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
40499 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
40500 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
40501 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
40502 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
40503 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
40504 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
40505 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
40506 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
40507 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
40508 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
40509 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
40510 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
40511 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
40512 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
40513 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
40514 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
40515 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
40516 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
40517 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
40518 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
40519 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
40520 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
40521 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
40522 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
40523 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
40524 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
40525 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
40526 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
40527 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
40528 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
40529 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
40530 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
40531 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
40532 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
40533 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
40534 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
40535 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
40536 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
40537 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
40538 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
40539 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
40540 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
40541 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
40542 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
40543 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
40544 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
40545 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
40546 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
40547 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
40548 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
40549 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
40550 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
40551 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
40552 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
40553 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
40554 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
40555 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
40556 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
40557 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
40558 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
40559 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
40560 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
40561 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
40562 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
40563 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
40564 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
40565 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
40566 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
40567 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
40568 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
40569 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
40570 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
40571 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
40572 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
40573 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
40574 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
40575 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
40576 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
40577 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
40578 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
40579 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
40580 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
40581 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
40582 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
40583 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
40584 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
40585 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
40586 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
40587 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
40588 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
40589 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
40590 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
40591 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
40592 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
40593 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
40594 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
40595 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
40596 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
40597 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
40598 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
40599 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
40600 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
40601 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
40602 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
40603 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
40604 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
40605 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
40606 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
40607 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
40608 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
40609 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
40610 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
40611 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
40612 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
40613 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
40614 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
40615 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
40616 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
40617 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
40618 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
40619 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
40620 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
40621 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
40622 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
40623 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
40624 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
40625 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
40626 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
40627 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
40628 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
40629 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
40630 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
40631 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
40632 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
40633 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
40634 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
40635 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
40636 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
40637 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
40638 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
40639 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
40640 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
40641 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
40642 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
40643 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
40644 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
40645 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
40646 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
40647 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
40648 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
40649 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
40650 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
40651 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
40652 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
40653 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
40654 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
40655 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
40656 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
40657 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
40658 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
40659 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
40660 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
40661 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
40662 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
40663 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
40664 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
40665 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
40666 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
40667 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
40668 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
40669 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
40670 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
40671 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
40672 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
40673 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
40674 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
40675 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
40676 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
40677 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
40678 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
40679 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
40680 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
40681 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
40682 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
40683 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
40684 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
40685 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
40686 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
40687 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
40688 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
40689 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
40690 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
40691 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
40692 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
40693 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
40694 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
40695 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
40696 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
40697 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
40698 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
40699 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
40700 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
40701 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
40702 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
40703 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
40704 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
40705 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
40706 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
40707 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
40708 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
40709 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
40710 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
40711 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
40712 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
40713 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
40714 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
40715 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
40716 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
40717 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
40718 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
40719 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
40720 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
40721 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
40722 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
40723 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
40724 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
40725 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
40726 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
40727 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
40728 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
40729 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
40730 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
40731 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
40732 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
40733 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
40734 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
40735 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
40736 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
40737 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
40738 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
40739 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
40740 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
40741 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
40742 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
40743 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
40744 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
40745 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
40746 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
40747 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
40748 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
40749 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
40750 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
40751 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
40752 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
40753 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
40754 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
40755 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
40756 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
40757 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
40758 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
40759 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
40760 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
40761 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
40762 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
40763 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
40765 // Work around a chicken/egg problem in drawlist.cpp
40766 wxPyDrawList_SetAPIPtr();