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 SWIGINTERNINLINE PyObject
*
2927 SWIG_From_short (short value
)
2929 return SWIG_From_long (value
);
2934 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2937 int res
= SWIG_AsVal_long (obj
, &v
);
2938 if (SWIG_IsOK(res
)) {
2939 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2940 return SWIG_OverflowError
;
2942 if (val
) *val
= static_cast< short >(v
);
2949 #include <wx/rawbmp.h>
2952 #include <wx/image.h>
2954 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2955 char** cArray
= NULL
;
2958 if (!PyList_Check(listOfStrings
)) {
2959 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2962 count
= PyList_Size(listOfStrings
);
2963 cArray
= new char*[count
];
2965 for(int x
=0; x
<count
; x
++) {
2966 // TODO: Need some validation and error checking here
2967 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2974 char** cArray
= NULL
;
2977 cArray
= ConvertListOfStrings(listOfStrings
);
2980 bmp
= new wxBitmap(cArray
);
2984 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2987 PyString_AsStringAndSize(bits
, &buf
, &length
);
2988 return new wxBitmap(buf
, width
, height
, depth
);
2990 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2991 wxSize
size(self
->GetWidth(), self
->GetHeight());
2994 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2995 wxMask
*mask
= new wxMask(*self
, colour
);
2996 self
->SetMask(mask
);
2998 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2999 self
->SetWidth(size
.x
);
3000 self
->SetHeight(size
.y
);
3002 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
3003 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
3005 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
3006 // appears to me that the other platforms are already doing it, so I'll just
3007 // automatically do it for wxMSW here.
3009 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
3010 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
3012 #define wxPy_premultiply(p, a) (p)
3013 #define wxPy_unpremultiply(p, a) (p)
3017 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3018 buffer data
, int DATASIZE
,
3019 buffer alpha
, int ALPHASIZE
)
3021 if (DATASIZE
!= width
*height
*3) {
3022 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 if (ALPHASIZE
!= width
*height
) {
3027 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3031 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3032 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3034 // raise an exception...
3035 wxPyErr_SetString(PyExc_RuntimeError
,
3036 "Failed to gain raw access to bitmap data.");
3041 wxAlphaPixelData::Iterator
p(pixData
);
3042 for (int y
=0; y
<height
; y
++) {
3043 wxAlphaPixelData::Iterator rowStart
= p
;
3044 for (int x
=0; x
<width
; x
++) {
3045 byte a
= *(alpha
++);
3046 p
.Red() = wxPy_premultiply(*(data
++), a
);
3047 p
.Green() = wxPy_premultiply(*(data
++), a
);
3048 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3053 p
.OffsetY(pixData
, 1);
3058 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3060 if (DATASIZE
!= width
*height
*3) {
3061 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3065 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3066 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3068 // raise an exception...
3069 wxPyErr_SetString(PyExc_RuntimeError
,
3070 "Failed to gain raw access to bitmap data.");
3074 wxNativePixelData::Iterator
p(pixData
);
3075 for (int y
=0; y
<height
; y
++) {
3076 wxNativePixelData::Iterator rowStart
= p
;
3077 for (int x
=0; x
<width
; x
++) {
3078 p
.Red() = *(data
++);
3079 p
.Green() = *(data
++);
3080 p
.Blue() = *(data
++);
3084 p
.OffsetY(pixData
, 1);
3090 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3092 if (DATASIZE
!= width
*height
*4) {
3093 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3097 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3098 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3100 // raise an exception...
3101 wxPyErr_SetString(PyExc_RuntimeError
,
3102 "Failed to gain raw access to bitmap data.");
3107 wxAlphaPixelData::Iterator
p(pixData
);
3108 for (int y
=0; y
<height
; y
++) {
3109 wxAlphaPixelData::Iterator rowStart
= p
;
3110 for (int x
=0; x
<width
; x
++) {
3112 p
.Red() = wxPy_premultiply(*(data
++), a
);
3113 p
.Green() = wxPy_premultiply(*(data
++), a
);
3114 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3115 p
.Alpha() = a
; data
++;
3119 p
.OffsetY(pixData
, 1);
3125 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3127 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3128 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3129 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3131 self
->Green() = green
;
3132 self
->Blue() = blue
;
3134 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3135 PyObject
* rv
= PyTuple_New(3);
3136 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3137 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3138 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3142 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3144 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3145 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3146 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3147 self
->Red() = wxPy_premultiply(red
, alpha
);
3148 self
->Green() = wxPy_premultiply(green
, alpha
);
3149 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3150 self
->Alpha() = alpha
;
3152 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3153 PyObject
* rv
= PyTuple_New(4);
3154 int red
= self
->Red();
3155 int green
= self
->Green();
3156 int blue
= self
->Blue();
3157 int alpha
= self
->Alpha();
3159 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3160 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3161 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3162 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3165 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3166 if ( !colour
.IsOk() )
3167 return new wxMask(bitmap
, *wxBLACK
);
3169 return new wxMask(bitmap
, colour
);
3172 #include <wx/iconbndl.h>
3174 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3175 wxIcon
* icon
= new wxIcon();
3176 icon
->CopyFromBitmap(bmp
);
3179 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3180 char** cArray
= NULL
;
3183 cArray
= ConvertListOfStrings(listOfStrings
);
3186 icon
= new wxIcon(cArray
);
3190 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3194 return new wxIconLocation(*filename
);
3197 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3204 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3211 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3213 wxImage
img(cursorName
, type
);
3214 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3215 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3216 return new wxCursor(img
);
3218 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3223 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3226 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3227 return self
->operator bool();
3230 #include <wx/fontutil.h>
3231 #include <wx/fontmap.h>
3232 #include <wx/fontenum.h>
3234 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3235 return self
->ToString();
3238 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3239 static wxNativeEncodingInfo info
;
3240 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3247 SWIGINTERNINLINE PyObject
*
3248 SWIG_From_size_t (size_t value
)
3250 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3254 SWIGINTERNINLINE
int
3255 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3258 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3259 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3263 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3264 wxFontEncoding alt_enc
;
3265 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3266 return PyInt_FromLong(alt_enc
);
3272 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3273 wxNativeFontInfo nfi
;
3274 nfi
.FromString(info
);
3275 return new wxFont(nfi
);
3277 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3278 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3280 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3281 return wxFontBase::New(pixelSize
, family
,
3282 style
, weight
, underlined
,
3285 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3286 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3288 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3289 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3291 class wxPyFontEnumerator
: public wxFontEnumerator
{
3293 wxPyFontEnumerator() {}
3294 ~wxPyFontEnumerator() {}
3296 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3297 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3302 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3303 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3306 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3308 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3309 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3310 ret
= wxArrayString2PyList_helper(arr
);
3311 wxPyEndBlockThreads(blocked
);
3314 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3316 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3317 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3318 ret
= wxArrayString2PyList_helper(arr
);
3319 wxPyEndBlockThreads(blocked
);
3325 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3328 loc
= new wxLocale();
3330 loc
= new wxLocale(language
, flags
);
3331 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3332 // for the floating point conversions and such to work right.
3333 #if PY_VERSION_HEX < 0x02040000
3334 setlocale(LC_NUMERIC
, "C");
3338 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3339 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3340 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3341 // for the floating point conversions and such to work right.
3342 #if PY_VERSION_HEX < 0x02040000
3343 setlocale(LC_NUMERIC
, "C");
3347 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3348 bool rc
= self
->Init(language
, flags
);
3349 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3350 // for the floating point conversions and such to work right.
3351 #if PY_VERSION_HEX < 0x02040000
3352 setlocale(LC_NUMERIC
, "C");
3357 class wxPyLocale
: public wxLocale
3362 wxPyLocale(const wxChar
*szName
, // name (for messages)
3363 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3364 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3365 bool bLoadDefault
= true, // preload wxstd.mo?
3366 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3368 wxPyLocale(int language
, // wxLanguage id or custom language
3369 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3373 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3374 const wxChar
*szDomain
= NULL
) const;
3375 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3376 const wxChar
*szOrigString2
, size_t n
,
3377 const wxChar
*szDomain
= NULL
) const;
3379 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3380 const wxChar
*szDomain
= NULL
) const;
3381 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3382 const wxChar
*szOrigString2
, size_t n
,
3383 const wxChar
*szDomain
= NULL
) const;
3387 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3390 wxPyLocale::wxPyLocale() : wxLocale()
3394 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3395 const wxChar
*szShort
, // dir prefix (for msg files)
3396 const wxChar
*szLocale
, // locale (for setlocale)
3397 bool bLoadDefault
, // preload wxstd.mo?
3398 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3399 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3403 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3404 int flags
) : wxLocale(language
, flags
)
3408 wxPyLocale::~wxPyLocale()
3412 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szDomain
) const
3415 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3416 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3419 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3420 const wxChar
*szOrigString2
, size_t n
,
3421 const wxChar
*szDomain
) const
3423 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3424 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3427 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
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
, "GetSingularString"))) {
3435 PyObject
* param1
= wx2PyString(szOrigString
);
3436 PyObject
* param2
= wx2PyString(szDomain
);
3437 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3441 str
= Py2wxString(ret
);
3445 wxPyEndBlockThreads(blocked
);
3446 return (found
? (wxChar
*)str
.c_str() : NULL
);
3449 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3450 const wxChar
*szOrigString2
, size_t n
,
3451 const wxChar
*szDomain
) const
3454 static wxString str
;
3455 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.
3456 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3457 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3458 PyObject
* param1
= wx2PyString(szOrigString
);
3459 PyObject
* param2
= wx2PyString(szOrigString2
);
3460 PyObject
* param4
= wx2PyString(szDomain
);
3461 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3466 str
= Py2wxString(ret
);
3470 wxPyEndBlockThreads(blocked
);
3471 return (found
? (wxChar
*)str
.c_str() : NULL
);
3474 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3477 loc
= new wxPyLocale();
3479 loc
= new wxPyLocale(language
, flags
);
3480 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3481 // for the floating point conversions and such to work right.
3482 #if PY_VERSION_HEX < 0x02040000
3483 setlocale(LC_NUMERIC
, "C");
3488 #include "wx/wxPython/pydrawxxx.h"
3490 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3492 self
->GetPixel(x
, y
, &col
);
3495 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3497 self
->GetPixel(pt
, &col
);
3502 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3504 if (PyNumber_Check(obj
)) {
3505 if (val
) *val
= PyFloat_AsDouble(obj
);
3508 return SWIG_TypeError
;
3511 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3513 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3516 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3518 self
->GetClippingBox(rect
);
3521 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3523 self
->GetPartialTextExtents(text
, widths
);
3527 #define SWIG_From_double PyFloat_FromDouble
3529 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3530 self
->SetLogicalOrigin(point
.x
, point
.y
);
3532 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3533 self
->SetDeviceOrigin(point
.x
, point
.y
);
3535 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3536 self
->CalcBoundingBox(point
.x
, point
.y
);
3538 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3539 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3541 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3542 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3544 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3545 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3547 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3548 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3550 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3551 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3553 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3554 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3557 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3565 #include <wx/dcbuffer.h>
3568 #include <wx/dcps.h>
3571 #include <wx/metafile.h>
3574 #include <wx/graphics.h>
3577 #if !wxUSE_GRAPHICS_CONTEXT
3578 // C++ stub classes for platforms or build configurations that don't have
3579 // wxGraphicsContext yet.
3582 class wxGraphicsObject
: public wxObject
3585 wxGraphicsObject( wxGraphicsRenderer
* ) {
3586 PyErr_SetString(PyExc_NotImplementedError
,
3587 "wx.GraphicsObject is not available on this platform.");
3589 wxGraphicsObject( const wxGraphicsObject
& ) {}
3590 virtual ~wxGraphicsObject() {}
3591 bool IsNull() const { return false; }
3592 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3597 class wxGraphicsPen
: public wxGraphicsObject
3600 virtual ~wxGraphicsPen() {}
3602 wxGraphicsPen wxNullGraphicsPen
;
3606 class wxGraphicsBrush
: public wxGraphicsObject
3609 wxGraphicsBrush() {}
3610 virtual ~wxGraphicsBrush() {}
3612 wxGraphicsBrush wxNullGraphicsBrush
;
3616 class wxGraphicsFont
: public wxGraphicsObject
3620 virtual ~wxGraphicsFont() {}
3622 wxGraphicsFont wxNullGraphicsFont
;
3626 class wxGraphicsPath
: public wxGraphicsObject
3629 wxGraphicsPath(wxGraphicsRenderer
* ) {
3630 PyErr_SetString(PyExc_NotImplementedError
,
3631 "wx.GraphicsPath is not available on this platform.");
3633 virtual ~wxGraphicsPath() {}
3635 void MoveToPoint( wxDouble
, wxDouble
) {}
3636 void MoveToPoint( const wxPoint2DDouble
& ) {}
3637 void AddLineToPoint( wxDouble
, wxDouble
) {}
3638 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3639 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3640 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3641 void AddPath( const wxGraphicsPath
* ) {}
3642 void CloseSubpath() {}
3643 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3644 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3645 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3646 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3648 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3649 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3650 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3651 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3653 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3654 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3655 void * GetNativePath() const { return NULL
; }
3656 void UnGetNativePath(void *) {}
3657 void Transform( wxGraphicsMatrix
* ) {}
3658 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3659 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3661 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3662 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3664 wxGraphicsPath wxNullGraphicsPath
;
3667 class wxGraphicsMatrix
: public wxGraphicsObject
3670 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3671 PyErr_SetString(PyExc_NotImplementedError
,
3672 "wx.GraphicsMatrix is not available on this platform.");
3674 virtual ~wxGraphicsMatrix() {}
3675 virtual void Concat( const wxGraphicsMatrix
* ) {}
3676 virtual void Copy( const wxGraphicsMatrix
* ) {}
3677 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3678 wxDouble
, wxDouble
) {}
3679 virtual void Invert() {}
3680 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3681 virtual bool IsIdentity() { return false; }
3682 virtual void Translate( wxDouble
, wxDouble
) {}
3683 virtual void Scale( wxDouble
, wxDouble
) {}
3684 virtual void Rotate( wxDouble
) {}
3685 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3686 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3687 virtual void * GetNativeMatrix() const { return NULL
; }
3689 wxGraphicsMatrix wxNullGraphicsMatrix
;
3692 class wxGraphicsContext
: public wxGraphicsObject
3696 wxGraphicsContext(wxGraphicsRenderer
* ) {
3697 PyErr_SetString(PyExc_NotImplementedError
,
3698 "wx.GraphicsContext is not available on this platform.");
3701 virtual ~wxGraphicsContext() {}
3703 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3704 PyErr_SetString(PyExc_NotImplementedError
,
3705 "wx.GraphicsContext is not available on this platform.");
3708 static wxGraphicsContext
* CreateFromNative( void * ) {
3709 PyErr_SetString(PyExc_NotImplementedError
,
3710 "wx.GraphicsContext is not available on this platform.");
3713 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3714 PyErr_SetString(PyExc_NotImplementedError
,
3715 "wx.GraphicsContext is not available on this platform.");
3718 static wxGraphicsContext
* Create( wxWindow
* ) {
3719 PyErr_SetString(PyExc_NotImplementedError
,
3720 "wx.GraphicsContext is not available on this platform.");
3723 wxGraphicsPath
* CreatePath() { return NULL
; }
3725 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3727 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3729 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3730 const wxColour
&, const wxColour
&) { return NULL
; }
3732 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3733 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3734 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3736 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3738 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3739 wxDouble
, wxDouble
) { return NULL
; }
3741 virtual void PushState() {}
3742 virtual void PopState() {}
3743 virtual void Clip( const wxRegion
& ) {}
3744 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3745 virtual void ResetClip() {}
3746 virtual void * GetNativeContext() { return NULL
; }
3747 virtual void Translate( wxDouble
, wxDouble
) {}
3748 virtual void Scale( wxDouble
, wxDouble
) {}
3749 virtual void Rotate( wxDouble
) {}
3750 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3751 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3752 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3754 virtual void SetPen( const wxGraphicsPen
& ) {}
3755 void SetPen( const wxPen
& ) {}
3757 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3758 void SetBrush( const wxBrush
& ) {}
3760 virtual void SetFont( const wxGraphicsFont
& ) {}
3761 void SetFont( const wxFont
&, const wxColour
& ) {}
3763 virtual void StrokePath( const wxGraphicsPath
* ) {}
3764 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3765 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3767 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3768 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3769 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3770 wxDouble
*, wxDouble
* ) const {}
3771 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3773 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3774 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3776 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3777 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3778 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3779 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3780 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3781 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3782 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3783 virtual bool ShouldOffset() const { return false; }
3787 class wxGraphicsRenderer
: public wxObject
3790 wxGraphicsRenderer() {
3791 PyErr_SetString(PyExc_NotImplementedError
,
3792 "wx.GraphicsRenderer is not available on this platform.");
3795 virtual ~wxGraphicsRenderer() {}
3797 static wxGraphicsRenderer
* GetDefaultRenderer(
3798 PyErr_SetString(PyExc_NotImplementedError
,
3799 "wx.GraphicsRenderer is not available on this platform.");
3802 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3803 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3804 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3805 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3807 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3809 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3810 wxDouble
, wxDouble
) { return NULL
; }
3812 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3813 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3814 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3815 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3816 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3817 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3818 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3823 class wxGCDC
: public wxWindowDC
3826 wxGCDC(const wxWindowDC
&) {
3827 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3828 PyErr_SetString(PyExc_NotImplementedError
,
3829 "wxGCDC is not available on this platform.");
3830 wxPyEndBlockThreads(blocked
);
3834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3835 PyErr_SetString(PyExc_NotImplementedError
,
3836 "wxGCDC is not available on this platform.");
3837 wxPyEndBlockThreads(blocked
);
3840 virtual ~wxGCDC() {}
3842 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3843 void SetGraphicsContext( wxGraphicsContext
* ) {}
3848 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3851 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3852 wxDouble width
= 0.0,
3854 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3855 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3856 PyObject
* rv
= PyTuple_New(2);
3857 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3858 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3861 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3862 wxArrayDouble widths
;
3863 self
->GetPartialTextExtents(text
, widths
);
3866 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3867 size_t c1
, c2
, count
;
3868 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3869 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3871 if ( beginP
!= NULL
&& endP
!= NULL
)
3873 count
= wxMin(c1
, c2
);
3874 self
->StrokeLines(count
, beginP
, endP
);
3880 #include "wx/dcgraph.h"
3883 #include <wx/overlay.h>
3887 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3888 self
->AddColour(name
, wxColour(red
, green
, blue
));
3891 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3892 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3893 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3894 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3897 #include <wx/effects.h>
3900 #include "wx/renderer.h"
3903 SWIGINTERNINLINE PyObject
*
3904 SWIG_From_bool (bool value
)
3906 return PyBool_FromLong(value
? 1 : 0);
3910 #include "wx/wxPython/pseudodc.h"
3912 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3914 self
->GetIdBounds(id
, rect
);
3920 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3921 PyObject
*resultobj
= 0;
3922 wxGDIObject
*result
= 0 ;
3924 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3926 if (!wxPyCheckForApp()) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (wxGDIObject
*)new wxGDIObject();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3939 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3940 PyObject
*resultobj
= 0;
3941 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3944 PyObject
*swig_obj
[1] ;
3946 if (!args
) SWIG_fail
;
3948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3949 if (!SWIG_IsOK(res1
)) {
3950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3952 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) SWIG_fail
;
3960 resultobj
= SWIG_Py_Void();
3967 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3968 PyObject
*resultobj
= 0;
3969 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3973 PyObject
*swig_obj
[1] ;
3975 if (!args
) SWIG_fail
;
3977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3978 if (!SWIG_IsOK(res1
)) {
3979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3981 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (bool)(arg1
)->IsNull();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3997 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4000 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4001 return SWIG_Py_Void();
4004 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4005 return SWIG_Python_InitShadowInstance(args
);
4008 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
= 0;
4010 byte arg1
= (byte
) 0 ;
4011 byte arg2
= (byte
) 0 ;
4012 byte arg3
= (byte
) 0 ;
4013 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4014 wxColour
*result
= 0 ;
4015 unsigned char val1
;
4017 unsigned char val2
;
4019 unsigned char val3
;
4021 unsigned char val4
;
4023 PyObject
* obj0
= 0 ;
4024 PyObject
* obj1
= 0 ;
4025 PyObject
* obj2
= 0 ;
4026 PyObject
* obj3
= 0 ;
4027 char * kwnames
[] = {
4028 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4033 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4034 if (!SWIG_IsOK(ecode1
)) {
4035 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4037 arg1
= static_cast< byte
>(val1
);
4040 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4041 if (!SWIG_IsOK(ecode2
)) {
4042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4044 arg2
= static_cast< byte
>(val2
);
4047 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4048 if (!SWIG_IsOK(ecode3
)) {
4049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4051 arg3
= static_cast< byte
>(val3
);
4054 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4055 if (!SWIG_IsOK(ecode4
)) {
4056 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4058 arg4
= static_cast< byte
>(val4
);
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4073 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
= 0;
4075 wxString
*arg1
= 0 ;
4076 wxColour
*result
= 0 ;
4077 bool temp1
= false ;
4078 PyObject
* obj0
= 0 ;
4079 char * kwnames
[] = {
4080 (char *) "colorName", NULL
4083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4085 arg1
= wxString_in_helper(obj0
);
4086 if (arg1
== NULL
) SWIG_fail
;
4090 if (!wxPyCheckForApp()) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4111 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
= 0;
4113 unsigned long arg1
;
4114 wxColour
*result
= 0 ;
4115 unsigned long val1
;
4117 PyObject
* obj0
= 0 ;
4118 char * kwnames
[] = {
4119 (char *) "colRGB", NULL
4122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4123 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4124 if (!SWIG_IsOK(ecode1
)) {
4125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4127 arg1
= static_cast< unsigned long >(val1
);
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (wxColour
*)new wxColour(arg1
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4141 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4142 PyObject
*resultobj
= 0;
4143 wxColour
*arg1
= (wxColour
*) 0 ;
4146 PyObject
*swig_obj
[1] ;
4148 if (!args
) SWIG_fail
;
4150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4151 if (!SWIG_IsOK(res1
)) {
4152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4154 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_Py_Void();
4169 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4170 PyObject
*resultobj
= 0;
4171 wxColour
*arg1
= (wxColour
*) 0 ;
4175 PyObject
*swig_obj
[1] ;
4177 if (!args
) SWIG_fail
;
4179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4180 if (!SWIG_IsOK(res1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4183 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (byte
)(arg1
)->Red();
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4197 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4198 PyObject
*resultobj
= 0;
4199 wxColour
*arg1
= (wxColour
*) 0 ;
4203 PyObject
*swig_obj
[1] ;
4205 if (!args
) SWIG_fail
;
4207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4208 if (!SWIG_IsOK(res1
)) {
4209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4211 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 result
= (byte
)(arg1
)->Green();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4225 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4226 PyObject
*resultobj
= 0;
4227 wxColour
*arg1
= (wxColour
*) 0 ;
4231 PyObject
*swig_obj
[1] ;
4233 if (!args
) SWIG_fail
;
4235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4236 if (!SWIG_IsOK(res1
)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4239 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (byte
)(arg1
)->Blue();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4253 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4254 PyObject
*resultobj
= 0;
4255 wxColour
*arg1
= (wxColour
*) 0 ;
4259 PyObject
*swig_obj
[1] ;
4261 if (!args
) SWIG_fail
;
4263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4264 if (!SWIG_IsOK(res1
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4267 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (byte
)(arg1
)->Alpha();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4281 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4282 PyObject
*resultobj
= 0;
4283 wxColour
*arg1
= (wxColour
*) 0 ;
4287 PyObject
*swig_obj
[1] ;
4289 if (!args
) SWIG_fail
;
4291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4292 if (!SWIG_IsOK(res1
)) {
4293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4295 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (bool)(arg1
)->IsOk();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4311 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
= 0;
4313 wxColour
*arg1
= (wxColour
*) 0 ;
4317 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4320 unsigned char val2
;
4322 unsigned char val3
;
4324 unsigned char val4
;
4326 unsigned char val5
;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4330 PyObject
* obj2
= 0 ;
4331 PyObject
* obj3
= 0 ;
4332 PyObject
* obj4
= 0 ;
4333 char * kwnames
[] = {
4334 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4339 if (!SWIG_IsOK(res1
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4342 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4343 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4344 if (!SWIG_IsOK(ecode2
)) {
4345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4347 arg2
= static_cast< byte
>(val2
);
4348 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4349 if (!SWIG_IsOK(ecode3
)) {
4350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4352 arg3
= static_cast< byte
>(val3
);
4353 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4354 if (!SWIG_IsOK(ecode4
)) {
4355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4357 arg4
= static_cast< byte
>(val4
);
4359 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4360 if (!SWIG_IsOK(ecode5
)) {
4361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4363 arg5
= static_cast< byte
>(val5
);
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_Py_Void();
4378 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
= 0;
4380 wxColour
*arg1
= (wxColour
*) 0 ;
4381 unsigned long arg2
;
4384 unsigned long val2
;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4388 char * kwnames
[] = {
4389 (char *) "self",(char *) "colRGB", NULL
4392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4394 if (!SWIG_IsOK(res1
)) {
4395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4397 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4398 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4399 if (!SWIG_IsOK(ecode2
)) {
4400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4402 arg2
= static_cast< unsigned long >(val2
);
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= SWIG_Py_Void();
4416 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
= 0;
4418 wxColour
*arg1
= (wxColour
*) 0 ;
4419 wxString
*arg2
= 0 ;
4422 bool temp2
= false ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4425 char * kwnames
[] = {
4426 (char *) "self",(char *) "colourName", NULL
4429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4431 if (!SWIG_IsOK(res1
)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4434 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4436 arg2
= wxString_in_helper(obj1
);
4437 if (arg2
== NULL
) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 (arg1
)->Set((wxString
const &)*arg2
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_Py_Void();
4461 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
= 0;
4463 wxColour
*arg1
= (wxColour
*) 0 ;
4464 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4470 PyObject
* obj0
= 0 ;
4471 PyObject
* obj1
= 0 ;
4472 char * kwnames
[] = {
4473 (char *) "self",(char *) "flags", NULL
4476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4478 if (!SWIG_IsOK(res1
)) {
4479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4481 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4483 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4484 if (!SWIG_IsOK(ecode2
)) {
4485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4487 arg2
= static_cast< long >(val2
);
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4508 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4509 PyObject
*resultobj
= 0;
4510 wxColour
*arg1
= (wxColour
*) 0 ;
4514 PyObject
*swig_obj
[1] ;
4516 if (!args
) SWIG_fail
;
4518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4519 if (!SWIG_IsOK(res1
)) {
4520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4522 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_From_long(static_cast< long >(result
));
4536 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
= 0;
4538 wxColour
*arg1
= (wxColour
*) 0 ;
4539 PyObject
*arg2
= (PyObject
*) 0 ;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4545 char * kwnames
[] = {
4546 (char *) "self",(char *) "other", NULL
4549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4551 if (!SWIG_IsOK(res1
)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4554 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4557 result
= (bool)wxColour___eq__(arg1
,arg2
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4569 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
= 0;
4571 wxColour
*arg1
= (wxColour
*) 0 ;
4572 PyObject
*arg2
= (PyObject
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4577 PyObject
* obj1
= 0 ;
4578 char * kwnames
[] = {
4579 (char *) "self",(char *) "other", NULL
4582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4584 if (!SWIG_IsOK(res1
)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4587 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4590 result
= (bool)wxColour___ne__(arg1
,arg2
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4602 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
= 0;
4604 wxColour
*arg1
= (wxColour
*) 0 ;
4605 bool arg2
= (bool) false ;
4606 PyObject
*result
= 0 ;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4613 char * kwnames
[] = {
4614 (char *) "self",(char *) "includeAlpha", NULL
4617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4619 if (!SWIG_IsOK(res1
)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4622 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4624 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4625 if (!SWIG_IsOK(ecode2
)) {
4626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4628 arg2
= static_cast< bool >(val2
);
4631 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4641 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4642 PyObject
*resultobj
= 0;
4643 wxColour
*arg1
= (wxColour
*) 0 ;
4644 unsigned long result
;
4647 PyObject
*swig_obj
[1] ;
4649 if (!args
) SWIG_fail
;
4651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4652 if (!SWIG_IsOK(res1
)) {
4653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4655 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4657 result
= (unsigned long)wxColour_GetRGB(arg1
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4667 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4670 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4671 return SWIG_Py_Void();
4674 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4675 return SWIG_Python_InitShadowInstance(args
);
4678 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
= 0;
4681 unsigned char *arg2
= (unsigned char *) 0 ;
4682 unsigned char *arg3
= (unsigned char *) 0 ;
4683 unsigned char *arg4
= (unsigned char *) 0 ;
4684 wxPalette
*result
= 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 PyObject
* obj2
= 0 ;
4696 PyObject
* obj3
= 0 ;
4697 char * kwnames
[] = {
4698 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4703 if (!SWIG_IsOK(ecode1
)) {
4704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4706 arg1
= static_cast< int >(val1
);
4707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4708 if (!SWIG_IsOK(res2
)) {
4709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4711 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4712 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4713 if (!SWIG_IsOK(res3
)) {
4714 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4716 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4717 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4718 if (!SWIG_IsOK(res4
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4721 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4723 if (!wxPyCheckForApp()) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4736 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4737 PyObject
*resultobj
= 0;
4738 wxPalette
*arg1
= (wxPalette
*) 0 ;
4741 PyObject
*swig_obj
[1] ;
4743 if (!args
) SWIG_fail
;
4745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4746 if (!SWIG_IsOK(res1
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4749 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= SWIG_Py_Void();
4764 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
*resultobj
= 0;
4766 wxPalette
*arg1
= (wxPalette
*) 0 ;
4773 unsigned char val2
;
4775 unsigned char val3
;
4777 unsigned char val4
;
4779 PyObject
* obj0
= 0 ;
4780 PyObject
* obj1
= 0 ;
4781 PyObject
* obj2
= 0 ;
4782 PyObject
* obj3
= 0 ;
4783 char * kwnames
[] = {
4784 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4792 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4793 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4794 if (!SWIG_IsOK(ecode2
)) {
4795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4797 arg2
= static_cast< byte
>(val2
);
4798 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4799 if (!SWIG_IsOK(ecode3
)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4802 arg3
= static_cast< byte
>(val3
);
4803 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4804 if (!SWIG_IsOK(ecode4
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4807 arg4
= static_cast< byte
>(val4
);
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_From_int(static_cast< int >(result
));
4821 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
= 0;
4823 wxPalette
*arg1
= (wxPalette
*) 0 ;
4825 byte
*arg3
= (byte
*) 0 ;
4826 byte
*arg4
= (byte
*) 0 ;
4827 byte
*arg5
= (byte
*) 0 ;
4834 int res3
= SWIG_TMPOBJ
;
4836 int res4
= SWIG_TMPOBJ
;
4838 int res5
= SWIG_TMPOBJ
;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4841 char * kwnames
[] = {
4842 (char *) "self",(char *) "pixel", NULL
4848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4850 if (!SWIG_IsOK(res1
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4853 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4855 if (!SWIG_IsOK(ecode2
)) {
4856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4858 arg2
= static_cast< int >(val2
);
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 if (SWIG_IsTmpObj(res3
)) {
4869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4871 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4874 if (SWIG_IsTmpObj(res4
)) {
4875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4877 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4880 if (SWIG_IsTmpObj(res5
)) {
4881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4883 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4892 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4893 PyObject
*resultobj
= 0;
4894 wxPalette
*arg1
= (wxPalette
*) 0 ;
4898 PyObject
*swig_obj
[1] ;
4900 if (!args
) SWIG_fail
;
4902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4903 if (!SWIG_IsOK(res1
)) {
4904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4906 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= SWIG_From_int(static_cast< int >(result
));
4920 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4921 PyObject
*resultobj
= 0;
4922 wxPalette
*arg1
= (wxPalette
*) 0 ;
4926 PyObject
*swig_obj
[1] ;
4928 if (!args
) SWIG_fail
;
4930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4931 if (!SWIG_IsOK(res1
)) {
4932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4934 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (bool)(arg1
)->IsOk();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4950 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4953 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4954 return SWIG_Py_Void();
4957 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4958 return SWIG_Python_InitShadowInstance(args
);
4961 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
= 0;
4963 wxColour
*arg1
= 0 ;
4964 int arg2
= (int) 1 ;
4965 int arg3
= (int) wxSOLID
;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4974 PyObject
* obj2
= 0 ;
4975 char * kwnames
[] = {
4976 (char *) "colour",(char *) "width",(char *) "style", NULL
4979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4982 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4986 if (!SWIG_IsOK(ecode2
)) {
4987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4989 arg2
= static_cast< int >(val2
);
4992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4993 if (!SWIG_IsOK(ecode3
)) {
4994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4996 arg3
= static_cast< int >(val3
);
4999 if (!wxPyCheckForApp()) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5012 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5013 PyObject
*resultobj
= 0;
5014 wxPen
*arg1
= (wxPen
*) 0 ;
5017 PyObject
*swig_obj
[1] ;
5019 if (!args
) SWIG_fail
;
5021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5022 if (!SWIG_IsOK(res1
)) {
5023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5025 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= SWIG_Py_Void();
5040 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5041 PyObject
*resultobj
= 0;
5042 wxPen
*arg1
= (wxPen
*) 0 ;
5046 PyObject
*swig_obj
[1] ;
5048 if (!args
) SWIG_fail
;
5050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5051 if (!SWIG_IsOK(res1
)) {
5052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5054 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (int)(arg1
)->GetCap();
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_From_int(static_cast< int >(result
));
5068 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 PyObject
*resultobj
= 0;
5070 wxPen
*arg1
= (wxPen
*) 0 ;
5074 PyObject
*swig_obj
[1] ;
5076 if (!args
) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5082 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (arg1
)->GetColour();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5096 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5097 PyObject
*resultobj
= 0;
5098 wxPen
*arg1
= (wxPen
*) 0 ;
5102 PyObject
*swig_obj
[1] ;
5104 if (!args
) SWIG_fail
;
5106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5107 if (!SWIG_IsOK(res1
)) {
5108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5110 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (int)(arg1
)->GetJoin();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= SWIG_From_int(static_cast< int >(result
));
5124 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5125 PyObject
*resultobj
= 0;
5126 wxPen
*arg1
= (wxPen
*) 0 ;
5130 PyObject
*swig_obj
[1] ;
5132 if (!args
) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5138 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (int)(arg1
)->GetStyle();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_From_int(static_cast< int >(result
));
5152 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5153 PyObject
*resultobj
= 0;
5154 wxPen
*arg1
= (wxPen
*) 0 ;
5158 PyObject
*swig_obj
[1] ;
5160 if (!args
) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5166 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (int)(arg1
)->GetWidth();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_From_int(static_cast< int >(result
));
5180 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5181 PyObject
*resultobj
= 0;
5182 wxPen
*arg1
= (wxPen
*) 0 ;
5186 PyObject
*swig_obj
[1] ;
5188 if (!args
) SWIG_fail
;
5190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5191 if (!SWIG_IsOK(res1
)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5194 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (bool)(arg1
)->IsOk();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5210 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
= 0;
5212 wxPen
*arg1
= (wxPen
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 char * kwnames
[] = {
5221 (char *) "self",(char *) "cap_style", NULL
5224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5226 if (!SWIG_IsOK(res1
)) {
5227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5229 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5231 if (!SWIG_IsOK(ecode2
)) {
5232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5234 arg2
= static_cast< int >(val2
);
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 (arg1
)->SetCap(arg2
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_Py_Void();
5248 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
= 0;
5250 wxPen
*arg1
= (wxPen
*) 0 ;
5251 wxColour
*arg2
= 0 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "self",(char *) "colour", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5266 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 (arg1
)->SetColour(*arg2
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= SWIG_Py_Void();
5284 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
= 0;
5286 wxPen
*arg1
= (wxPen
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5293 PyObject
* obj1
= 0 ;
5294 char * kwnames
[] = {
5295 (char *) "self",(char *) "join_style", NULL
5298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5300 if (!SWIG_IsOK(res1
)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5303 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5305 if (!SWIG_IsOK(ecode2
)) {
5306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5308 arg2
= static_cast< int >(val2
);
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 (arg1
)->SetJoin(arg2
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= SWIG_Py_Void();
5322 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5323 PyObject
*resultobj
= 0;
5324 wxPen
*arg1
= (wxPen
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5331 PyObject
* obj1
= 0 ;
5332 char * kwnames
[] = {
5333 (char *) "self",(char *) "style", NULL
5336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5338 if (!SWIG_IsOK(res1
)) {
5339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5341 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5343 if (!SWIG_IsOK(ecode2
)) {
5344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5346 arg2
= static_cast< int >(val2
);
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 (arg1
)->SetStyle(arg2
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5362 wxPen
*arg1
= (wxPen
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 char * kwnames
[] = {
5371 (char *) "self",(char *) "width", NULL
5374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5376 if (!SWIG_IsOK(res1
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5379 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5381 if (!SWIG_IsOK(ecode2
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5384 arg2
= static_cast< int >(val2
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->SetWidth(arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_Py_Void();
5398 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
= 0;
5400 wxPen
*arg1
= (wxPen
*) 0 ;
5402 wxDash
*arg3
= (wxDash
*) 0 ;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5407 char * kwnames
[] = {
5408 (char *) "self",(char *) "dashes", NULL
5411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5413 if (!SWIG_IsOK(res1
)) {
5414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5416 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5418 arg2
= PyList_Size(obj1
);
5419 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5420 if (arg3
== NULL
) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 (arg1
)->SetDashes(arg2
,arg3
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_Py_Void();
5430 if (arg3
) delete [] arg3
;
5435 if (arg3
) delete [] arg3
;
5441 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5442 PyObject
*resultobj
= 0;
5443 wxPen
*arg1
= (wxPen
*) 0 ;
5444 PyObject
*result
= 0 ;
5447 PyObject
*swig_obj
[1] ;
5449 if (!args
) SWIG_fail
;
5451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5452 if (!SWIG_IsOK(res1
)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5455 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5469 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
= 0;
5471 wxPen
*arg1
= (wxPen
*) 0 ;
5472 PyObject
*arg2
= (PyObject
*) 0 ;
5473 PyObject
*arg3
= (PyObject
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5478 PyObject
* obj2
= 0 ;
5479 char * kwnames
[] = {
5480 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5485 if (!SWIG_IsOK(res1
)) {
5486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5488 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 wxPen__SetDashes(arg1
,arg2
,arg3
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_Py_Void();
5504 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
= 0;
5506 wxPen
*arg1
= (wxPen
*) 0 ;
5507 wxPen
*arg2
= (wxPen
*) 0 ;
5513 PyObject
* obj0
= 0 ;
5514 PyObject
* obj1
= 0 ;
5515 char * kwnames
[] = {
5516 (char *) "self",(char *) "other", NULL
5519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5521 if (!SWIG_IsOK(res1
)) {
5522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5524 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5525 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5526 if (!SWIG_IsOK(res2
)) {
5527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5529 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5545 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
= 0;
5547 wxPen
*arg1
= (wxPen
*) 0 ;
5548 wxPen
*arg2
= (wxPen
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5556 char * kwnames
[] = {
5557 (char *) "self",(char *) "other", NULL
5560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5562 if (!SWIG_IsOK(res1
)) {
5563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5565 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5567 if (!SWIG_IsOK(res2
)) {
5568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5570 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5586 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5589 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5590 return SWIG_Py_Void();
5593 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5594 return SWIG_Python_InitShadowInstance(args
);
5597 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
= 0;
5599 wxColour
*arg1
= 0 ;
5600 int arg2
= (int) wxSOLID
;
5601 wxBrush
*result
= 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5607 char * kwnames
[] = {
5608 (char *) "colour",(char *) "style", NULL
5611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5614 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5618 if (!SWIG_IsOK(ecode2
)) {
5619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5621 arg2
= static_cast< int >(val2
);
5624 if (!wxPyCheckForApp()) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5637 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
= 0;
5639 wxBitmap
*arg1
= 0 ;
5640 wxBrush
*result
= 0 ;
5643 PyObject
* obj0
= 0 ;
5644 char * kwnames
[] = {
5645 (char *) "stippleBitmap", NULL
5648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5649 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5650 if (!SWIG_IsOK(res1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5656 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5658 if (!wxPyCheckForApp()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5671 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5672 PyObject
*resultobj
= 0;
5673 wxBrush
*arg1
= (wxBrush
*) 0 ;
5676 PyObject
*swig_obj
[1] ;
5678 if (!args
) SWIG_fail
;
5680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5681 if (!SWIG_IsOK(res1
)) {
5682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5684 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= SWIG_Py_Void();
5699 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
= 0;
5701 wxBrush
*arg1
= (wxBrush
*) 0 ;
5702 wxColour
*arg2
= 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 char * kwnames
[] = {
5709 (char *) "self",(char *) "col", NULL
5712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5714 if (!SWIG_IsOK(res1
)) {
5715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5717 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5720 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 (arg1
)->SetColour((wxColour
const &)*arg2
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_Py_Void();
5735 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
= 0;
5737 wxBrush
*arg1
= (wxBrush
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 char * kwnames
[] = {
5746 (char *) "self",(char *) "style", NULL
5749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5751 if (!SWIG_IsOK(res1
)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5754 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5756 if (!SWIG_IsOK(ecode2
)) {
5757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5759 arg2
= static_cast< int >(val2
);
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 (arg1
)->SetStyle(arg2
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_Py_Void();
5773 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
= 0;
5775 wxBrush
*arg1
= (wxBrush
*) 0 ;
5776 wxBitmap
*arg2
= 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5783 char * kwnames
[] = {
5784 (char *) "self",(char *) "stipple", NULL
5787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5789 if (!SWIG_IsOK(res1
)) {
5790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5792 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5794 if (!SWIG_IsOK(res2
)) {
5795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5800 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= SWIG_Py_Void();
5814 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5815 PyObject
*resultobj
= 0;
5816 wxBrush
*arg1
= (wxBrush
*) 0 ;
5820 PyObject
*swig_obj
[1] ;
5822 if (!args
) SWIG_fail
;
5824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5825 if (!SWIG_IsOK(res1
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5828 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= ((wxBrush
const *)arg1
)->GetColour();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5842 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5843 PyObject
*resultobj
= 0;
5844 wxBrush
*arg1
= (wxBrush
*) 0 ;
5848 PyObject
*swig_obj
[1] ;
5850 if (!args
) SWIG_fail
;
5852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5853 if (!SWIG_IsOK(res1
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5856 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_From_int(static_cast< int >(result
));
5870 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5871 PyObject
*resultobj
= 0;
5872 wxBrush
*arg1
= (wxBrush
*) 0 ;
5873 wxBitmap
*result
= 0 ;
5876 PyObject
*swig_obj
[1] ;
5878 if (!args
) SWIG_fail
;
5880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5881 if (!SWIG_IsOK(res1
)) {
5882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5884 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5898 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5899 PyObject
*resultobj
= 0;
5900 wxBrush
*arg1
= (wxBrush
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5912 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5928 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5929 PyObject
*resultobj
= 0;
5930 wxBrush
*arg1
= (wxBrush
*) 0 ;
5934 PyObject
*swig_obj
[1] ;
5936 if (!args
) SWIG_fail
;
5938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5939 if (!SWIG_IsOK(res1
)) {
5940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5942 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (bool)(arg1
)->IsOk();
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5958 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5959 PyObject
*resultobj
= 0;
5960 wxBrush
*arg1
= (wxBrush
*) 0 ;
5964 PyObject
*swig_obj
[1] ;
5966 if (!args
) SWIG_fail
;
5968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5969 if (!SWIG_IsOK(res1
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5972 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (short)(arg1
)->MacGetTheme();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_From_short(static_cast< short >(result
));
5986 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
= 0;
5988 wxBrush
*arg1
= (wxBrush
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5996 char * kwnames
[] = {
5997 (char *) "self",(char *) "macThemeBrush", NULL
6000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6002 if (!SWIG_IsOK(res1
)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6005 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6006 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6007 if (!SWIG_IsOK(ecode2
)) {
6008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6010 arg2
= static_cast< short >(val2
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 (arg1
)->MacSetTheme(arg2
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= SWIG_Py_Void();
6024 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6027 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6028 return SWIG_Py_Void();
6031 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6032 return SWIG_Python_InitShadowInstance(args
);
6035 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
= 0;
6037 wxString
*arg1
= 0 ;
6038 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6039 wxBitmap
*result
= 0 ;
6040 bool temp1
= false ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6045 char * kwnames
[] = {
6046 (char *) "name",(char *) "type", NULL
6049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6051 arg1
= wxString_in_helper(obj0
);
6052 if (arg1
== NULL
) SWIG_fail
;
6056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6057 if (!SWIG_IsOK(ecode2
)) {
6058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6060 arg2
= static_cast< wxBitmapType
>(val2
);
6063 if (!wxPyCheckForApp()) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6084 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6085 PyObject
*resultobj
= 0;
6086 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6089 PyObject
*swig_obj
[1] ;
6091 if (!args
) SWIG_fail
;
6093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6094 if (!SWIG_IsOK(res1
)) {
6095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6097 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_Py_Void();
6110 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
= 0;
6114 int arg3
= (int) -1 ;
6115 wxBitmap
*result
= 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6124 PyObject
* obj2
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "width",(char *) "height",(char *) "depth", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6130 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6131 if (!SWIG_IsOK(ecode1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6134 arg1
= static_cast< int >(val1
);
6135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6136 if (!SWIG_IsOK(ecode2
)) {
6137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6139 arg2
= static_cast< int >(val2
);
6141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6142 if (!SWIG_IsOK(ecode3
)) {
6143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6145 arg3
= static_cast< int >(val3
);
6148 if (!wxPyCheckForApp()) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6161 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
= 0;
6164 wxBitmap
*result
= 0 ;
6167 PyObject
* obj0
= 0 ;
6168 char * kwnames
[] = {
6169 (char *) "icon", NULL
6172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6174 if (!SWIG_IsOK(res1
)) {
6175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6180 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6182 if (!wxPyCheckForApp()) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6195 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6198 int arg2
= (int) -1 ;
6199 wxBitmap
*result
= 0 ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "image",(char *) "depth", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6218 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6221 if (!SWIG_IsOK(ecode2
)) {
6222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6224 arg2
= static_cast< int >(val2
);
6227 if (!wxPyCheckForApp()) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6240 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 PyObject
*arg1
= (PyObject
*) 0 ;
6243 wxBitmap
*result
= 0 ;
6244 PyObject
* obj0
= 0 ;
6245 char * kwnames
[] = {
6246 (char *) "listOfStrings", NULL
6249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6252 if (!wxPyCheckForApp()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6265 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
= 0;
6267 PyObject
*arg1
= (PyObject
*) 0 ;
6270 int arg4
= (int) 1 ;
6271 wxBitmap
*result
= 0 ;
6278 PyObject
* obj0
= 0 ;
6279 PyObject
* obj1
= 0 ;
6280 PyObject
* obj2
= 0 ;
6281 PyObject
* obj3
= 0 ;
6282 char * kwnames
[] = {
6283 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6289 if (!SWIG_IsOK(ecode2
)) {
6290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6292 arg2
= static_cast< int >(val2
);
6293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6294 if (!SWIG_IsOK(ecode3
)) {
6295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6297 arg3
= static_cast< int >(val3
);
6299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6300 if (!SWIG_IsOK(ecode4
)) {
6301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6303 arg4
= static_cast< int >(val4
);
6306 if (!wxPyCheckForApp()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6319 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6320 PyObject
*resultobj
= 0;
6321 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6325 PyObject
*swig_obj
[1] ;
6327 if (!args
) SWIG_fail
;
6329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6330 if (!SWIG_IsOK(res1
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6333 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6335 result
= (bool)(arg1
)->IsOk();
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6347 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6348 PyObject
*resultobj
= 0;
6349 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6353 PyObject
*swig_obj
[1] ;
6355 if (!args
) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6363 result
= (int)(arg1
)->GetWidth();
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_From_int(static_cast< int >(result
));
6373 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6379 PyObject
*swig_obj
[1] ;
6381 if (!args
) SWIG_fail
;
6383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6384 if (!SWIG_IsOK(res1
)) {
6385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6387 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6389 result
= (int)(arg1
)->GetHeight();
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_From_int(static_cast< int >(result
));
6399 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6400 PyObject
*resultobj
= 0;
6401 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6405 PyObject
*swig_obj
[1] ;
6407 if (!args
) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6413 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6415 result
= (int)(arg1
)->GetDepth();
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_From_int(static_cast< int >(result
));
6425 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6426 PyObject
*resultobj
= 0;
6427 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6441 result
= wxBitmap_GetSize(arg1
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6444 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6451 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6452 PyObject
*resultobj
= 0;
6453 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6454 SwigValueWrapper
<wxImage
> result
;
6457 PyObject
*swig_obj
[1] ;
6459 if (!args
) SWIG_fail
;
6461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6462 if (!SWIG_IsOK(res1
)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6465 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6467 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6477 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6480 wxMask
*result
= 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6491 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6493 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6503 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
= 0;
6505 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6506 wxMask
*arg2
= (wxMask
*) 0 ;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6512 char * kwnames
[] = {
6513 (char *) "self",(char *) "mask", NULL
6516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6518 if (!SWIG_IsOK(res1
)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6521 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6522 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6523 if (!SWIG_IsOK(res2
)) {
6524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6527 (arg1
)->SetMask(arg2
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_Py_Void();
6537 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
= 0;
6539 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6540 wxColour
*arg2
= 0 ;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6546 char * kwnames
[] = {
6547 (char *) "self",(char *) "colour", NULL
6550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6561 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_Py_Void();
6571 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
= 0;
6573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6575 SwigValueWrapper
<wxBitmap
> result
;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 char * kwnames
[] = {
6582 (char *) "self",(char *) "rect", NULL
6585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) 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_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6590 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6593 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6596 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6606 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
= 0;
6608 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6609 wxString
*arg2
= 0 ;
6611 wxPalette
*arg4
= (wxPalette
*) NULL
;
6615 bool temp2
= false ;
6620 PyObject
* obj0
= 0 ;
6621 PyObject
* obj1
= 0 ;
6622 PyObject
* obj2
= 0 ;
6623 PyObject
* obj3
= 0 ;
6624 char * kwnames
[] = {
6625 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6630 if (!SWIG_IsOK(res1
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6633 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6635 arg2
= wxString_in_helper(obj1
);
6636 if (arg2
== NULL
) SWIG_fail
;
6639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6640 if (!SWIG_IsOK(ecode3
)) {
6641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6643 arg3
= static_cast< wxBitmapType
>(val3
);
6645 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6646 if (!SWIG_IsOK(res4
)) {
6647 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6649 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6652 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6653 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6672 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
= 0;
6674 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6675 wxString
*arg2
= 0 ;
6680 bool temp2
= false ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6685 PyObject
* obj2
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "name",(char *) "type", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6695 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6697 arg2
= wxString_in_helper(obj1
);
6698 if (arg2
== NULL
) SWIG_fail
;
6701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6702 if (!SWIG_IsOK(ecode3
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6705 arg3
= static_cast< wxBitmapType
>(val3
);
6707 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6727 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6728 PyObject
*resultobj
= 0;
6729 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6730 wxPalette
*result
= 0 ;
6733 PyObject
*swig_obj
[1] ;
6735 if (!args
) SWIG_fail
;
6737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6738 if (!SWIG_IsOK(res1
)) {
6739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6741 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6743 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6753 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= 0;
6755 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6764 char * kwnames
[] = {
6765 (char *) "self",(char *) "icon", NULL
6768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6770 if (!SWIG_IsOK(res1
)) {
6771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6773 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6775 if (!SWIG_IsOK(res2
)) {
6776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6781 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6783 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6795 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
= 0;
6797 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6805 char * kwnames
[] = {
6806 (char *) "self",(char *) "height", NULL
6809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6811 if (!SWIG_IsOK(res1
)) {
6812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6814 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6816 if (!SWIG_IsOK(ecode2
)) {
6817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6819 arg2
= static_cast< int >(val2
);
6821 (arg1
)->SetHeight(arg2
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_Py_Void();
6831 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
= 0;
6833 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6841 char * kwnames
[] = {
6842 (char *) "self",(char *) "width", NULL
6845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6847 if (!SWIG_IsOK(res1
)) {
6848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6850 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6852 if (!SWIG_IsOK(ecode2
)) {
6853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6855 arg2
= static_cast< int >(val2
);
6857 (arg1
)->SetWidth(arg2
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_Py_Void();
6867 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
= 0;
6869 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 char * kwnames
[] = {
6878 (char *) "self",(char *) "depth", NULL
6881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6883 if (!SWIG_IsOK(res1
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6886 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6888 if (!SWIG_IsOK(ecode2
)) {
6889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6891 arg2
= static_cast< int >(val2
);
6893 (arg1
)->SetDepth(arg2
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_Py_Void();
6903 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
= 0;
6905 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6910 PyObject
* obj0
= 0 ;
6911 PyObject
* obj1
= 0 ;
6912 char * kwnames
[] = {
6913 (char *) "self",(char *) "size", NULL
6916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6918 if (!SWIG_IsOK(res1
)) {
6919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6921 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6924 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6927 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_Py_Void();
6937 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
= 0;
6939 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6940 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 char * kwnames
[] = {
6949 (char *) "self",(char *) "other", NULL
6952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6954 if (!SWIG_IsOK(res1
)) {
6955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6957 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6959 if (!SWIG_IsOK(res2
)) {
6960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6962 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6964 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6976 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
= 0;
6978 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6979 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6987 char * kwnames
[] = {
6988 (char *) "self",(char *) "other", NULL
6991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6993 if (!SWIG_IsOK(res1
)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6996 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6998 if (!SWIG_IsOK(res2
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7001 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7003 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7015 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7018 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7019 return SWIG_Py_Void();
7022 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7023 return SWIG_Python_InitShadowInstance(args
);
7026 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
= 0;
7034 wxBitmap
*result
= 0 ;
7041 PyObject
* obj0
= 0 ;
7042 PyObject
* obj1
= 0 ;
7043 PyObject
* obj2
= 0 ;
7044 PyObject
* obj3
= 0 ;
7045 char * kwnames
[] = {
7046 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7051 if (!SWIG_IsOK(ecode1
)) {
7052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7054 arg1
= static_cast< int >(val1
);
7055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7056 if (!SWIG_IsOK(ecode2
)) {
7057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7059 arg2
= static_cast< int >(val2
);
7061 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7065 if (obj3
!= Py_None
) {
7066 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7071 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7081 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
= 0;
7087 wxBitmap
*result
= 0 ;
7093 PyObject
* obj0
= 0 ;
7094 PyObject
* obj1
= 0 ;
7095 PyObject
* obj2
= 0 ;
7096 char * kwnames
[] = {
7097 (char *) "width",(char *) "height",(char *) "data", NULL
7100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7102 if (!SWIG_IsOK(ecode1
)) {
7103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7105 arg1
= static_cast< int >(val1
);
7106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7107 if (!SWIG_IsOK(ecode2
)) {
7108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7110 arg2
= static_cast< int >(val2
);
7112 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7116 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7126 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7132 wxBitmap
*result
= 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 PyObject
* obj2
= 0 ;
7141 char * kwnames
[] = {
7142 (char *) "width",(char *) "height",(char *) "data", NULL
7145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7146 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7147 if (!SWIG_IsOK(ecode1
)) {
7148 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7150 arg1
= static_cast< int >(val1
);
7151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7152 if (!SWIG_IsOK(ecode2
)) {
7153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7155 arg2
= static_cast< int >(val2
);
7157 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7161 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7171 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7172 PyObject
*resultobj
= 0;
7173 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7177 PyObject
*swig_obj
[1] ;
7179 if (!args
) SWIG_fail
;
7181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7182 if (!SWIG_IsOK(res1
)) {
7183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7185 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7187 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7197 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7198 PyObject
*resultobj
= 0;
7199 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7203 PyObject
*swig_obj
[1] ;
7205 if (!args
) SWIG_fail
;
7207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7208 if (!SWIG_IsOK(res1
)) {
7209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7211 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7213 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_From_int(static_cast< int >(result
));
7223 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7224 PyObject
*resultobj
= 0;
7225 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7237 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7239 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_From_int(static_cast< int >(result
));
7249 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7250 PyObject
*resultobj
= 0;
7251 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7255 PyObject
*swig_obj
[1] ;
7257 if (!args
) SWIG_fail
;
7259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7260 if (!SWIG_IsOK(res1
)) {
7261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7263 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7265 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7275 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7276 PyObject
*resultobj
= 0;
7277 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7281 PyObject
*swig_obj
[1] ;
7283 if (!args
) SWIG_fail
;
7285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7286 if (!SWIG_IsOK(res1
)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7289 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7291 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_From_int(static_cast< int >(result
));
7301 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7304 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7305 return SWIG_Py_Void();
7308 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7309 PyObject
*resultobj
= 0;
7310 wxBitmap
*arg1
= 0 ;
7311 wxNativePixelData
*result
= 0 ;
7315 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7317 if (!SWIG_IsOK(res1
)) {
7318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7323 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7325 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7335 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7336 PyObject
*resultobj
= 0;
7337 wxBitmap
*arg1
= 0 ;
7339 wxNativePixelData
*result
= 0 ;
7344 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7346 if (!SWIG_IsOK(res1
)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7352 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7355 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7358 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7368 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7369 PyObject
*resultobj
= 0;
7370 wxBitmap
*arg1
= 0 ;
7373 wxNativePixelData
*result
= 0 ;
7379 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7381 if (!SWIG_IsOK(res1
)) {
7382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7387 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7390 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7394 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7397 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7407 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7411 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7414 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7417 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7420 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7424 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7429 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7430 PyObject
*resultobj
= 0;
7431 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7434 PyObject
*swig_obj
[1] ;
7436 if (!args
) SWIG_fail
;
7438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7439 if (!SWIG_IsOK(res1
)) {
7440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7442 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_Py_Void();
7455 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7456 PyObject
*resultobj
= 0;
7457 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7458 wxNativePixelData_Accessor result
;
7461 PyObject
*swig_obj
[1] ;
7463 if (!args
) SWIG_fail
;
7465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7466 if (!SWIG_IsOK(res1
)) {
7467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7469 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7471 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7481 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7482 PyObject
*resultobj
= 0;
7483 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7486 PyObject
*swig_obj
[1] ;
7488 if (!args
) SWIG_fail
;
7490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7491 if (!SWIG_IsOK(res1
)) {
7492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7494 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_Py_Void();
7506 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7507 PyObject
*resultobj
= 0;
7508 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7512 PyObject
*swig_obj
[1] ;
7514 if (!args
) SWIG_fail
;
7516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7517 if (!SWIG_IsOK(res1
)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7520 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7522 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7534 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7537 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7538 return SWIG_Py_Void();
7541 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7542 return SWIG_Python_InitShadowInstance(args
);
7545 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7546 PyObject
*resultobj
= 0;
7547 wxNativePixelData
*arg1
= 0 ;
7548 wxNativePixelData_Accessor
*result
= 0 ;
7552 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7560 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7562 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7572 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7573 PyObject
*resultobj
= 0;
7574 wxBitmap
*arg1
= 0 ;
7575 wxNativePixelData
*arg2
= 0 ;
7576 wxNativePixelData_Accessor
*result
= 0 ;
7582 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7584 if (!SWIG_IsOK(res1
)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7590 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7591 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7592 if (!SWIG_IsOK(res2
)) {
7593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7598 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7600 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7610 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7611 PyObject
*resultobj
= 0;
7612 wxNativePixelData_Accessor
*result
= 0 ;
7614 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7616 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7626 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7630 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7633 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7636 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7639 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7643 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7648 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7649 PyObject
*resultobj
= 0;
7650 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7653 PyObject
*swig_obj
[1] ;
7655 if (!args
) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7661 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_Py_Void();
7674 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
= 0;
7676 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7677 wxNativePixelData
*arg2
= 0 ;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7684 char * kwnames
[] = {
7685 (char *) "self",(char *) "data", NULL
7688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7690 if (!SWIG_IsOK(res1
)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7693 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7695 if (!SWIG_IsOK(res2
)) {
7696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7701 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7703 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_Py_Void();
7713 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7714 PyObject
*resultobj
= 0;
7715 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7719 PyObject
*swig_obj
[1] ;
7721 if (!args
) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7727 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7729 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7730 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7741 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7742 PyObject
*resultobj
= 0;
7743 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7746 PyObject
*swig_obj
[1] ;
7748 if (!args
) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7754 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7756 wxNativePixelData_Accessor_nextPixel(arg1
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 resultobj
= SWIG_Py_Void();
7766 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
= 0;
7768 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7769 wxNativePixelData
*arg2
= 0 ;
7780 PyObject
* obj0
= 0 ;
7781 PyObject
* obj1
= 0 ;
7782 PyObject
* obj2
= 0 ;
7783 PyObject
* obj3
= 0 ;
7784 char * kwnames
[] = {
7785 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7790 if (!SWIG_IsOK(res1
)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7793 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7795 if (!SWIG_IsOK(res2
)) {
7796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7801 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7803 if (!SWIG_IsOK(ecode3
)) {
7804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7806 arg3
= static_cast< int >(val3
);
7807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7808 if (!SWIG_IsOK(ecode4
)) {
7809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7811 arg4
= static_cast< int >(val4
);
7813 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_Py_Void();
7823 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
= 0;
7825 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7826 wxNativePixelData
*arg2
= 0 ;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7836 PyObject
* obj2
= 0 ;
7837 char * kwnames
[] = {
7838 (char *) "self",(char *) "data",(char *) "x", NULL
7841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7843 if (!SWIG_IsOK(res1
)) {
7844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7846 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7847 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7848 if (!SWIG_IsOK(res2
)) {
7849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7854 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7856 if (!SWIG_IsOK(ecode3
)) {
7857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7859 arg3
= static_cast< int >(val3
);
7861 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_Py_Void();
7871 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
= 0;
7873 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7874 wxNativePixelData
*arg2
= 0 ;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7884 PyObject
* obj2
= 0 ;
7885 char * kwnames
[] = {
7886 (char *) "self",(char *) "data",(char *) "y", NULL
7889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7891 if (!SWIG_IsOK(res1
)) {
7892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7894 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7896 if (!SWIG_IsOK(res2
)) {
7897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7902 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7904 if (!SWIG_IsOK(ecode3
)) {
7905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7907 arg3
= static_cast< int >(val3
);
7909 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_Py_Void();
7919 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
= 0;
7921 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7922 wxNativePixelData
*arg2
= 0 ;
7933 PyObject
* obj0
= 0 ;
7934 PyObject
* obj1
= 0 ;
7935 PyObject
* obj2
= 0 ;
7936 PyObject
* obj3
= 0 ;
7937 char * kwnames
[] = {
7938 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7943 if (!SWIG_IsOK(res1
)) {
7944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7946 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7948 if (!SWIG_IsOK(res2
)) {
7949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7954 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7956 if (!SWIG_IsOK(ecode3
)) {
7957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7959 arg3
= static_cast< int >(val3
);
7960 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7961 if (!SWIG_IsOK(ecode4
)) {
7962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7964 arg4
= static_cast< int >(val4
);
7966 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_Py_Void();
7976 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
= 0;
7978 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7984 unsigned char val2
;
7986 unsigned char val3
;
7988 unsigned char val4
;
7990 PyObject
* obj0
= 0 ;
7991 PyObject
* obj1
= 0 ;
7992 PyObject
* obj2
= 0 ;
7993 PyObject
* obj3
= 0 ;
7994 char * kwnames
[] = {
7995 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8000 if (!SWIG_IsOK(res1
)) {
8001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8003 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8004 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8005 if (!SWIG_IsOK(ecode2
)) {
8006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8008 arg2
= static_cast< byte
>(val2
);
8009 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8010 if (!SWIG_IsOK(ecode3
)) {
8011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8013 arg3
= static_cast< byte
>(val3
);
8014 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8015 if (!SWIG_IsOK(ecode4
)) {
8016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8018 arg4
= static_cast< byte
>(val4
);
8020 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_Py_Void();
8030 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8031 PyObject
*resultobj
= 0;
8032 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8033 PyObject
*result
= 0 ;
8036 PyObject
*swig_obj
[1] ;
8038 if (!args
) SWIG_fail
;
8040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8041 if (!SWIG_IsOK(res1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8044 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8046 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8056 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8059 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8060 return SWIG_Py_Void();
8063 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8064 return SWIG_Python_InitShadowInstance(args
);
8067 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8068 PyObject
*resultobj
= 0;
8069 wxBitmap
*arg1
= 0 ;
8070 wxAlphaPixelData
*result
= 0 ;
8074 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8076 if (!SWIG_IsOK(res1
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8082 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8084 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8094 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8095 PyObject
*resultobj
= 0;
8096 wxBitmap
*arg1
= 0 ;
8098 wxAlphaPixelData
*result
= 0 ;
8103 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8105 if (!SWIG_IsOK(res1
)) {
8106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8111 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8114 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8117 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8127 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8128 PyObject
*resultobj
= 0;
8129 wxBitmap
*arg1
= 0 ;
8132 wxAlphaPixelData
*result
= 0 ;
8138 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8140 if (!SWIG_IsOK(res1
)) {
8141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8146 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8149 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8153 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8156 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8166 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8170 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8173 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8176 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8179 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8183 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8188 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8189 PyObject
*resultobj
= 0;
8190 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8193 PyObject
*swig_obj
[1] ;
8195 if (!args
) SWIG_fail
;
8197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8198 if (!SWIG_IsOK(res1
)) {
8199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8201 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= SWIG_Py_Void();
8214 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8215 PyObject
*resultobj
= 0;
8216 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8217 wxAlphaPixelData_Accessor result
;
8220 PyObject
*swig_obj
[1] ;
8222 if (!args
) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8228 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8230 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8240 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8241 PyObject
*resultobj
= 0;
8242 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8245 PyObject
*swig_obj
[1] ;
8247 if (!args
) SWIG_fail
;
8249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8250 if (!SWIG_IsOK(res1
)) {
8251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8253 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= SWIG_Py_Void();
8265 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8266 PyObject
*resultobj
= 0;
8267 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8271 PyObject
*swig_obj
[1] ;
8273 if (!args
) SWIG_fail
;
8275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8276 if (!SWIG_IsOK(res1
)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8279 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8281 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8293 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8296 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8297 return SWIG_Py_Void();
8300 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8301 return SWIG_Python_InitShadowInstance(args
);
8304 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8305 PyObject
*resultobj
= 0;
8306 wxAlphaPixelData
*arg1
= 0 ;
8307 wxAlphaPixelData_Accessor
*result
= 0 ;
8311 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8313 if (!SWIG_IsOK(res1
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8319 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8321 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8331 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8332 PyObject
*resultobj
= 0;
8333 wxBitmap
*arg1
= 0 ;
8334 wxAlphaPixelData
*arg2
= 0 ;
8335 wxAlphaPixelData_Accessor
*result
= 0 ;
8341 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8343 if (!SWIG_IsOK(res1
)) {
8344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8349 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8350 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8351 if (!SWIG_IsOK(res2
)) {
8352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8357 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8359 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8369 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8370 PyObject
*resultobj
= 0;
8371 wxAlphaPixelData_Accessor
*result
= 0 ;
8373 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8375 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8385 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8389 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8392 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8395 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8398 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8402 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8407 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8408 PyObject
*resultobj
= 0;
8409 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8412 PyObject
*swig_obj
[1] ;
8414 if (!args
) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8420 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= SWIG_Py_Void();
8433 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
= 0;
8435 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8436 wxAlphaPixelData
*arg2
= 0 ;
8441 PyObject
* obj0
= 0 ;
8442 PyObject
* obj1
= 0 ;
8443 char * kwnames
[] = {
8444 (char *) "self",(char *) "data", NULL
8447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8449 if (!SWIG_IsOK(res1
)) {
8450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8452 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8454 if (!SWIG_IsOK(res2
)) {
8455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8460 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8462 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= SWIG_Py_Void();
8472 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8473 PyObject
*resultobj
= 0;
8474 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8478 PyObject
*swig_obj
[1] ;
8480 if (!args
) SWIG_fail
;
8482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8483 if (!SWIG_IsOK(res1
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8486 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8488 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8489 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8500 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8501 PyObject
*resultobj
= 0;
8502 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8505 PyObject
*swig_obj
[1] ;
8507 if (!args
) SWIG_fail
;
8509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8510 if (!SWIG_IsOK(res1
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8513 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8515 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= SWIG_Py_Void();
8525 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
*resultobj
= 0;
8527 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8528 wxAlphaPixelData
*arg2
= 0 ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 PyObject
* obj2
= 0 ;
8542 PyObject
* obj3
= 0 ;
8543 char * kwnames
[] = {
8544 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8549 if (!SWIG_IsOK(res1
)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8552 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8554 if (!SWIG_IsOK(res2
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8560 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8562 if (!SWIG_IsOK(ecode3
)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8565 arg3
= static_cast< int >(val3
);
8566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8567 if (!SWIG_IsOK(ecode4
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8570 arg4
= static_cast< int >(val4
);
8572 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= SWIG_Py_Void();
8582 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
= 0;
8584 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8585 wxAlphaPixelData
*arg2
= 0 ;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8595 PyObject
* obj2
= 0 ;
8596 char * kwnames
[] = {
8597 (char *) "self",(char *) "data",(char *) "x", NULL
8600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8602 if (!SWIG_IsOK(res1
)) {
8603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8605 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8607 if (!SWIG_IsOK(res2
)) {
8608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8613 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8615 if (!SWIG_IsOK(ecode3
)) {
8616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8618 arg3
= static_cast< int >(val3
);
8620 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= SWIG_Py_Void();
8630 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
= 0;
8632 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8633 wxAlphaPixelData
*arg2
= 0 ;
8641 PyObject
* obj0
= 0 ;
8642 PyObject
* obj1
= 0 ;
8643 PyObject
* obj2
= 0 ;
8644 char * kwnames
[] = {
8645 (char *) "self",(char *) "data",(char *) "y", NULL
8648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8650 if (!SWIG_IsOK(res1
)) {
8651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8653 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8655 if (!SWIG_IsOK(res2
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8661 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8663 if (!SWIG_IsOK(ecode3
)) {
8664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8666 arg3
= static_cast< int >(val3
);
8668 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_Py_Void();
8678 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
= 0;
8680 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8681 wxAlphaPixelData
*arg2
= 0 ;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8694 PyObject
* obj2
= 0 ;
8695 PyObject
* obj3
= 0 ;
8696 char * kwnames
[] = {
8697 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8702 if (!SWIG_IsOK(res1
)) {
8703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8705 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8707 if (!SWIG_IsOK(res2
)) {
8708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8713 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8715 if (!SWIG_IsOK(ecode3
)) {
8716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8718 arg3
= static_cast< int >(val3
);
8719 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8720 if (!SWIG_IsOK(ecode4
)) {
8721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8723 arg4
= static_cast< int >(val4
);
8725 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= SWIG_Py_Void();
8735 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
= 0;
8737 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8744 unsigned char val2
;
8746 unsigned char val3
;
8748 unsigned char val4
;
8750 unsigned char val5
;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 PyObject
* obj2
= 0 ;
8755 PyObject
* obj3
= 0 ;
8756 PyObject
* obj4
= 0 ;
8757 char * kwnames
[] = {
8758 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8763 if (!SWIG_IsOK(res1
)) {
8764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8766 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8767 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8768 if (!SWIG_IsOK(ecode2
)) {
8769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8771 arg2
= static_cast< byte
>(val2
);
8772 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8773 if (!SWIG_IsOK(ecode3
)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8776 arg3
= static_cast< byte
>(val3
);
8777 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8778 if (!SWIG_IsOK(ecode4
)) {
8779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8781 arg4
= static_cast< byte
>(val4
);
8782 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8783 if (!SWIG_IsOK(ecode5
)) {
8784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8786 arg5
= static_cast< byte
>(val5
);
8788 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= SWIG_Py_Void();
8798 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8799 PyObject
*resultobj
= 0;
8800 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8801 PyObject
*result
= 0 ;
8804 PyObject
*swig_obj
[1] ;
8806 if (!args
) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8812 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8814 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8824 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8827 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8828 return SWIG_Py_Void();
8831 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8832 return SWIG_Python_InitShadowInstance(args
);
8835 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
= 0;
8837 wxBitmap
*arg1
= 0 ;
8838 wxColour
const &arg2_defvalue
= wxNullColour
;
8839 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8840 wxMask
*result
= 0 ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 char * kwnames
[] = {
8847 (char *) "bitmap",(char *) "colour", NULL
8850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8851 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8852 if (!SWIG_IsOK(res1
)) {
8853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8858 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8862 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8866 if (!wxPyCheckForApp()) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8879 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8880 PyObject
*resultobj
= 0;
8881 wxMask
*arg1
= (wxMask
*) 0 ;
8884 PyObject
*swig_obj
[1] ;
8886 if (!args
) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8892 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8905 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8908 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8909 return SWIG_Py_Void();
8912 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8913 return SWIG_Python_InitShadowInstance(args
);
8916 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= 0;
8918 wxString
*arg1
= 0 ;
8920 int arg3
= (int) -1 ;
8921 int arg4
= (int) -1 ;
8922 wxIcon
*result
= 0 ;
8923 bool temp1
= false ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8933 PyObject
* obj3
= 0 ;
8934 char * kwnames
[] = {
8935 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8940 arg1
= wxString_in_helper(obj0
);
8941 if (arg1
== NULL
) SWIG_fail
;
8944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8945 if (!SWIG_IsOK(ecode2
)) {
8946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8948 arg2
= static_cast< wxBitmapType
>(val2
);
8950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8951 if (!SWIG_IsOK(ecode3
)) {
8952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8954 arg3
= static_cast< int >(val3
);
8957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8958 if (!SWIG_IsOK(ecode4
)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8961 arg4
= static_cast< int >(val4
);
8964 if (!wxPyCheckForApp()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8985 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8986 PyObject
*resultobj
= 0;
8987 wxIcon
*arg1
= (wxIcon
*) 0 ;
8990 PyObject
*swig_obj
[1] ;
8992 if (!args
) SWIG_fail
;
8994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8995 if (!SWIG_IsOK(res1
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8998 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_Py_Void();
9013 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9014 PyObject
*resultobj
= 0;
9015 wxIcon
*result
= 0 ;
9017 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9019 if (!wxPyCheckForApp()) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 result
= (wxIcon
*)new wxIcon();
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9032 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
= 0;
9034 wxIconLocation
*arg1
= 0 ;
9035 wxIcon
*result
= 0 ;
9038 PyObject
* obj0
= 0 ;
9039 char * kwnames
[] = {
9040 (char *) "loc", NULL
9043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9044 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9045 if (!SWIG_IsOK(res1
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9051 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9053 if (!wxPyCheckForApp()) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9066 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= 0;
9068 wxBitmap
*arg1
= 0 ;
9069 wxIcon
*result
= 0 ;
9072 PyObject
* obj0
= 0 ;
9073 char * kwnames
[] = {
9074 (char *) "bmp", NULL
9077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9078 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9079 if (!SWIG_IsOK(res1
)) {
9080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9085 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9087 if (!wxPyCheckForApp()) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9100 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
= 0;
9102 PyObject
*arg1
= (PyObject
*) 0 ;
9103 wxIcon
*result
= 0 ;
9104 PyObject
* obj0
= 0 ;
9105 char * kwnames
[] = {
9106 (char *) "listOfStrings", NULL
9109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9112 if (!wxPyCheckForApp()) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (wxIcon
*)new_wxIcon(arg1
);
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9125 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9126 PyObject
*resultobj
= 0;
9127 wxIcon
*arg1
= (wxIcon
*) 0 ;
9131 PyObject
*swig_obj
[1] ;
9133 if (!args
) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9139 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 result
= (bool)(arg1
)->IsOk();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9155 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9156 PyObject
*resultobj
= 0;
9157 wxIcon
*arg1
= (wxIcon
*) 0 ;
9161 PyObject
*swig_obj
[1] ;
9163 if (!args
) SWIG_fail
;
9165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9166 if (!SWIG_IsOK(res1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9169 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= (int)(arg1
)->GetWidth();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_From_int(static_cast< int >(result
));
9183 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9184 PyObject
*resultobj
= 0;
9185 wxIcon
*arg1
= (wxIcon
*) 0 ;
9189 PyObject
*swig_obj
[1] ;
9191 if (!args
) SWIG_fail
;
9193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9194 if (!SWIG_IsOK(res1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9197 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (int)(arg1
)->GetHeight();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_From_int(static_cast< int >(result
));
9211 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9212 PyObject
*resultobj
= 0;
9213 wxIcon
*arg1
= (wxIcon
*) 0 ;
9217 PyObject
*swig_obj
[1] ;
9219 if (!args
) SWIG_fail
;
9221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9222 if (!SWIG_IsOK(res1
)) {
9223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9225 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (int)(arg1
)->GetDepth();
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= SWIG_From_int(static_cast< int >(result
));
9239 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
= 0;
9241 wxIcon
*arg1
= (wxIcon
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 char * kwnames
[] = {
9250 (char *) "self",(char *) "w", NULL
9253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9255 if (!SWIG_IsOK(res1
)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9258 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9260 if (!SWIG_IsOK(ecode2
)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9263 arg2
= static_cast< int >(val2
);
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 (arg1
)->SetWidth(arg2
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_Py_Void();
9277 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= 0;
9279 wxIcon
*arg1
= (wxIcon
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 char * kwnames
[] = {
9288 (char *) "self",(char *) "h", NULL
9291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9296 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9298 if (!SWIG_IsOK(ecode2
)) {
9299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9301 arg2
= static_cast< int >(val2
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->SetHeight(arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_Py_Void();
9315 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
= 0;
9317 wxIcon
*arg1
= (wxIcon
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9325 char * kwnames
[] = {
9326 (char *) "self",(char *) "d", NULL
9329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9331 if (!SWIG_IsOK(res1
)) {
9332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9334 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9336 if (!SWIG_IsOK(ecode2
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9339 arg2
= static_cast< int >(val2
);
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 (arg1
)->SetDepth(arg2
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_Py_Void();
9353 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
= 0;
9355 wxIcon
*arg1
= (wxIcon
*) 0 ;
9356 wxBitmap
*arg2
= 0 ;
9361 PyObject
* obj0
= 0 ;
9362 PyObject
* obj1
= 0 ;
9363 char * kwnames
[] = {
9364 (char *) "self",(char *) "bmp", NULL
9367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9369 if (!SWIG_IsOK(res1
)) {
9370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9372 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9374 if (!SWIG_IsOK(res2
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9380 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_Py_Void();
9394 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9397 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9398 return SWIG_Py_Void();
9401 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9402 return SWIG_Python_InitShadowInstance(args
);
9405 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
= 0;
9407 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9408 int arg2
= (int) 0 ;
9409 wxIconLocation
*result
= 0 ;
9410 bool temp1
= false ;
9413 PyObject
* obj0
= 0 ;
9414 PyObject
* obj1
= 0 ;
9415 char * kwnames
[] = {
9416 (char *) "filename",(char *) "num", NULL
9419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9422 arg1
= wxString_in_helper(obj0
);
9423 if (arg1
== NULL
) SWIG_fail
;
9428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9429 if (!SWIG_IsOK(ecode2
)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9432 arg2
= static_cast< int >(val2
);
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9455 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9456 PyObject
*resultobj
= 0;
9457 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9460 PyObject
*swig_obj
[1] ;
9462 if (!args
) SWIG_fail
;
9464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9465 if (!SWIG_IsOK(res1
)) {
9466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9468 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_Py_Void();
9483 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9484 PyObject
*resultobj
= 0;
9485 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9489 PyObject
*swig_obj
[1] ;
9491 if (!args
) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9497 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9513 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
= 0;
9515 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9516 wxString
*arg2
= 0 ;
9519 bool temp2
= false ;
9520 PyObject
* obj0
= 0 ;
9521 PyObject
* obj1
= 0 ;
9522 char * kwnames
[] = {
9523 (char *) "self",(char *) "filename", NULL
9526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9528 if (!SWIG_IsOK(res1
)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9531 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9533 arg2
= wxString_in_helper(obj1
);
9534 if (arg2
== NULL
) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 (arg1
)->SetFileName((wxString
const &)*arg2
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_Py_Void();
9558 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9559 PyObject
*resultobj
= 0;
9560 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9561 wxString
*result
= 0 ;
9564 PyObject
*swig_obj
[1] ;
9566 if (!args
) SWIG_fail
;
9568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9569 if (!SWIG_IsOK(res1
)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9572 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9577 result
= (wxString
*) &_result_ref
;
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9586 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9595 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= 0;
9597 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 char * kwnames
[] = {
9606 (char *) "self",(char *) "num", NULL
9609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9614 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9616 if (!SWIG_IsOK(ecode2
)) {
9617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9619 arg2
= static_cast< int >(val2
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 wxIconLocation_SetIndex(arg1
,arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_Py_Void();
9633 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9634 PyObject
*resultobj
= 0;
9635 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9639 PyObject
*swig_obj
[1] ;
9641 if (!args
) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9647 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (int)wxIconLocation_GetIndex(arg1
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_From_int(static_cast< int >(result
));
9661 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9664 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9665 return SWIG_Py_Void();
9668 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9669 return SWIG_Python_InitShadowInstance(args
);
9672 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9673 PyObject
*resultobj
= 0;
9674 wxIconBundle
*result
= 0 ;
9676 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 result
= (wxIconBundle
*)new wxIconBundle();
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) SWIG_fail
;
9683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9690 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
= 0;
9692 wxString
*arg1
= 0 ;
9694 wxIconBundle
*result
= 0 ;
9695 bool temp1
= false ;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 char * kwnames
[] = {
9701 (char *) "file",(char *) "type", NULL
9704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9706 arg1
= wxString_in_helper(obj0
);
9707 if (arg1
== NULL
) SWIG_fail
;
9710 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9711 if (!SWIG_IsOK(ecode2
)) {
9712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9714 arg2
= static_cast< long >(val2
);
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9736 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
= 0;
9739 wxIconBundle
*result
= 0 ;
9742 PyObject
* obj0
= 0 ;
9743 char * kwnames
[] = {
9744 (char *) "icon", NULL
9747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9755 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9759 wxPyEndAllowThreads(__tstate
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9769 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9770 PyObject
*resultobj
= 0;
9771 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9774 PyObject
*swig_obj
[1] ;
9776 if (!args
) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9782 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_Py_Void();
9797 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9807 char * kwnames
[] = {
9808 (char *) "self",(char *) "icon", NULL
9811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9813 if (!SWIG_IsOK(res1
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9816 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9818 if (!SWIG_IsOK(res2
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9824 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9828 wxPyEndAllowThreads(__tstate
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= SWIG_Py_Void();
9838 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9839 PyObject
*resultobj
= 0;
9840 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9841 wxString
*arg2
= 0 ;
9845 bool temp2
= false ;
9848 PyObject
* obj0
= 0 ;
9849 PyObject
* obj1
= 0 ;
9850 PyObject
* obj2
= 0 ;
9851 char * kwnames
[] = {
9852 (char *) "self",(char *) "file",(char *) "type", NULL
9855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9857 if (!SWIG_IsOK(res1
)) {
9858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9860 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9862 arg2
= wxString_in_helper(obj1
);
9863 if (arg2
== NULL
) SWIG_fail
;
9866 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9867 if (!SWIG_IsOK(ecode3
)) {
9868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9870 arg3
= static_cast< long >(val3
);
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_Py_Void();
9892 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
= 0;
9894 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9896 wxIcon
*result
= 0 ;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9902 char * kwnames
[] = {
9903 (char *) "self",(char *) "size", NULL
9906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9911 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9914 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9920 result
= (wxIcon
*) &_result_ref
;
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9926 wxIcon
* resultptr
= new wxIcon(*result
);
9927 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9935 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9938 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9939 return SWIG_Py_Void();
9942 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9943 return SWIG_Python_InitShadowInstance(args
);
9946 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= 0;
9948 wxString
*arg1
= 0 ;
9950 int arg3
= (int) 0 ;
9951 int arg4
= (int) 0 ;
9952 wxCursor
*result
= 0 ;
9953 bool temp1
= false ;
9960 PyObject
* obj0
= 0 ;
9961 PyObject
* obj1
= 0 ;
9962 PyObject
* obj2
= 0 ;
9963 PyObject
* obj3
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9970 arg1
= wxString_in_helper(obj0
);
9971 if (arg1
== NULL
) SWIG_fail
;
9974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9975 if (!SWIG_IsOK(ecode2
)) {
9976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9978 arg2
= static_cast< long >(val2
);
9980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9981 if (!SWIG_IsOK(ecode3
)) {
9982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9984 arg3
= static_cast< int >(val3
);
9987 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9988 if (!SWIG_IsOK(ecode4
)) {
9989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9991 arg4
= static_cast< int >(val4
);
9994 if (!wxPyCheckForApp()) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10015 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10016 PyObject
*resultobj
= 0;
10017 wxCursor
*arg1
= (wxCursor
*) 0 ;
10020 PyObject
*swig_obj
[1] ;
10022 if (!args
) SWIG_fail
;
10023 swig_obj
[0] = args
;
10024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10025 if (!SWIG_IsOK(res1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10028 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_Py_Void();
10043 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
= 0;
10046 wxCursor
*result
= 0 ;
10049 PyObject
* obj0
= 0 ;
10050 char * kwnames
[] = {
10051 (char *) "id", NULL
10054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10055 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10056 if (!SWIG_IsOK(ecode1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10059 arg1
= static_cast< int >(val1
);
10061 if (!wxPyCheckForApp()) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (wxCursor
*)new wxCursor(arg1
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10074 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxImage
*arg1
= 0 ;
10077 wxCursor
*result
= 0 ;
10080 PyObject
* obj0
= 0 ;
10081 char * kwnames
[] = {
10082 (char *) "image", NULL
10085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10086 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10087 if (!SWIG_IsOK(res1
)) {
10088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10093 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10095 if (!wxPyCheckForApp()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10108 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10109 PyObject
*resultobj
= 0;
10110 wxCursor
*arg1
= (wxCursor
*) 0 ;
10114 PyObject
*swig_obj
[1] ;
10116 if (!args
) SWIG_fail
;
10117 swig_obj
[0] = args
;
10118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10119 if (!SWIG_IsOK(res1
)) {
10120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10122 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (bool)(arg1
)->IsOk();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10138 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10141 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10142 return SWIG_Py_Void();
10145 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10146 return SWIG_Python_InitShadowInstance(args
);
10149 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
= 0;
10151 int arg1
= (int) 0 ;
10152 int arg2
= (int) 0 ;
10153 int arg3
= (int) 0 ;
10154 int arg4
= (int) 0 ;
10155 wxRegion
*result
= 0 ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 PyObject
* obj2
= 0 ;
10167 PyObject
* obj3
= 0 ;
10168 char * kwnames
[] = {
10169 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10174 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10175 if (!SWIG_IsOK(ecode1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10178 arg1
= static_cast< int >(val1
);
10181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10182 if (!SWIG_IsOK(ecode2
)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10185 arg2
= static_cast< int >(val2
);
10188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10189 if (!SWIG_IsOK(ecode3
)) {
10190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10192 arg3
= static_cast< int >(val3
);
10195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10196 if (!SWIG_IsOK(ecode4
)) {
10197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10199 arg4
= static_cast< int >(val4
);
10202 if (!wxPyCheckForApp()) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10215 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= 0;
10217 wxBitmap
*arg1
= 0 ;
10218 wxRegion
*result
= 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char * kwnames
[] = {
10223 (char *) "bmp", NULL
10226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10227 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10228 if (!SWIG_IsOK(res1
)) {
10229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10234 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10236 if (!wxPyCheckForApp()) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10249 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
= 0;
10251 wxBitmap
*arg1
= 0 ;
10252 wxColour
*arg2
= 0 ;
10253 int arg3
= (int) 0 ;
10254 wxRegion
*result
= 0 ;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 PyObject
* obj2
= 0 ;
10263 char * kwnames
[] = {
10264 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10268 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10275 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10282 if (!SWIG_IsOK(ecode3
)) {
10283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10285 arg3
= static_cast< int >(val3
);
10288 if (!wxPyCheckForApp()) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10301 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
= 0;
10304 wxPoint
*arg2
= (wxPoint
*) 0 ;
10305 int arg3
= (int) wxWINDING_RULE
;
10306 wxRegion
*result
= 0 ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 char * kwnames
[] = {
10312 (char *) "points",(char *) "fillStyle", NULL
10315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10317 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10318 if (arg2
== NULL
) SWIG_fail
;
10321 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10322 if (!SWIG_IsOK(ecode3
)) {
10323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10325 arg3
= static_cast< int >(val3
);
10328 if (!wxPyCheckForApp()) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10336 if (arg2
) delete [] arg2
;
10341 if (arg2
) delete [] arg2
;
10347 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10348 PyObject
*resultobj
= 0;
10349 wxRegion
*arg1
= (wxRegion
*) 0 ;
10352 PyObject
*swig_obj
[1] ;
10354 if (!args
) SWIG_fail
;
10355 swig_obj
[0] = args
;
10356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10357 if (!SWIG_IsOK(res1
)) {
10358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10360 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= SWIG_Py_Void();
10375 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10376 PyObject
*resultobj
= 0;
10377 wxRegion
*arg1
= (wxRegion
*) 0 ;
10380 PyObject
*swig_obj
[1] ;
10382 if (!args
) SWIG_fail
;
10383 swig_obj
[0] = args
;
10384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10385 if (!SWIG_IsOK(res1
)) {
10386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10388 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= SWIG_Py_Void();
10402 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
= 0;
10404 wxRegion
*arg1
= (wxRegion
*) 0 ;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 PyObject
* obj2
= 0 ;
10417 char * kwnames
[] = {
10418 (char *) "self",(char *) "x",(char *) "y", NULL
10421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10423 if (!SWIG_IsOK(res1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10426 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10428 if (!SWIG_IsOK(ecode2
)) {
10429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10431 arg2
= static_cast< int >(val2
);
10432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10433 if (!SWIG_IsOK(ecode3
)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10436 arg3
= static_cast< int >(val3
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10452 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
= 0;
10454 wxRegion
*arg1
= (wxRegion
*) 0 ;
10457 wxRegionContain result
;
10464 PyObject
* obj0
= 0 ;
10465 PyObject
* obj1
= 0 ;
10466 PyObject
* obj2
= 0 ;
10467 char * kwnames
[] = {
10468 (char *) "self",(char *) "x",(char *) "y", NULL
10471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10473 if (!SWIG_IsOK(res1
)) {
10474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10476 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10478 if (!SWIG_IsOK(ecode2
)) {
10479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10481 arg2
= static_cast< int >(val2
);
10482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10483 if (!SWIG_IsOK(ecode3
)) {
10484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10486 arg3
= static_cast< int >(val3
);
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= SWIG_From_int(static_cast< int >(result
));
10500 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
= 0;
10502 wxRegion
*arg1
= (wxRegion
*) 0 ;
10503 wxPoint
*arg2
= 0 ;
10504 wxRegionContain result
;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 char * kwnames
[] = {
10511 (char *) "self",(char *) "pt", NULL
10514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10516 if (!SWIG_IsOK(res1
)) {
10517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10519 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10522 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= SWIG_From_int(static_cast< int >(result
));
10537 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
= 0;
10539 wxRegion
*arg1
= (wxRegion
*) 0 ;
10541 wxRegionContain result
;
10545 PyObject
* obj0
= 0 ;
10546 PyObject
* obj1
= 0 ;
10547 char * kwnames
[] = {
10548 (char *) "self",(char *) "rect", NULL
10551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10556 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10559 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_From_int(static_cast< int >(result
));
10574 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
= 0;
10576 wxRegion
*arg1
= (wxRegion
*) 0 ;
10581 wxRegionContain result
;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 PyObject
* obj2
= 0 ;
10595 PyObject
* obj3
= 0 ;
10596 PyObject
* obj4
= 0 ;
10597 char * kwnames
[] = {
10598 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10606 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10608 if (!SWIG_IsOK(ecode2
)) {
10609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10611 arg2
= static_cast< int >(val2
);
10612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10613 if (!SWIG_IsOK(ecode3
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10616 arg3
= static_cast< int >(val3
);
10617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10618 if (!SWIG_IsOK(ecode4
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10621 arg4
= static_cast< int >(val4
);
10622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10623 if (!SWIG_IsOK(ecode5
)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10626 arg5
= static_cast< int >(val5
);
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= SWIG_From_int(static_cast< int >(result
));
10640 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10641 PyObject
*resultobj
= 0;
10642 wxRegion
*arg1
= (wxRegion
*) 0 ;
10646 PyObject
*swig_obj
[1] ;
10648 if (!args
) SWIG_fail
;
10649 swig_obj
[0] = args
;
10650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10651 if (!SWIG_IsOK(res1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10654 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (arg1
)->GetBox();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10668 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
= 0;
10670 wxRegion
*arg1
= (wxRegion
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 PyObject
* obj2
= 0 ;
10689 PyObject
* obj3
= 0 ;
10690 PyObject
* obj4
= 0 ;
10691 char * kwnames
[] = {
10692 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10697 if (!SWIG_IsOK(res1
)) {
10698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10700 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10702 if (!SWIG_IsOK(ecode2
)) {
10703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10705 arg2
= static_cast< int >(val2
);
10706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10707 if (!SWIG_IsOK(ecode3
)) {
10708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10710 arg3
= static_cast< int >(val3
);
10711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10712 if (!SWIG_IsOK(ecode4
)) {
10713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10715 arg4
= static_cast< int >(val4
);
10716 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10717 if (!SWIG_IsOK(ecode5
)) {
10718 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10720 arg5
= static_cast< int >(val5
);
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10736 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxRegion
*arg1
= (wxRegion
*) 0 ;
10744 PyObject
* obj0
= 0 ;
10745 PyObject
* obj1
= 0 ;
10746 char * kwnames
[] = {
10747 (char *) "self",(char *) "rect", NULL
10750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10752 if (!SWIG_IsOK(res1
)) {
10753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10755 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10758 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10775 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
= 0;
10777 wxRegion
*arg1
= (wxRegion
*) 0 ;
10778 wxRegion
*arg2
= 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 char * kwnames
[] = {
10787 (char *) "self",(char *) "region", NULL
10790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10792 if (!SWIG_IsOK(res1
)) {
10793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10795 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10797 if (!SWIG_IsOK(res2
)) {
10798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10803 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10819 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 PyObject
*resultobj
= 0;
10821 wxRegion
*arg1
= (wxRegion
*) 0 ;
10825 PyObject
*swig_obj
[1] ;
10827 if (!args
) SWIG_fail
;
10828 swig_obj
[0] = args
;
10829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10833 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= (bool)(arg1
)->IsEmpty();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10849 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
= 0;
10851 wxRegion
*arg1
= (wxRegion
*) 0 ;
10852 wxRegion
*arg2
= 0 ;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 char * kwnames
[] = {
10861 (char *) "self",(char *) "region", NULL
10864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10866 if (!SWIG_IsOK(res1
)) {
10867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10869 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10871 if (!SWIG_IsOK(res2
)) {
10872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10877 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10893 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
= 0;
10895 wxRegion
*arg1
= (wxRegion
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 PyObject
* obj2
= 0 ;
10914 PyObject
* obj3
= 0 ;
10915 PyObject
* obj4
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10925 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10927 if (!SWIG_IsOK(ecode2
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10930 arg2
= static_cast< int >(val2
);
10931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10932 if (!SWIG_IsOK(ecode3
)) {
10933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10935 arg3
= static_cast< int >(val3
);
10936 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10937 if (!SWIG_IsOK(ecode4
)) {
10938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10940 arg4
= static_cast< int >(val4
);
10941 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10942 if (!SWIG_IsOK(ecode5
)) {
10943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10945 arg5
= static_cast< int >(val5
);
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10961 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
= 0;
10963 wxRegion
*arg1
= (wxRegion
*) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char * kwnames
[] = {
10972 (char *) "self",(char *) "rect", NULL
10975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10980 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10983 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
= 0;
11002 wxRegion
*arg1
= (wxRegion
*) 0 ;
11003 wxRegion
*arg2
= 0 ;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 char * kwnames
[] = {
11012 (char *) "self",(char *) "region", NULL
11015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11017 if (!SWIG_IsOK(res1
)) {
11018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11020 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11022 if (!SWIG_IsOK(res2
)) {
11023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11028 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11044 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
= 0;
11046 wxRegion
*arg1
= (wxRegion
*) 0 ;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 PyObject
* obj2
= 0 ;
11065 PyObject
* obj3
= 0 ;
11066 PyObject
* obj4
= 0 ;
11067 char * kwnames
[] = {
11068 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11073 if (!SWIG_IsOK(res1
)) {
11074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11076 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11078 if (!SWIG_IsOK(ecode2
)) {
11079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11081 arg2
= static_cast< int >(val2
);
11082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11083 if (!SWIG_IsOK(ecode3
)) {
11084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11086 arg3
= static_cast< int >(val3
);
11087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11088 if (!SWIG_IsOK(ecode4
)) {
11089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11091 arg4
= static_cast< int >(val4
);
11092 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11093 if (!SWIG_IsOK(ecode5
)) {
11094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11096 arg5
= static_cast< int >(val5
);
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11112 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
= 0;
11114 wxRegion
*arg1
= (wxRegion
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 char * kwnames
[] = {
11123 (char *) "self",(char *) "rect", NULL
11126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11128 if (!SWIG_IsOK(res1
)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11131 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11134 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11151 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
= 0;
11153 wxRegion
*arg1
= (wxRegion
*) 0 ;
11154 wxRegion
*arg2
= 0 ;
11160 PyObject
* obj0
= 0 ;
11161 PyObject
* obj1
= 0 ;
11162 char * kwnames
[] = {
11163 (char *) "self",(char *) "region", NULL
11166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11168 if (!SWIG_IsOK(res1
)) {
11169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11171 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11173 if (!SWIG_IsOK(res2
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11179 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11195 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= 0;
11197 wxRegion
*arg1
= (wxRegion
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 PyObject
* obj2
= 0 ;
11216 PyObject
* obj3
= 0 ;
11217 PyObject
* obj4
= 0 ;
11218 char * kwnames
[] = {
11219 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11224 if (!SWIG_IsOK(res1
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11227 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11229 if (!SWIG_IsOK(ecode2
)) {
11230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11232 arg2
= static_cast< int >(val2
);
11233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11234 if (!SWIG_IsOK(ecode3
)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11237 arg3
= static_cast< int >(val3
);
11238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11239 if (!SWIG_IsOK(ecode4
)) {
11240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11242 arg4
= static_cast< int >(val4
);
11243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11244 if (!SWIG_IsOK(ecode5
)) {
11245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11247 arg5
= static_cast< int >(val5
);
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11263 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
= 0;
11265 wxRegion
*arg1
= (wxRegion
*) 0 ;
11271 PyObject
* obj0
= 0 ;
11272 PyObject
* obj1
= 0 ;
11273 char * kwnames
[] = {
11274 (char *) "self",(char *) "rect", NULL
11277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11279 if (!SWIG_IsOK(res1
)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11282 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11285 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11290 wxPyEndAllowThreads(__tstate
);
11291 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11302 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
= 0;
11304 wxRegion
*arg1
= (wxRegion
*) 0 ;
11305 wxRegion
*arg2
= 0 ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 char * kwnames
[] = {
11314 (char *) "self",(char *) "region", NULL
11317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11319 if (!SWIG_IsOK(res1
)) {
11320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11322 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11324 if (!SWIG_IsOK(res2
)) {
11325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11330 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11346 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11347 PyObject
*resultobj
= 0;
11348 wxRegion
*arg1
= (wxRegion
*) 0 ;
11349 SwigValueWrapper
<wxBitmap
> result
;
11352 PyObject
*swig_obj
[1] ;
11354 if (!args
) SWIG_fail
;
11355 swig_obj
[0] = args
;
11356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11357 if (!SWIG_IsOK(res1
)) {
11358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11360 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (arg1
)->ConvertToBitmap();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11374 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
= 0;
11376 wxRegion
*arg1
= (wxRegion
*) 0 ;
11377 wxBitmap
*arg2
= 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 char * kwnames
[] = {
11386 (char *) "self",(char *) "bmp", NULL
11389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11391 if (!SWIG_IsOK(res1
)) {
11392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11394 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11396 if (!SWIG_IsOK(res2
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11402 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11418 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
= 0;
11420 wxRegion
*arg1
= (wxRegion
*) 0 ;
11421 wxBitmap
*arg2
= 0 ;
11422 wxColour
*arg3
= 0 ;
11423 int arg4
= (int) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 PyObject
* obj2
= 0 ;
11435 PyObject
* obj3
= 0 ;
11436 char * kwnames
[] = {
11437 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11445 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11447 if (!SWIG_IsOK(res2
)) {
11448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11453 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11456 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11459 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11460 if (!SWIG_IsOK(ecode4
)) {
11461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11463 arg4
= static_cast< int >(val4
);
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11480 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11483 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11484 return SWIG_Py_Void();
11487 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11488 return SWIG_Python_InitShadowInstance(args
);
11491 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
= 0;
11493 wxRegion
*arg1
= 0 ;
11494 wxRegionIterator
*result
= 0 ;
11497 PyObject
* obj0
= 0 ;
11498 char * kwnames
[] = {
11499 (char *) "region", NULL
11502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11503 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11504 if (!SWIG_IsOK(res1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11510 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11512 if (!wxPyCheckForApp()) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11525 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11526 PyObject
*resultobj
= 0;
11527 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11530 PyObject
*swig_obj
[1] ;
11532 if (!args
) SWIG_fail
;
11533 swig_obj
[0] = args
;
11534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11535 if (!SWIG_IsOK(res1
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11538 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_Py_Void();
11553 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11554 PyObject
*resultobj
= 0;
11555 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11559 PyObject
*swig_obj
[1] ;
11561 if (!args
) SWIG_fail
;
11562 swig_obj
[0] = args
;
11563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11564 if (!SWIG_IsOK(res1
)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11567 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 result
= (int)(arg1
)->GetX();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= SWIG_From_int(static_cast< int >(result
));
11581 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11582 PyObject
*resultobj
= 0;
11583 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11587 PyObject
*swig_obj
[1] ;
11589 if (!args
) SWIG_fail
;
11590 swig_obj
[0] = args
;
11591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11592 if (!SWIG_IsOK(res1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11595 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (int)(arg1
)->GetY();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= SWIG_From_int(static_cast< int >(result
));
11609 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11610 PyObject
*resultobj
= 0;
11611 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11615 PyObject
*swig_obj
[1] ;
11617 if (!args
) SWIG_fail
;
11618 swig_obj
[0] = args
;
11619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11620 if (!SWIG_IsOK(res1
)) {
11621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11623 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 result
= (int)(arg1
)->GetW();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_From_int(static_cast< int >(result
));
11637 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11638 PyObject
*resultobj
= 0;
11639 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11643 PyObject
*swig_obj
[1] ;
11645 if (!args
) SWIG_fail
;
11646 swig_obj
[0] = args
;
11647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11651 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (int)(arg1
)->GetWidth();
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_From_int(static_cast< int >(result
));
11665 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11666 PyObject
*resultobj
= 0;
11667 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11671 PyObject
*swig_obj
[1] ;
11673 if (!args
) SWIG_fail
;
11674 swig_obj
[0] = args
;
11675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11679 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (int)(arg1
)->GetH();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_From_int(static_cast< int >(result
));
11693 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11694 PyObject
*resultobj
= 0;
11695 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11699 PyObject
*swig_obj
[1] ;
11701 if (!args
) SWIG_fail
;
11702 swig_obj
[0] = args
;
11703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11704 if (!SWIG_IsOK(res1
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11707 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= (int)(arg1
)->GetHeight();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_From_int(static_cast< int >(result
));
11721 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11722 PyObject
*resultobj
= 0;
11723 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11727 PyObject
*swig_obj
[1] ;
11729 if (!args
) SWIG_fail
;
11730 swig_obj
[0] = args
;
11731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11732 if (!SWIG_IsOK(res1
)) {
11733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11735 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (arg1
)->GetRect();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11749 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11750 PyObject
*resultobj
= 0;
11751 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11755 PyObject
*swig_obj
[1] ;
11757 if (!args
) SWIG_fail
;
11758 swig_obj
[0] = args
;
11759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11760 if (!SWIG_IsOK(res1
)) {
11761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11763 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 result
= (bool)(arg1
)->HaveRects();
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11779 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11780 PyObject
*resultobj
= 0;
11781 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11784 PyObject
*swig_obj
[1] ;
11786 if (!args
) SWIG_fail
;
11787 swig_obj
[0] = args
;
11788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11789 if (!SWIG_IsOK(res1
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11792 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_Py_Void();
11806 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11807 PyObject
*resultobj
= 0;
11808 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11811 PyObject
*swig_obj
[1] ;
11813 if (!args
) SWIG_fail
;
11814 swig_obj
[0] = args
;
11815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11819 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 wxRegionIterator_Next(arg1
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_Py_Void();
11833 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11834 PyObject
*resultobj
= 0;
11835 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11839 PyObject
*swig_obj
[1] ;
11841 if (!args
) SWIG_fail
;
11842 swig_obj
[0] = args
;
11843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11844 if (!SWIG_IsOK(res1
)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11847 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11863 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11866 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11867 return SWIG_Py_Void();
11870 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11871 return SWIG_Python_InitShadowInstance(args
);
11874 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11875 PyObject
*resultobj
= 0;
11876 wxNativeFontInfo
*result
= 0 ;
11878 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11892 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11893 PyObject
*resultobj
= 0;
11894 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11897 PyObject
*swig_obj
[1] ;
11899 if (!args
) SWIG_fail
;
11900 swig_obj
[0] = args
;
11901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11902 if (!SWIG_IsOK(res1
)) {
11903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11905 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_Py_Void();
11920 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11921 PyObject
*resultobj
= 0;
11922 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11925 PyObject
*swig_obj
[1] ;
11927 if (!args
) SWIG_fail
;
11928 swig_obj
[0] = args
;
11929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11930 if (!SWIG_IsOK(res1
)) {
11931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11933 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= SWIG_Py_Void();
11947 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
= 0;
11949 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char * kwnames
[] = {
11958 (char *) "self",(char *) "font", NULL
11961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11963 if (!SWIG_IsOK(res1
)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11966 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11968 if (!SWIG_IsOK(res2
)) {
11969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11974 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_Py_Void();
11988 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11989 PyObject
*resultobj
= 0;
11990 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11994 PyObject
*swig_obj
[1] ;
11996 if (!args
) SWIG_fail
;
11997 swig_obj
[0] = args
;
11998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11999 if (!SWIG_IsOK(res1
)) {
12000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12002 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= SWIG_From_int(static_cast< int >(result
));
12016 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12017 PyObject
*resultobj
= 0;
12018 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12019 wxFontStyle result
;
12022 PyObject
*swig_obj
[1] ;
12024 if (!args
) SWIG_fail
;
12025 swig_obj
[0] = args
;
12026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12027 if (!SWIG_IsOK(res1
)) {
12028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12030 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= SWIG_From_int(static_cast< int >(result
));
12044 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12045 PyObject
*resultobj
= 0;
12046 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12047 wxFontWeight result
;
12050 PyObject
*swig_obj
[1] ;
12052 if (!args
) SWIG_fail
;
12053 swig_obj
[0] = args
;
12054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12055 if (!SWIG_IsOK(res1
)) {
12056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12058 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_From_int(static_cast< int >(result
));
12072 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12073 PyObject
*resultobj
= 0;
12074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12078 PyObject
*swig_obj
[1] ;
12080 if (!args
) SWIG_fail
;
12081 swig_obj
[0] = args
;
12082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12083 if (!SWIG_IsOK(res1
)) {
12084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12086 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12102 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12116 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12136 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12137 PyObject
*resultobj
= 0;
12138 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12139 wxFontFamily result
;
12142 PyObject
*swig_obj
[1] ;
12144 if (!args
) SWIG_fail
;
12145 swig_obj
[0] = args
;
12146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12147 if (!SWIG_IsOK(res1
)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12150 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_From_int(static_cast< int >(result
));
12164 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12165 PyObject
*resultobj
= 0;
12166 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12167 wxFontEncoding result
;
12170 PyObject
*swig_obj
[1] ;
12172 if (!args
) SWIG_fail
;
12173 swig_obj
[0] = args
;
12174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12175 if (!SWIG_IsOK(res1
)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12178 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_From_int(static_cast< int >(result
));
12192 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
= 0;
12194 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 char * kwnames
[] = {
12203 (char *) "self",(char *) "pointsize", NULL
12206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12211 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12213 if (!SWIG_IsOK(ecode2
)) {
12214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12216 arg2
= static_cast< int >(val2
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->SetPointSize(arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_Py_Void();
12230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
= 0;
12232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char * kwnames
[] = {
12241 (char *) "self",(char *) "style", NULL
12244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12246 if (!SWIG_IsOK(res1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12249 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12251 if (!SWIG_IsOK(ecode2
)) {
12252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12254 arg2
= static_cast< wxFontStyle
>(val2
);
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 (arg1
)->SetStyle(arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_Py_Void();
12268 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
= 0;
12270 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12271 wxFontWeight arg2
;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char * kwnames
[] = {
12279 (char *) "self",(char *) "weight", NULL
12282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12287 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12289 if (!SWIG_IsOK(ecode2
)) {
12290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12292 arg2
= static_cast< wxFontWeight
>(val2
);
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 (arg1
)->SetWeight(arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_Py_Void();
12306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
= 0;
12308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12314 PyObject
* obj0
= 0 ;
12315 PyObject
* obj1
= 0 ;
12316 char * kwnames
[] = {
12317 (char *) "self",(char *) "underlined", NULL
12320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12322 if (!SWIG_IsOK(res1
)) {
12323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12325 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12326 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12327 if (!SWIG_IsOK(ecode2
)) {
12328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12330 arg2
= static_cast< bool >(val2
);
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetUnderlined(arg2
);
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= SWIG_Py_Void();
12344 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
= 0;
12346 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 char * kwnames
[] = {
12354 (char *) "self",(char *) "facename", NULL
12357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12359 if (!SWIG_IsOK(res1
)) {
12360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12362 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12364 wxString
* sptr
= wxString_in_helper(obj1
);
12365 if (sptr
== NULL
) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (bool)(arg1
)->SetFaceName(arg2
);
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12384 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
= 0;
12386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12387 wxFontFamily arg2
;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 char * kwnames
[] = {
12395 (char *) "self",(char *) "family", NULL
12398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12403 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12405 if (!SWIG_IsOK(ecode2
)) {
12406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12408 arg2
= static_cast< wxFontFamily
>(val2
);
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->SetFamily(arg2
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_Py_Void();
12422 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= 0;
12424 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12425 wxFontEncoding arg2
;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char * kwnames
[] = {
12433 (char *) "self",(char *) "encoding", NULL
12436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12438 if (!SWIG_IsOK(res1
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12441 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12443 if (!SWIG_IsOK(ecode2
)) {
12444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12446 arg2
= static_cast< wxFontEncoding
>(val2
);
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->SetEncoding(arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_Py_Void();
12460 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
= 0;
12462 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12463 wxString
*arg2
= 0 ;
12467 bool temp2
= false ;
12468 PyObject
* obj0
= 0 ;
12469 PyObject
* obj1
= 0 ;
12470 char * kwnames
[] = {
12471 (char *) "self",(char *) "s", NULL
12474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12476 if (!SWIG_IsOK(res1
)) {
12477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12479 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12481 arg2
= wxString_in_helper(obj1
);
12482 if (arg2
== NULL
) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12508 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12509 PyObject
*resultobj
= 0;
12510 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12514 PyObject
*swig_obj
[1] ;
12516 if (!args
) SWIG_fail
;
12517 swig_obj
[0] = args
;
12518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12519 if (!SWIG_IsOK(res1
)) {
12520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12522 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12542 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12543 PyObject
*resultobj
= 0;
12544 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12548 PyObject
*swig_obj
[1] ;
12550 if (!args
) SWIG_fail
;
12551 swig_obj
[0] = args
;
12552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12556 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= wxNativeFontInfo___str__(arg1
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12576 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
= 0;
12578 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12579 wxString
*arg2
= 0 ;
12583 bool temp2
= false ;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 char * kwnames
[] = {
12587 (char *) "self",(char *) "s", NULL
12590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12592 if (!SWIG_IsOK(res1
)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12595 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12597 arg2
= wxString_in_helper(obj1
);
12598 if (arg2
== NULL
) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12624 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12625 PyObject
*resultobj
= 0;
12626 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12630 PyObject
*swig_obj
[1] ;
12632 if (!args
) SWIG_fail
;
12633 swig_obj
[0] = args
;
12634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12635 if (!SWIG_IsOK(res1
)) {
12636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12638 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12658 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12661 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12662 return SWIG_Py_Void();
12665 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12666 return SWIG_Python_InitShadowInstance(args
);
12669 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12670 PyObject
*resultobj
= 0;
12671 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12672 wxString
*arg2
= (wxString
*) 0 ;
12675 bool temp2
= false ;
12676 PyObject
*swig_obj
[2] ;
12678 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12680 if (!SWIG_IsOK(res1
)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12683 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12685 arg2
= wxString_in_helper(swig_obj
[1]);
12686 if (arg2
== NULL
) SWIG_fail
;
12689 if (arg1
) (arg1
)->facename
= *arg2
;
12691 resultobj
= SWIG_Py_Void();
12706 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12707 PyObject
*resultobj
= 0;
12708 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12709 wxString
*result
= 0 ;
12712 PyObject
*swig_obj
[1] ;
12714 if (!args
) SWIG_fail
;
12715 swig_obj
[0] = args
;
12716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12717 if (!SWIG_IsOK(res1
)) {
12718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12720 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12721 result
= (wxString
*)& ((arg1
)->facename
);
12724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12735 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12736 PyObject
*resultobj
= 0;
12737 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12738 wxFontEncoding arg2
;
12743 PyObject
*swig_obj
[2] ;
12745 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12747 if (!SWIG_IsOK(res1
)) {
12748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12750 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12751 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12752 if (!SWIG_IsOK(ecode2
)) {
12753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12755 arg2
= static_cast< wxFontEncoding
>(val2
);
12756 if (arg1
) (arg1
)->encoding
= arg2
;
12758 resultobj
= SWIG_Py_Void();
12765 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12766 PyObject
*resultobj
= 0;
12767 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12768 wxFontEncoding result
;
12771 PyObject
*swig_obj
[1] ;
12773 if (!args
) SWIG_fail
;
12774 swig_obj
[0] = args
;
12775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12779 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12780 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12781 resultobj
= SWIG_From_int(static_cast< int >(result
));
12788 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12789 PyObject
*resultobj
= 0;
12790 wxNativeEncodingInfo
*result
= 0 ;
12792 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12806 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12807 PyObject
*resultobj
= 0;
12808 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12811 PyObject
*swig_obj
[1] ;
12813 if (!args
) SWIG_fail
;
12814 swig_obj
[0] = args
;
12815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12816 if (!SWIG_IsOK(res1
)) {
12817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12819 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12827 resultobj
= SWIG_Py_Void();
12834 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
= 0;
12836 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12837 wxString
*arg2
= 0 ;
12841 bool temp2
= false ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 char * kwnames
[] = {
12845 (char *) "self",(char *) "s", NULL
12848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12850 if (!SWIG_IsOK(res1
)) {
12851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12853 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12855 arg2
= wxString_in_helper(obj1
);
12856 if (arg2
== NULL
) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12882 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12883 PyObject
*resultobj
= 0;
12884 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12888 PyObject
*swig_obj
[1] ;
12890 if (!args
) SWIG_fail
;
12891 swig_obj
[0] = args
;
12892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12893 if (!SWIG_IsOK(res1
)) {
12894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12896 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12916 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12919 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12920 return SWIG_Py_Void();
12923 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12924 return SWIG_Python_InitShadowInstance(args
);
12927 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
= 0;
12929 wxFontEncoding arg1
;
12930 wxNativeEncodingInfo
*result
= 0 ;
12933 PyObject
* obj0
= 0 ;
12934 char * kwnames
[] = {
12935 (char *) "encoding", NULL
12938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12939 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12940 if (!SWIG_IsOK(ecode1
)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12943 arg1
= static_cast< wxFontEncoding
>(val1
);
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12957 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
= 0;
12959 wxNativeEncodingInfo
*arg1
= 0 ;
12963 PyObject
* obj0
= 0 ;
12964 char * kwnames
[] = {
12965 (char *) "info", NULL
12968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12969 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12970 if (!SWIG_IsOK(res1
)) {
12971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12976 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12992 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12993 PyObject
*resultobj
= 0;
12994 wxFontMapper
*result
= 0 ;
12996 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (wxFontMapper
*)new wxFontMapper();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13010 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13011 PyObject
*resultobj
= 0;
13012 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13015 PyObject
*swig_obj
[1] ;
13017 if (!args
) SWIG_fail
;
13018 swig_obj
[0] = args
;
13019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13023 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= SWIG_Py_Void();
13038 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13039 PyObject
*resultobj
= 0;
13040 wxFontMapper
*result
= 0 ;
13042 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (wxFontMapper
*)wxFontMapper::Get();
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13056 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
= 0;
13058 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13059 wxFontMapper
*result
= 0 ;
13062 PyObject
* obj0
= 0 ;
13063 char * kwnames
[] = {
13064 (char *) "mapper", NULL
13067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13069 if (!SWIG_IsOK(res1
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13072 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13086 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= 0;
13088 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13089 wxString
*arg2
= 0 ;
13090 bool arg3
= (bool) true ;
13091 wxFontEncoding result
;
13094 bool temp2
= false ;
13097 PyObject
* obj0
= 0 ;
13098 PyObject
* obj1
= 0 ;
13099 PyObject
* obj2
= 0 ;
13100 char * kwnames
[] = {
13101 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13106 if (!SWIG_IsOK(res1
)) {
13107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13109 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13111 arg2
= wxString_in_helper(obj1
);
13112 if (arg2
== NULL
) SWIG_fail
;
13116 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13117 if (!SWIG_IsOK(ecode3
)) {
13118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13120 arg3
= static_cast< bool >(val3
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= SWIG_From_int(static_cast< int >(result
));
13143 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13144 PyObject
*resultobj
= 0;
13147 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13161 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
= 0;
13164 wxFontEncoding result
;
13167 PyObject
* obj0
= 0 ;
13168 char * kwnames
[] = {
13172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13173 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13174 if (!SWIG_IsOK(ecode1
)) {
13175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13177 arg1
= static_cast< size_t >(val1
);
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= SWIG_From_int(static_cast< int >(result
));
13191 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
= 0;
13193 wxFontEncoding arg1
;
13197 PyObject
* obj0
= 0 ;
13198 char * kwnames
[] = {
13199 (char *) "encoding", NULL
13202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13204 if (!SWIG_IsOK(ecode1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13207 arg1
= static_cast< wxFontEncoding
>(val1
);
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= wxFontMapper::GetEncodingName(arg1
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13227 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
= 0;
13229 wxFontEncoding arg1
;
13233 PyObject
* obj0
= 0 ;
13234 char * kwnames
[] = {
13235 (char *) "encoding", NULL
13238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13240 if (!SWIG_IsOK(ecode1
)) {
13241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13243 arg1
= static_cast< wxFontEncoding
>(val1
);
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= wxFontMapper::GetEncodingDescription(arg1
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13263 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= 0;
13265 wxString
*arg1
= 0 ;
13266 wxFontEncoding result
;
13267 bool temp1
= false ;
13268 PyObject
* obj0
= 0 ;
13269 char * kwnames
[] = {
13270 (char *) "name", NULL
13273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13275 arg1
= wxString_in_helper(obj0
);
13276 if (arg1
== NULL
) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= SWIG_From_int(static_cast< int >(result
));
13300 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
= 0;
13302 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13303 wxString
*arg2
= 0 ;
13306 bool temp2
= false ;
13307 PyObject
* obj0
= 0 ;
13308 PyObject
* obj1
= 0 ;
13309 char * kwnames
[] = {
13310 (char *) "self",(char *) "prefix", NULL
13313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13315 if (!SWIG_IsOK(res1
)) {
13316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13318 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13320 arg2
= wxString_in_helper(obj1
);
13321 if (arg2
== NULL
) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13345 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13346 PyObject
*resultobj
= 0;
13349 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= wxFontMapper::GetDefaultConfigPath();
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13369 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
= 0;
13371 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13372 wxFontEncoding arg2
;
13373 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13374 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13375 bool arg4
= (bool) true ;
13376 PyObject
*result
= 0 ;
13381 bool temp3
= false ;
13384 PyObject
* obj0
= 0 ;
13385 PyObject
* obj1
= 0 ;
13386 PyObject
* obj2
= 0 ;
13387 PyObject
* obj3
= 0 ;
13388 char * kwnames
[] = {
13389 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13394 if (!SWIG_IsOK(res1
)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13397 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13399 if (!SWIG_IsOK(ecode2
)) {
13400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13402 arg2
= static_cast< wxFontEncoding
>(val2
);
13405 arg3
= wxString_in_helper(obj2
);
13406 if (arg3
== NULL
) SWIG_fail
;
13411 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13412 if (!SWIG_IsOK(ecode4
)) {
13413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13415 arg4
= static_cast< bool >(val4
);
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= result
;
13438 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
= 0;
13440 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13441 wxFontEncoding arg2
;
13442 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13443 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13449 bool temp3
= false ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 PyObject
* obj2
= 0 ;
13453 char * kwnames
[] = {
13454 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13459 if (!SWIG_IsOK(res1
)) {
13460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13462 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13464 if (!SWIG_IsOK(ecode2
)) {
13465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13467 arg2
= static_cast< wxFontEncoding
>(val2
);
13470 arg3
= wxString_in_helper(obj2
);
13471 if (arg3
== NULL
) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
= 0;
13500 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13501 wxWindow
*arg2
= (wxWindow
*) 0 ;
13506 PyObject
* obj0
= 0 ;
13507 PyObject
* obj1
= 0 ;
13508 char * kwnames
[] = {
13509 (char *) "self",(char *) "parent", NULL
13512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13514 if (!SWIG_IsOK(res1
)) {
13515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13517 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13519 if (!SWIG_IsOK(res2
)) {
13520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13522 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 (arg1
)->SetDialogParent(arg2
);
13526 wxPyEndAllowThreads(__tstate
);
13527 if (PyErr_Occurred()) SWIG_fail
;
13529 resultobj
= SWIG_Py_Void();
13536 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
= 0;
13538 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13539 wxString
*arg2
= 0 ;
13542 bool temp2
= false ;
13543 PyObject
* obj0
= 0 ;
13544 PyObject
* obj1
= 0 ;
13545 char * kwnames
[] = {
13546 (char *) "self",(char *) "title", NULL
13549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13551 if (!SWIG_IsOK(res1
)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13554 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13556 arg2
= wxString_in_helper(obj1
);
13557 if (arg2
== NULL
) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13563 wxPyEndAllowThreads(__tstate
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13566 resultobj
= SWIG_Py_Void();
13581 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13584 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13585 return SWIG_Py_Void();
13588 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13589 return SWIG_Python_InitShadowInstance(args
);
13592 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
= 0;
13598 bool arg5
= (bool) false ;
13599 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13600 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13601 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13602 wxFont
*result
= 0 ;
13613 bool temp6
= false ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 PyObject
* obj2
= 0 ;
13619 PyObject
* obj3
= 0 ;
13620 PyObject
* obj4
= 0 ;
13621 PyObject
* obj5
= 0 ;
13622 PyObject
* obj6
= 0 ;
13623 char * kwnames
[] = {
13624 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13628 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13629 if (!SWIG_IsOK(ecode1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13632 arg1
= static_cast< int >(val1
);
13633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13634 if (!SWIG_IsOK(ecode2
)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13637 arg2
= static_cast< int >(val2
);
13638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13639 if (!SWIG_IsOK(ecode3
)) {
13640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13642 arg3
= static_cast< int >(val3
);
13643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13644 if (!SWIG_IsOK(ecode4
)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13647 arg4
= static_cast< int >(val4
);
13649 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13650 if (!SWIG_IsOK(ecode5
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13653 arg5
= static_cast< bool >(val5
);
13657 arg6
= wxString_in_helper(obj5
);
13658 if (arg6
== NULL
) SWIG_fail
;
13663 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13664 if (!SWIG_IsOK(ecode7
)) {
13665 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13667 arg7
= static_cast< wxFontEncoding
>(val7
);
13670 if (!wxPyCheckForApp()) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13691 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13692 PyObject
*resultobj
= 0;
13693 wxFont
*arg1
= (wxFont
*) 0 ;
13696 PyObject
*swig_obj
[1] ;
13698 if (!args
) SWIG_fail
;
13699 swig_obj
[0] = args
;
13700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13701 if (!SWIG_IsOK(res1
)) {
13702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13704 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= SWIG_Py_Void();
13719 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
= 0;
13721 wxNativeFontInfo
*arg1
= 0 ;
13722 wxFont
*result
= 0 ;
13725 PyObject
* obj0
= 0 ;
13726 char * kwnames
[] = {
13727 (char *) "info", NULL
13730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13731 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13732 if (!SWIG_IsOK(res1
)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13738 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13740 if (!wxPyCheckForApp()) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13753 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
= 0;
13755 wxString
*arg1
= 0 ;
13756 wxFont
*result
= 0 ;
13757 bool temp1
= false ;
13758 PyObject
* obj0
= 0 ;
13759 char * kwnames
[] = {
13760 (char *) "info", NULL
13763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13765 arg1
= wxString_in_helper(obj0
);
13766 if (arg1
== NULL
) SWIG_fail
;
13770 if (!wxPyCheckForApp()) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13791 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
= 0;
13794 wxFontFamily arg2
;
13795 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13796 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13797 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13798 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13799 wxFont
*result
= 0 ;
13806 bool temp4
= false ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 PyObject
* obj3
= 0 ;
13813 PyObject
* obj4
= 0 ;
13814 char * kwnames
[] = {
13815 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13819 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13820 if (!SWIG_IsOK(ecode1
)) {
13821 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13823 arg1
= static_cast< int >(val1
);
13824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13825 if (!SWIG_IsOK(ecode2
)) {
13826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13828 arg2
= static_cast< wxFontFamily
>(val2
);
13830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13831 if (!SWIG_IsOK(ecode3
)) {
13832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13834 arg3
= static_cast< int >(val3
);
13838 arg4
= wxString_in_helper(obj3
);
13839 if (arg4
== NULL
) SWIG_fail
;
13844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13845 if (!SWIG_IsOK(ecode5
)) {
13846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13848 arg5
= static_cast< wxFontEncoding
>(val5
);
13851 if (!wxPyCheckForApp()) SWIG_fail
;
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13872 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
= 0;
13878 bool arg5
= (bool) false ;
13879 wxString
const &arg6_defvalue
= wxEmptyString
;
13880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13881 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13882 wxFont
*result
= 0 ;
13892 bool temp6
= false ;
13895 PyObject
* obj0
= 0 ;
13896 PyObject
* obj1
= 0 ;
13897 PyObject
* obj2
= 0 ;
13898 PyObject
* obj3
= 0 ;
13899 PyObject
* obj4
= 0 ;
13900 PyObject
* obj5
= 0 ;
13901 PyObject
* obj6
= 0 ;
13902 char * kwnames
[] = {
13903 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13909 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13912 if (!SWIG_IsOK(ecode2
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13915 arg2
= static_cast< int >(val2
);
13916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13917 if (!SWIG_IsOK(ecode3
)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13920 arg3
= static_cast< int >(val3
);
13921 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13922 if (!SWIG_IsOK(ecode4
)) {
13923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13925 arg4
= static_cast< int >(val4
);
13927 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13928 if (!SWIG_IsOK(ecode5
)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13931 arg5
= static_cast< bool >(val5
);
13935 arg6
= wxString_in_helper(obj5
);
13936 if (arg6
== NULL
) SWIG_fail
;
13941 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13942 if (!SWIG_IsOK(ecode7
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13945 arg7
= static_cast< wxFontEncoding
>(val7
);
13948 if (!wxPyCheckForApp()) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13969 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
= 0;
13972 wxFontFamily arg2
;
13973 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13974 wxString
const &arg4_defvalue
= wxEmptyString
;
13975 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13976 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13977 wxFont
*result
= 0 ;
13983 bool temp4
= false ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 PyObject
* obj2
= 0 ;
13989 PyObject
* obj3
= 0 ;
13990 PyObject
* obj4
= 0 ;
13991 char * kwnames
[] = {
13992 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13998 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14001 if (!SWIG_IsOK(ecode2
)) {
14002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14004 arg2
= static_cast< wxFontFamily
>(val2
);
14006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14007 if (!SWIG_IsOK(ecode3
)) {
14008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14010 arg3
= static_cast< int >(val3
);
14014 arg4
= wxString_in_helper(obj3
);
14015 if (arg4
== NULL
) SWIG_fail
;
14020 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14021 if (!SWIG_IsOK(ecode5
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14024 arg5
= static_cast< wxFontEncoding
>(val5
);
14027 if (!wxPyCheckForApp()) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14048 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14049 PyObject
*resultobj
= 0;
14050 wxFont
*arg1
= (wxFont
*) 0 ;
14054 PyObject
*swig_obj
[1] ;
14056 if (!args
) SWIG_fail
;
14057 swig_obj
[0] = args
;
14058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14059 if (!SWIG_IsOK(res1
)) {
14060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14062 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14078 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
= 0;
14080 wxFont
*arg1
= (wxFont
*) 0 ;
14081 wxFont
*arg2
= (wxFont
*) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 char * kwnames
[] = {
14090 (char *) "self",(char *) "other", NULL
14093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14095 if (!SWIG_IsOK(res1
)) {
14096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14098 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14100 if (!SWIG_IsOK(res2
)) {
14101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14103 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14107 wxPyEndAllowThreads(__tstate
);
14108 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14119 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
= 0;
14121 wxFont
*arg1
= (wxFont
*) 0 ;
14122 wxFont
*arg2
= (wxFont
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 char * kwnames
[] = {
14131 (char *) "self",(char *) "other", NULL
14134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14136 if (!SWIG_IsOK(res1
)) {
14137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14139 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14141 if (!SWIG_IsOK(res2
)) {
14142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14144 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14160 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14161 PyObject
*resultobj
= 0;
14162 wxFont
*arg1
= (wxFont
*) 0 ;
14166 PyObject
*swig_obj
[1] ;
14168 if (!args
) SWIG_fail
;
14169 swig_obj
[0] = args
;
14170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14171 if (!SWIG_IsOK(res1
)) {
14172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14174 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_From_int(static_cast< int >(result
));
14188 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14190 wxFont
*arg1
= (wxFont
*) 0 ;
14194 PyObject
*swig_obj
[1] ;
14196 if (!args
) SWIG_fail
;
14197 swig_obj
[0] = args
;
14198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14202 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14209 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14216 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14217 PyObject
*resultobj
= 0;
14218 wxFont
*arg1
= (wxFont
*) 0 ;
14222 PyObject
*swig_obj
[1] ;
14224 if (!args
) SWIG_fail
;
14225 swig_obj
[0] = args
;
14226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14227 if (!SWIG_IsOK(res1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14230 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxFont
*arg1
= (wxFont
*) 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14260 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_From_int(static_cast< int >(result
));
14274 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 PyObject
*resultobj
= 0;
14276 wxFont
*arg1
= (wxFont
*) 0 ;
14280 PyObject
*swig_obj
[1] ;
14282 if (!args
) SWIG_fail
;
14283 swig_obj
[0] = args
;
14284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14288 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_From_int(static_cast< int >(result
));
14302 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14303 PyObject
*resultobj
= 0;
14304 wxFont
*arg1
= (wxFont
*) 0 ;
14308 PyObject
*swig_obj
[1] ;
14310 if (!args
) SWIG_fail
;
14311 swig_obj
[0] = args
;
14312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14316 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= SWIG_From_int(static_cast< int >(result
));
14330 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14331 PyObject
*resultobj
= 0;
14332 wxFont
*arg1
= (wxFont
*) 0 ;
14336 PyObject
*swig_obj
[1] ;
14338 if (!args
) SWIG_fail
;
14339 swig_obj
[0] = args
;
14340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14344 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14360 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14361 PyObject
*resultobj
= 0;
14362 wxFont
*arg1
= (wxFont
*) 0 ;
14366 PyObject
*swig_obj
[1] ;
14368 if (!args
) SWIG_fail
;
14369 swig_obj
[0] = args
;
14370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14371 if (!SWIG_IsOK(res1
)) {
14372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14374 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= ((wxFont
const *)arg1
)->GetFaceName();
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14394 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14395 PyObject
*resultobj
= 0;
14396 wxFont
*arg1
= (wxFont
*) 0 ;
14397 wxFontEncoding result
;
14400 PyObject
*swig_obj
[1] ;
14402 if (!args
) SWIG_fail
;
14403 swig_obj
[0] = args
;
14404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14405 if (!SWIG_IsOK(res1
)) {
14406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14408 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= SWIG_From_int(static_cast< int >(result
));
14422 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14423 PyObject
*resultobj
= 0;
14424 wxFont
*arg1
= (wxFont
*) 0 ;
14425 wxNativeFontInfo
*result
= 0 ;
14428 PyObject
*swig_obj
[1] ;
14430 if (!args
) SWIG_fail
;
14431 swig_obj
[0] = args
;
14432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14433 if (!SWIG_IsOK(res1
)) {
14434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14436 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14450 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14451 PyObject
*resultobj
= 0;
14452 wxFont
*arg1
= (wxFont
*) 0 ;
14456 PyObject
*swig_obj
[1] ;
14458 if (!args
) SWIG_fail
;
14459 swig_obj
[0] = args
;
14460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14461 if (!SWIG_IsOK(res1
)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14464 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14480 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14481 PyObject
*resultobj
= 0;
14482 wxFont
*arg1
= (wxFont
*) 0 ;
14486 PyObject
*swig_obj
[1] ;
14488 if (!args
) SWIG_fail
;
14489 swig_obj
[0] = args
;
14490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14491 if (!SWIG_IsOK(res1
)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14494 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14514 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14515 PyObject
*resultobj
= 0;
14516 wxFont
*arg1
= (wxFont
*) 0 ;
14520 PyObject
*swig_obj
[1] ;
14522 if (!args
) SWIG_fail
;
14523 swig_obj
[0] = args
;
14524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14525 if (!SWIG_IsOK(res1
)) {
14526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14528 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14548 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
= 0;
14550 wxFont
*arg1
= (wxFont
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 char * kwnames
[] = {
14559 (char *) "self",(char *) "pointSize", NULL
14562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14564 if (!SWIG_IsOK(res1
)) {
14565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14567 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14569 if (!SWIG_IsOK(ecode2
)) {
14570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14572 arg2
= static_cast< int >(val2
);
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 (arg1
)->SetPointSize(arg2
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 resultobj
= SWIG_Py_Void();
14586 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
= 0;
14588 wxFont
*arg1
= (wxFont
*) 0 ;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj1
= 0 ;
14595 char * kwnames
[] = {
14596 (char *) "self",(char *) "pixelSize", NULL
14599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14601 if (!SWIG_IsOK(res1
)) {
14602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14604 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14607 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= SWIG_Py_Void();
14622 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
= 0;
14624 wxFont
*arg1
= (wxFont
*) 0 ;
14630 PyObject
* obj0
= 0 ;
14631 PyObject
* obj1
= 0 ;
14632 char * kwnames
[] = {
14633 (char *) "self",(char *) "family", NULL
14636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14638 if (!SWIG_IsOK(res1
)) {
14639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14641 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14643 if (!SWIG_IsOK(ecode2
)) {
14644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14646 arg2
= static_cast< int >(val2
);
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 (arg1
)->SetFamily(arg2
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_Py_Void();
14660 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
= 0;
14662 wxFont
*arg1
= (wxFont
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 char * kwnames
[] = {
14671 (char *) "self",(char *) "style", NULL
14674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14679 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14681 if (!SWIG_IsOK(ecode2
)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14684 arg2
= static_cast< int >(val2
);
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 (arg1
)->SetStyle(arg2
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_Py_Void();
14698 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
= 0;
14700 wxFont
*arg1
= (wxFont
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 PyObject
* obj1
= 0 ;
14708 char * kwnames
[] = {
14709 (char *) "self",(char *) "weight", NULL
14712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14714 if (!SWIG_IsOK(res1
)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14717 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14719 if (!SWIG_IsOK(ecode2
)) {
14720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14722 arg2
= static_cast< int >(val2
);
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 (arg1
)->SetWeight(arg2
);
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= SWIG_Py_Void();
14736 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
= 0;
14738 wxFont
*arg1
= (wxFont
*) 0 ;
14739 wxString
*arg2
= 0 ;
14743 bool temp2
= false ;
14744 PyObject
* obj0
= 0 ;
14745 PyObject
* obj1
= 0 ;
14746 char * kwnames
[] = {
14747 (char *) "self",(char *) "faceName", NULL
14750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14755 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14757 arg2
= wxString_in_helper(obj1
);
14758 if (arg2
== NULL
) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14784 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
= 0;
14786 wxFont
*arg1
= (wxFont
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 PyObject
* obj1
= 0 ;
14794 char * kwnames
[] = {
14795 (char *) "self",(char *) "underlined", NULL
14798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14800 if (!SWIG_IsOK(res1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14803 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14805 if (!SWIG_IsOK(ecode2
)) {
14806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14808 arg2
= static_cast< bool >(val2
);
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 (arg1
)->SetUnderlined(arg2
);
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= SWIG_Py_Void();
14822 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
= 0;
14824 wxFont
*arg1
= (wxFont
*) 0 ;
14825 wxFontEncoding arg2
;
14830 PyObject
* obj0
= 0 ;
14831 PyObject
* obj1
= 0 ;
14832 char * kwnames
[] = {
14833 (char *) "self",(char *) "encoding", NULL
14836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14838 if (!SWIG_IsOK(res1
)) {
14839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14841 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14843 if (!SWIG_IsOK(ecode2
)) {
14844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14846 arg2
= static_cast< wxFontEncoding
>(val2
);
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 (arg1
)->SetEncoding(arg2
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_Py_Void();
14860 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
= 0;
14862 wxFont
*arg1
= (wxFont
*) 0 ;
14863 wxNativeFontInfo
*arg2
= 0 ;
14868 PyObject
* obj0
= 0 ;
14869 PyObject
* obj1
= 0 ;
14870 char * kwnames
[] = {
14871 (char *) "self",(char *) "info", NULL
14874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14876 if (!SWIG_IsOK(res1
)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14879 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14881 if (!SWIG_IsOK(res2
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14887 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= SWIG_Py_Void();
14901 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
= 0;
14903 wxFont
*arg1
= (wxFont
*) 0 ;
14904 wxString
*arg2
= 0 ;
14908 bool temp2
= false ;
14909 PyObject
* obj0
= 0 ;
14910 PyObject
* obj1
= 0 ;
14911 char * kwnames
[] = {
14912 (char *) "self",(char *) "info", NULL
14915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14917 if (!SWIG_IsOK(res1
)) {
14918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14920 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14922 arg2
= wxString_in_helper(obj1
);
14923 if (arg2
== NULL
) SWIG_fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14949 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
= 0;
14951 wxFont
*arg1
= (wxFont
*) 0 ;
14952 wxString
*arg2
= 0 ;
14956 bool temp2
= false ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 char * kwnames
[] = {
14960 (char *) "self",(char *) "info", NULL
14963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14968 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14970 arg2
= wxString_in_helper(obj1
);
14971 if (arg2
== NULL
) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14997 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14998 PyObject
*resultobj
= 0;
14999 wxFont
*arg1
= (wxFont
*) 0 ;
15003 PyObject
*swig_obj
[1] ;
15005 if (!args
) SWIG_fail
;
15006 swig_obj
[0] = args
;
15007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15011 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15031 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15032 PyObject
*resultobj
= 0;
15033 wxFont
*arg1
= (wxFont
*) 0 ;
15037 PyObject
*swig_obj
[1] ;
15039 if (!args
) SWIG_fail
;
15040 swig_obj
[0] = args
;
15041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15042 if (!SWIG_IsOK(res1
)) {
15043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15045 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 result
= ((wxFont
const *)arg1
)->GetStyleString();
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15065 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15066 PyObject
*resultobj
= 0;
15067 wxFont
*arg1
= (wxFont
*) 0 ;
15071 PyObject
*swig_obj
[1] ;
15073 if (!args
) SWIG_fail
;
15074 swig_obj
[0] = args
;
15075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15076 if (!SWIG_IsOK(res1
)) {
15077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15079 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= ((wxFont
const *)arg1
)->GetWeightString();
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15099 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
= 0;
15101 wxFont
*arg1
= (wxFont
*) 0 ;
15102 bool arg2
= (bool) true ;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 char * kwnames
[] = {
15110 (char *) "self",(char *) "no", NULL
15113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15115 if (!SWIG_IsOK(res1
)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15118 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15120 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15121 if (!SWIG_IsOK(ecode2
)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15124 arg2
= static_cast< bool >(val2
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->SetNoAntiAliasing(arg2
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15140 PyObject
*resultobj
= 0;
15141 wxFont
*arg1
= (wxFont
*) 0 ;
15145 PyObject
*swig_obj
[1] ;
15147 if (!args
) SWIG_fail
;
15148 swig_obj
[0] = args
;
15149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15153 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15169 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15170 PyObject
*resultobj
= 0;
15171 wxFontEncoding result
;
15173 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15175 if (!wxPyCheckForApp()) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= SWIG_From_int(static_cast< int >(result
));
15188 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
= 0;
15190 wxFontEncoding arg1
;
15193 PyObject
* obj0
= 0 ;
15194 char * kwnames
[] = {
15195 (char *) "encoding", NULL
15198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15200 if (!SWIG_IsOK(ecode1
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15203 arg1
= static_cast< wxFontEncoding
>(val1
);
15205 if (!wxPyCheckForApp()) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 wxFont::SetDefaultEncoding(arg1
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_Py_Void();
15218 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15221 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15222 return SWIG_Py_Void();
15225 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15226 return SWIG_Python_InitShadowInstance(args
);
15229 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15230 PyObject
*resultobj
= 0;
15231 wxPyFontEnumerator
*result
= 0 ;
15233 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15235 if (!wxPyCheckForApp()) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15248 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15249 PyObject
*resultobj
= 0;
15250 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15253 PyObject
*swig_obj
[1] ;
15255 if (!args
) SWIG_fail
;
15256 swig_obj
[0] = args
;
15257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15258 if (!SWIG_IsOK(res1
)) {
15259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15261 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_Py_Void();
15276 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
= 0;
15278 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15279 PyObject
*arg2
= (PyObject
*) 0 ;
15280 PyObject
*arg3
= (PyObject
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 PyObject
* obj3
= 0 ;
15290 char * kwnames
[] = {
15291 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15296 if (!SWIG_IsOK(res1
)) {
15297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15299 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15302 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15303 if (!SWIG_IsOK(ecode4
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15306 arg4
= static_cast< bool >(val4
);
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_Py_Void();
15320 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
= 0;
15322 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15323 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15324 bool arg3
= (bool) false ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 PyObject
* obj2
= 0 ;
15335 char * kwnames
[] = {
15336 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15344 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15347 if (!SWIG_IsOK(ecode2
)) {
15348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15350 arg2
= static_cast< wxFontEncoding
>(val2
);
15353 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15354 if (!SWIG_IsOK(ecode3
)) {
15355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15357 arg3
= static_cast< bool >(val3
);
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15374 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
= 0;
15376 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15377 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15378 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15382 bool temp2
= false ;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 char * kwnames
[] = {
15386 (char *) "self",(char *) "facename", NULL
15389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15391 if (!SWIG_IsOK(res1
)) {
15392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15394 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15397 arg2
= wxString_in_helper(obj1
);
15398 if (arg2
== NULL
) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15425 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15426 PyObject
*resultobj
= 0;
15427 PyObject
*result
= 0 ;
15429 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15433 wxPyEndAllowThreads(__tstate
);
15434 if (PyErr_Occurred()) SWIG_fail
;
15436 resultobj
= result
;
15443 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15444 PyObject
*resultobj
= 0;
15445 PyObject
*result
= 0 ;
15447 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
;
15461 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
= 0;
15463 wxString
*arg1
= 0 ;
15465 bool temp1
= false ;
15466 PyObject
* obj0
= 0 ;
15467 char * kwnames
[] = {
15468 (char *) "str", NULL
15471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15473 arg1
= wxString_in_helper(obj0
);
15474 if (arg1
== NULL
) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15480 wxPyEndAllowThreads(__tstate
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15500 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15503 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15504 return SWIG_Py_Void();
15507 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15508 return SWIG_Python_InitShadowInstance(args
);
15511 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15512 PyObject
*resultobj
= 0;
15513 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15519 PyObject
*swig_obj
[2] ;
15521 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15523 if (!SWIG_IsOK(res1
)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15526 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15527 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15528 if (!SWIG_IsOK(ecode2
)) {
15529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15531 arg2
= static_cast< int >(val2
);
15532 if (arg1
) (arg1
)->Language
= arg2
;
15534 resultobj
= SWIG_Py_Void();
15541 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15542 PyObject
*resultobj
= 0;
15543 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15547 PyObject
*swig_obj
[1] ;
15549 if (!args
) SWIG_fail
;
15550 swig_obj
[0] = args
;
15551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15552 if (!SWIG_IsOK(res1
)) {
15553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15555 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15556 result
= (int) ((arg1
)->Language
);
15557 resultobj
= SWIG_From_int(static_cast< int >(result
));
15564 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15565 PyObject
*resultobj
= 0;
15566 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15567 wxString
*arg2
= (wxString
*) 0 ;
15570 bool temp2
= false ;
15571 PyObject
*swig_obj
[2] ;
15573 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15575 if (!SWIG_IsOK(res1
)) {
15576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15578 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15580 arg2
= wxString_in_helper(swig_obj
[1]);
15581 if (arg2
== NULL
) SWIG_fail
;
15584 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15586 resultobj
= SWIG_Py_Void();
15601 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15602 PyObject
*resultobj
= 0;
15603 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15604 wxString
*result
= 0 ;
15607 PyObject
*swig_obj
[1] ;
15609 if (!args
) SWIG_fail
;
15610 swig_obj
[0] = args
;
15611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15612 if (!SWIG_IsOK(res1
)) {
15613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15615 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15616 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15619 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15621 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15630 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15631 PyObject
*resultobj
= 0;
15632 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15633 wxString
*arg2
= (wxString
*) 0 ;
15636 bool temp2
= false ;
15637 PyObject
*swig_obj
[2] ;
15639 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15641 if (!SWIG_IsOK(res1
)) {
15642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15644 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15646 arg2
= wxString_in_helper(swig_obj
[1]);
15647 if (arg2
== NULL
) SWIG_fail
;
15650 if (arg1
) (arg1
)->Description
= *arg2
;
15652 resultobj
= SWIG_Py_Void();
15667 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15668 PyObject
*resultobj
= 0;
15669 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15670 wxString
*result
= 0 ;
15673 PyObject
*swig_obj
[1] ;
15675 if (!args
) SWIG_fail
;
15676 swig_obj
[0] = args
;
15677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15678 if (!SWIG_IsOK(res1
)) {
15679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15681 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15682 result
= (wxString
*)& ((arg1
)->Description
);
15685 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15687 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15696 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15699 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15700 return SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
= 0;
15705 int arg1
= (int) -1 ;
15706 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15707 wxLocale
*result
= 0 ;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 char * kwnames
[] = {
15715 (char *) "language",(char *) "flags", NULL
15718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15721 if (!SWIG_IsOK(ecode1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15724 arg1
= static_cast< int >(val1
);
15727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15728 if (!SWIG_IsOK(ecode2
)) {
15729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15731 arg2
= static_cast< int >(val2
);
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15746 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15747 PyObject
*resultobj
= 0;
15748 wxLocale
*arg1
= (wxLocale
*) 0 ;
15751 PyObject
*swig_obj
[1] ;
15753 if (!args
) SWIG_fail
;
15754 swig_obj
[0] = args
;
15755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15759 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_Py_Void();
15774 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
= 0;
15776 wxLocale
*arg1
= (wxLocale
*) 0 ;
15777 wxString
*arg2
= 0 ;
15778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15780 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15781 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15782 bool arg5
= (bool) true ;
15783 bool arg6
= (bool) false ;
15787 bool temp2
= false ;
15788 bool temp3
= false ;
15789 bool temp4
= false ;
15794 PyObject
* obj0
= 0 ;
15795 PyObject
* obj1
= 0 ;
15796 PyObject
* obj2
= 0 ;
15797 PyObject
* obj3
= 0 ;
15798 PyObject
* obj4
= 0 ;
15799 PyObject
* obj5
= 0 ;
15800 char * kwnames
[] = {
15801 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15806 if (!SWIG_IsOK(res1
)) {
15807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15809 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15811 arg2
= wxString_in_helper(obj1
);
15812 if (arg2
== NULL
) SWIG_fail
;
15817 arg3
= wxString_in_helper(obj2
);
15818 if (arg3
== NULL
) SWIG_fail
;
15824 arg4
= wxString_in_helper(obj3
);
15825 if (arg4
== NULL
) SWIG_fail
;
15830 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15831 if (!SWIG_IsOK(ecode5
)) {
15832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15834 arg5
= static_cast< bool >(val5
);
15837 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15838 if (!SWIG_IsOK(ecode6
)) {
15839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15841 arg6
= static_cast< bool >(val6
);
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15882 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
= 0;
15884 wxLocale
*arg1
= (wxLocale
*) 0 ;
15885 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15886 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15894 PyObject
* obj0
= 0 ;
15895 PyObject
* obj1
= 0 ;
15896 PyObject
* obj2
= 0 ;
15897 char * kwnames
[] = {
15898 (char *) "self",(char *) "language",(char *) "flags", NULL
15901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15903 if (!SWIG_IsOK(res1
)) {
15904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15906 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15909 if (!SWIG_IsOK(ecode2
)) {
15910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15912 arg2
= static_cast< int >(val2
);
15915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15916 if (!SWIG_IsOK(ecode3
)) {
15917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15919 arg3
= static_cast< int >(val3
);
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15936 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15937 PyObject
*resultobj
= 0;
15940 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (int)wxLocale::GetSystemLanguage();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_From_int(static_cast< int >(result
));
15954 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15955 PyObject
*resultobj
= 0;
15956 wxFontEncoding result
;
15958 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= SWIG_From_int(static_cast< int >(result
));
15972 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15973 PyObject
*resultobj
= 0;
15976 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= wxLocale::GetSystemEncodingName();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15996 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15997 PyObject
*resultobj
= 0;
15998 wxLocale
*arg1
= (wxLocale
*) 0 ;
16002 PyObject
*swig_obj
[1] ;
16004 if (!args
) SWIG_fail
;
16005 swig_obj
[0] = args
;
16006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16007 if (!SWIG_IsOK(res1
)) {
16008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16010 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16026 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16027 PyObject
*resultobj
= 0;
16028 wxLocale
*arg1
= (wxLocale
*) 0 ;
16032 PyObject
*swig_obj
[1] ;
16034 if (!args
) SWIG_fail
;
16035 swig_obj
[0] = args
;
16036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16037 if (!SWIG_IsOK(res1
)) {
16038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16040 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= ((wxLocale
const *)arg1
)->GetLocale();
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16060 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16061 PyObject
*resultobj
= 0;
16062 wxLocale
*arg1
= (wxLocale
*) 0 ;
16066 PyObject
*swig_obj
[1] ;
16068 if (!args
) SWIG_fail
;
16069 swig_obj
[0] = args
;
16070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16071 if (!SWIG_IsOK(res1
)) {
16072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16074 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= SWIG_From_int(static_cast< int >(result
));
16088 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16089 PyObject
*resultobj
= 0;
16090 wxLocale
*arg1
= (wxLocale
*) 0 ;
16094 PyObject
*swig_obj
[1] ;
16096 if (!args
) SWIG_fail
;
16097 swig_obj
[0] = args
;
16098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16099 if (!SWIG_IsOK(res1
)) {
16100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16102 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= ((wxLocale
const *)arg1
)->GetSysName();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16122 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16123 PyObject
*resultobj
= 0;
16124 wxLocale
*arg1
= (wxLocale
*) 0 ;
16128 PyObject
*swig_obj
[1] ;
16130 if (!args
) SWIG_fail
;
16131 swig_obj
[0] = args
;
16132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16133 if (!SWIG_IsOK(res1
)) {
16134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16136 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16156 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
= 0;
16158 wxString
*arg1
= 0 ;
16159 bool temp1
= false ;
16160 PyObject
* obj0
= 0 ;
16161 char * kwnames
[] = {
16162 (char *) "prefix", NULL
16165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16167 arg1
= wxString_in_helper(obj0
);
16168 if (arg1
== NULL
) SWIG_fail
;
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_Py_Void();
16192 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
= 0;
16194 wxLocale
*arg1
= (wxLocale
*) 0 ;
16195 wxString
*arg2
= 0 ;
16199 bool temp2
= false ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char * kwnames
[] = {
16203 (char *) "self",(char *) "szDomain", NULL
16206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16208 if (!SWIG_IsOK(res1
)) {
16209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16211 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16213 arg2
= wxString_in_helper(obj1
);
16214 if (arg2
== NULL
) SWIG_fail
;
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16240 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16241 PyObject
*resultobj
= 0;
16246 PyObject
* obj0
= 0 ;
16247 char * kwnames
[] = {
16248 (char *) "lang", NULL
16251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16253 if (!SWIG_IsOK(ecode1
)) {
16254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16256 arg1
= static_cast< int >(val1
);
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (bool)wxLocale::IsAvailable(arg1
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16272 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
= 0;
16274 wxLocale
*arg1
= (wxLocale
*) 0 ;
16275 wxString
*arg2
= 0 ;
16279 bool temp2
= false ;
16280 PyObject
* obj0
= 0 ;
16281 PyObject
* obj1
= 0 ;
16282 char * kwnames
[] = {
16283 (char *) "self",(char *) "szDomain", NULL
16286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16288 if (!SWIG_IsOK(res1
)) {
16289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16291 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16293 arg2
= wxString_in_helper(obj1
);
16294 if (arg2
== NULL
) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16320 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
= 0;
16323 wxLanguageInfo
*result
= 0 ;
16326 PyObject
* obj0
= 0 ;
16327 char * kwnames
[] = {
16328 (char *) "lang", NULL
16331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16332 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16333 if (!SWIG_IsOK(ecode1
)) {
16334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16336 arg1
= static_cast< int >(val1
);
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16350 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
= 0;
16356 PyObject
* obj0
= 0 ;
16357 char * kwnames
[] = {
16358 (char *) "lang", NULL
16361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16362 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16363 if (!SWIG_IsOK(ecode1
)) {
16364 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16366 arg1
= static_cast< int >(val1
);
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= wxLocale::GetLanguageName(arg1
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16386 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
= 0;
16388 wxString
*arg1
= 0 ;
16389 wxLanguageInfo
*result
= 0 ;
16390 bool temp1
= false ;
16391 PyObject
* obj0
= 0 ;
16392 char * kwnames
[] = {
16393 (char *) "locale", NULL
16396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16398 arg1
= wxString_in_helper(obj0
);
16399 if (arg1
== NULL
) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16423 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
= 0;
16425 wxLanguageInfo
*arg1
= 0 ;
16428 PyObject
* obj0
= 0 ;
16429 char * kwnames
[] = {
16430 (char *) "info", NULL
16433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16434 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16435 if (!SWIG_IsOK(res1
)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16441 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_Py_Void();
16455 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
= 0;
16457 wxLocale
*arg1
= (wxLocale
*) 0 ;
16458 wxString
*arg2
= 0 ;
16459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16464 bool temp2
= false ;
16465 bool temp3
= false ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 PyObject
* obj2
= 0 ;
16469 char * kwnames
[] = {
16470 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16475 if (!SWIG_IsOK(res1
)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16478 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16480 arg2
= wxString_in_helper(obj1
);
16481 if (arg2
== NULL
) SWIG_fail
;
16486 arg3
= wxString_in_helper(obj2
);
16487 if (arg3
== NULL
) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16526 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16527 PyObject
*resultobj
= 0;
16528 wxLocale
*arg1
= (wxLocale
*) 0 ;
16529 wxString
*result
= 0 ;
16532 PyObject
*swig_obj
[1] ;
16534 if (!args
) SWIG_fail
;
16535 swig_obj
[0] = args
;
16536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16537 if (!SWIG_IsOK(res1
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16540 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16545 result
= (wxString
*) &_result_ref
;
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16554 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16563 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16566 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16567 return SWIG_Py_Void();
16570 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16571 return SWIG_Python_InitShadowInstance(args
);
16574 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
= 0;
16576 int arg1
= (int) -1 ;
16577 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16578 wxPyLocale
*result
= 0 ;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 char * kwnames
[] = {
16586 (char *) "language",(char *) "flags", NULL
16589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16591 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16592 if (!SWIG_IsOK(ecode1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16595 arg1
= static_cast< int >(val1
);
16598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16599 if (!SWIG_IsOK(ecode2
)) {
16600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16602 arg2
= static_cast< int >(val2
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16617 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16622 PyObject
*swig_obj
[1] ;
16624 if (!args
) SWIG_fail
;
16625 swig_obj
[0] = args
;
16626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16627 if (!SWIG_IsOK(res1
)) {
16628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16630 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= SWIG_Py_Void();
16645 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
= 0;
16647 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16648 PyObject
*arg2
= (PyObject
*) 0 ;
16649 PyObject
*arg3
= (PyObject
*) 0 ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 PyObject
* obj2
= 0 ;
16655 char * kwnames
[] = {
16656 (char *) "self",(char *) "self",(char *) "_class", NULL
16659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16661 if (!SWIG_IsOK(res1
)) {
16662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16664 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= SWIG_Py_Void();
16680 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
= 0;
16682 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16683 wxChar
*arg2
= (wxChar
*) 0 ;
16684 wxChar
*arg3
= (wxChar
*) NULL
;
16685 wxChar
*result
= 0 ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 PyObject
* obj2
= 0 ;
16695 char * kwnames
[] = {
16696 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16701 if (!SWIG_IsOK(res1
)) {
16702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16704 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16706 if (!SWIG_IsOK(res2
)) {
16707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16709 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16711 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16712 if (!SWIG_IsOK(res3
)) {
16713 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16715 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16730 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
= 0;
16732 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16733 wxChar
*arg2
= (wxChar
*) 0 ;
16734 wxChar
*arg3
= (wxChar
*) 0 ;
16736 wxChar
*arg5
= (wxChar
*) NULL
;
16737 wxChar
*result
= 0 ;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 PyObject
* obj2
= 0 ;
16751 PyObject
* obj3
= 0 ;
16752 PyObject
* obj4
= 0 ;
16753 char * kwnames
[] = {
16754 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16759 if (!SWIG_IsOK(res1
)) {
16760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16762 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16764 if (!SWIG_IsOK(res2
)) {
16765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16767 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16768 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16769 if (!SWIG_IsOK(res3
)) {
16770 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16772 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16773 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16774 if (!SWIG_IsOK(ecode4
)) {
16775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16777 arg4
= static_cast< size_t >(val4
);
16779 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16780 if (!SWIG_IsOK(res5
)) {
16781 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16783 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16798 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16801 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16802 return SWIG_Py_Void();
16805 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16806 return SWIG_Python_InitShadowInstance(args
);
16809 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16810 PyObject
*resultobj
= 0;
16811 wxLocale
*result
= 0 ;
16813 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (wxLocale
*)wxGetLocale();
16817 wxPyEndAllowThreads(__tstate
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16827 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16828 PyObject
*resultobj
= 0;
16829 wxString
*arg1
= 0 ;
16831 bool temp1
= false ;
16833 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16835 arg1
= wxString_in_helper(swig_obj
[0]);
16836 if (arg1
== NULL
) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= wxGetTranslation((wxString
const &)*arg1
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16866 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16867 PyObject
*resultobj
= 0;
16868 wxString
*arg1
= 0 ;
16869 wxString
*arg2
= 0 ;
16871 bool temp1
= false ;
16872 bool temp2
= false ;
16874 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16876 arg1
= wxString_in_helper(swig_obj
[0]);
16877 if (arg1
== NULL
) SWIG_fail
;
16881 arg2
= wxString_in_helper(swig_obj
[1]);
16882 if (arg2
== NULL
) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16920 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16921 PyObject
*resultobj
= 0;
16922 wxString
*arg1
= 0 ;
16923 wxString
*arg2
= 0 ;
16926 bool temp1
= false ;
16927 bool temp2
= false ;
16931 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16933 arg1
= wxString_in_helper(swig_obj
[0]);
16934 if (arg1
== NULL
) SWIG_fail
;
16938 arg2
= wxString_in_helper(swig_obj
[1]);
16939 if (arg2
== NULL
) SWIG_fail
;
16942 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16943 if (!SWIG_IsOK(ecode3
)) {
16944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16946 arg3
= static_cast< size_t >(val3
);
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16950 wxPyEndAllowThreads(__tstate
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16982 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16983 PyObject
*resultobj
= 0;
16984 wxString
*arg1
= 0 ;
16985 wxString
*arg2
= 0 ;
16987 wxString
*arg4
= 0 ;
16989 bool temp1
= false ;
16990 bool temp2
= false ;
16993 bool temp4
= false ;
16995 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16997 arg1
= wxString_in_helper(swig_obj
[0]);
16998 if (arg1
== NULL
) SWIG_fail
;
17002 arg2
= wxString_in_helper(swig_obj
[1]);
17003 if (arg2
== NULL
) SWIG_fail
;
17006 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17007 if (!SWIG_IsOK(ecode3
)) {
17008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17010 arg3
= static_cast< size_t >(val3
);
17012 arg4
= wxString_in_helper(swig_obj
[3]);
17013 if (arg4
== NULL
) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17059 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17063 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17066 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17069 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17072 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17075 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17079 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17084 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17085 PyObject
*resultobj
= 0;
17086 wxEncodingConverter
*result
= 0 ;
17088 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17102 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17103 PyObject
*resultobj
= 0;
17104 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17107 PyObject
*swig_obj
[1] ;
17109 if (!args
) SWIG_fail
;
17110 swig_obj
[0] = args
;
17111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17115 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_Py_Void();
17130 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17133 wxFontEncoding arg2
;
17134 wxFontEncoding arg3
;
17135 int arg4
= (int) wxCONVERT_STRICT
;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 PyObject
* obj2
= 0 ;
17148 PyObject
* obj3
= 0 ;
17149 char * kwnames
[] = {
17150 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17155 if (!SWIG_IsOK(res1
)) {
17156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17158 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17160 if (!SWIG_IsOK(ecode2
)) {
17161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17163 arg2
= static_cast< wxFontEncoding
>(val2
);
17164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17165 if (!SWIG_IsOK(ecode3
)) {
17166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17168 arg3
= static_cast< wxFontEncoding
>(val3
);
17170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17171 if (!SWIG_IsOK(ecode4
)) {
17172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17174 arg4
= static_cast< int >(val4
);
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17191 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= 0;
17193 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17194 wxString
*arg2
= 0 ;
17198 bool temp2
= false ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char * kwnames
[] = {
17202 (char *) "self",(char *) "input", NULL
17205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17207 if (!SWIG_IsOK(res1
)) {
17208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17210 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17212 arg2
= wxString_in_helper(obj1
);
17213 if (arg2
== NULL
) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17243 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
= 0;
17245 wxFontEncoding arg1
;
17246 int arg2
= (int) wxPLATFORM_CURRENT
;
17247 wxFontEncodingArray result
;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 char * kwnames
[] = {
17255 (char *) "enc",(char *) "platform", NULL
17258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17259 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17260 if (!SWIG_IsOK(ecode1
)) {
17261 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17263 arg1
= static_cast< wxFontEncoding
>(val1
);
17265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17266 if (!SWIG_IsOK(ecode2
)) {
17267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17269 arg2
= static_cast< int >(val2
);
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= PyList_New(0);
17279 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17280 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17281 PyList_Append(resultobj
, number
);
17291 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
= 0;
17293 wxFontEncoding arg1
;
17294 wxFontEncodingArray result
;
17297 PyObject
* obj0
= 0 ;
17298 char * kwnames
[] = {
17299 (char *) "enc", NULL
17302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17303 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17304 if (!SWIG_IsOK(ecode1
)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17307 arg1
= static_cast< wxFontEncoding
>(val1
);
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= PyList_New(0);
17316 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17317 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17318 PyList_Append(resultobj
, number
);
17328 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
= 0;
17330 wxFontEncoding arg1
;
17331 wxFontEncoding arg2
;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 char * kwnames
[] = {
17340 (char *) "encIn",(char *) "encOut", NULL
17343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17345 if (!SWIG_IsOK(ecode1
)) {
17346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17348 arg1
= static_cast< wxFontEncoding
>(val1
);
17349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17350 if (!SWIG_IsOK(ecode2
)) {
17351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17353 arg2
= static_cast< wxFontEncoding
>(val2
);
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17369 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17372 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17373 return SWIG_Py_Void();
17376 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17377 return SWIG_Python_InitShadowInstance(args
);
17380 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17381 PyObject
*resultobj
= 0;
17382 wxDC
*arg1
= (wxDC
*) 0 ;
17385 PyObject
*swig_obj
[1] ;
17387 if (!args
) SWIG_fail
;
17388 swig_obj
[0] = args
;
17389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17390 if (!SWIG_IsOK(res1
)) {
17391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= SWIG_Py_Void();
17408 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
= 0;
17410 wxDC
*arg1
= (wxDC
*) 0 ;
17413 wxColour
*arg4
= 0 ;
17414 int arg5
= (int) wxFLOOD_SURFACE
;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 PyObject
* obj2
= 0 ;
17428 PyObject
* obj3
= 0 ;
17429 PyObject
* obj4
= 0 ;
17430 char * kwnames
[] = {
17431 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17436 if (!SWIG_IsOK(res1
)) {
17437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17441 if (!SWIG_IsOK(ecode2
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17444 arg2
= static_cast< int >(val2
);
17445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17446 if (!SWIG_IsOK(ecode3
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17449 arg3
= static_cast< int >(val3
);
17452 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17456 if (!SWIG_IsOK(ecode5
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17459 arg5
= static_cast< int >(val5
);
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17476 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
= 0;
17478 wxDC
*arg1
= (wxDC
*) 0 ;
17479 wxPoint
*arg2
= 0 ;
17480 wxColour
*arg3
= 0 ;
17481 int arg4
= (int) wxFLOOD_SURFACE
;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 PyObject
* obj2
= 0 ;
17492 PyObject
* obj3
= 0 ;
17493 char * kwnames
[] = {
17494 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17499 if (!SWIG_IsOK(res1
)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17509 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17513 if (!SWIG_IsOK(ecode4
)) {
17514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17516 arg4
= static_cast< int >(val4
);
17519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17520 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17533 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
= 0;
17535 wxDC
*arg1
= (wxDC
*) 0 ;
17537 wxColour
*arg3
= 0 ;
17538 wxColour
*arg4
= 0 ;
17539 wxPoint
*arg5
= 0 ;
17546 PyObject
* obj0
= 0 ;
17547 PyObject
* obj1
= 0 ;
17548 PyObject
* obj2
= 0 ;
17549 PyObject
* obj3
= 0 ;
17550 PyObject
* obj4
= 0 ;
17551 char * kwnames
[] = {
17552 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17557 if (!SWIG_IsOK(res1
)) {
17558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17567 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17571 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17575 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_Py_Void();
17590 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
= 0;
17592 wxDC
*arg1
= (wxDC
*) 0 ;
17594 wxColour
*arg3
= 0 ;
17595 wxColour
*arg4
= 0 ;
17596 wxDirection arg5
= (wxDirection
) wxEAST
;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 PyObject
* obj2
= 0 ;
17607 PyObject
* obj3
= 0 ;
17608 PyObject
* obj4
= 0 ;
17609 char * kwnames
[] = {
17610 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17615 if (!SWIG_IsOK(res1
)) {
17616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17621 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17625 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17629 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17632 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17633 if (!SWIG_IsOK(ecode5
)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17636 arg5
= static_cast< wxDirection
>(val5
);
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= SWIG_Py_Void();
17651 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
= 0;
17653 wxDC
*arg1
= (wxDC
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 char * kwnames
[] = {
17667 (char *) "self",(char *) "x",(char *) "y", NULL
17670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17672 if (!SWIG_IsOK(res1
)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17677 if (!SWIG_IsOK(ecode2
)) {
17678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17680 arg2
= static_cast< int >(val2
);
17681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17682 if (!SWIG_IsOK(ecode3
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17685 arg3
= static_cast< int >(val3
);
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17699 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
= 0;
17701 wxDC
*arg1
= (wxDC
*) 0 ;
17702 wxPoint
*arg2
= 0 ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 char * kwnames
[] = {
17710 (char *) "self",(char *) "pt", NULL
17713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17715 if (!SWIG_IsOK(res1
)) {
17716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17736 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
= 0;
17738 wxDC
*arg1
= (wxDC
*) 0 ;
17753 PyObject
* obj0
= 0 ;
17754 PyObject
* obj1
= 0 ;
17755 PyObject
* obj2
= 0 ;
17756 PyObject
* obj3
= 0 ;
17757 PyObject
* obj4
= 0 ;
17758 char * kwnames
[] = {
17759 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17764 if (!SWIG_IsOK(res1
)) {
17765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17769 if (!SWIG_IsOK(ecode2
)) {
17770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17772 arg2
= static_cast< int >(val2
);
17773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17774 if (!SWIG_IsOK(ecode3
)) {
17775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17777 arg3
= static_cast< int >(val3
);
17778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17779 if (!SWIG_IsOK(ecode4
)) {
17780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17782 arg4
= static_cast< int >(val4
);
17783 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17784 if (!SWIG_IsOK(ecode5
)) {
17785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17787 arg5
= static_cast< int >(val5
);
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= SWIG_Py_Void();
17801 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
= 0;
17803 wxDC
*arg1
= (wxDC
*) 0 ;
17804 wxPoint
*arg2
= 0 ;
17805 wxPoint
*arg3
= 0 ;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 PyObject
* obj2
= 0 ;
17813 char * kwnames
[] = {
17814 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17819 if (!SWIG_IsOK(res1
)) {
17820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17825 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17829 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= SWIG_Py_Void();
17844 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
= 0;
17846 wxDC
*arg1
= (wxDC
*) 0 ;
17855 PyObject
* obj0
= 0 ;
17856 PyObject
* obj1
= 0 ;
17857 PyObject
* obj2
= 0 ;
17858 char * kwnames
[] = {
17859 (char *) "self",(char *) "x",(char *) "y", NULL
17862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17864 if (!SWIG_IsOK(res1
)) {
17865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17869 if (!SWIG_IsOK(ecode2
)) {
17870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17872 arg2
= static_cast< int >(val2
);
17873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17874 if (!SWIG_IsOK(ecode3
)) {
17875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17877 arg3
= static_cast< int >(val3
);
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 (arg1
)->CrossHair(arg2
,arg3
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_Py_Void();
17891 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
= 0;
17893 wxDC
*arg1
= (wxDC
*) 0 ;
17894 wxPoint
*arg2
= 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 char * kwnames
[] = {
17901 (char *) "self",(char *) "pt", NULL
17904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17906 if (!SWIG_IsOK(res1
)) {
17907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_Py_Void();
17927 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
= 0;
17929 wxDC
*arg1
= (wxDC
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 PyObject
* obj1
= 0 ;
17952 PyObject
* obj2
= 0 ;
17953 PyObject
* obj3
= 0 ;
17954 PyObject
* obj4
= 0 ;
17955 PyObject
* obj5
= 0 ;
17956 PyObject
* obj6
= 0 ;
17957 char * kwnames
[] = {
17958 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17963 if (!SWIG_IsOK(res1
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17968 if (!SWIG_IsOK(ecode2
)) {
17969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17971 arg2
= static_cast< int >(val2
);
17972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17973 if (!SWIG_IsOK(ecode3
)) {
17974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17976 arg3
= static_cast< int >(val3
);
17977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17978 if (!SWIG_IsOK(ecode4
)) {
17979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17981 arg4
= static_cast< int >(val4
);
17982 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17983 if (!SWIG_IsOK(ecode5
)) {
17984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17986 arg5
= static_cast< int >(val5
);
17987 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17988 if (!SWIG_IsOK(ecode6
)) {
17989 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17991 arg6
= static_cast< int >(val6
);
17992 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17993 if (!SWIG_IsOK(ecode7
)) {
17994 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17996 arg7
= static_cast< int >(val7
);
17998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17999 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18000 wxPyEndAllowThreads(__tstate
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= SWIG_Py_Void();
18010 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
= 0;
18012 wxDC
*arg1
= (wxDC
*) 0 ;
18013 wxPoint
*arg2
= 0 ;
18014 wxPoint
*arg3
= 0 ;
18015 wxPoint
*arg4
= 0 ;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 PyObject
* obj2
= 0 ;
18024 PyObject
* obj3
= 0 ;
18025 char * kwnames
[] = {
18026 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18031 if (!SWIG_IsOK(res1
)) {
18032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18045 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= SWIG_Py_Void();
18060 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
= 0;
18062 wxDC
*arg1
= (wxDC
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 PyObject
* obj2
= 0 ;
18080 PyObject
* obj3
= 0 ;
18081 PyObject
* obj4
= 0 ;
18082 char * kwnames
[] = {
18083 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18093 if (!SWIG_IsOK(ecode2
)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18096 arg2
= static_cast< int >(val2
);
18097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18098 if (!SWIG_IsOK(ecode3
)) {
18099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18101 arg3
= static_cast< int >(val3
);
18102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18103 if (!SWIG_IsOK(ecode4
)) {
18104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18106 arg4
= static_cast< int >(val4
);
18107 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18108 if (!SWIG_IsOK(ecode5
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18111 arg5
= static_cast< int >(val5
);
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 resultobj
= SWIG_Py_Void();
18125 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18126 PyObject
*resultobj
= 0;
18127 wxDC
*arg1
= (wxDC
*) 0 ;
18132 PyObject
* obj0
= 0 ;
18133 PyObject
* obj1
= 0 ;
18134 char * kwnames
[] = {
18135 (char *) "self",(char *) "rect", NULL
18138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18140 if (!SWIG_IsOK(res1
)) {
18141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18146 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_Py_Void();
18161 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
= 0;
18163 wxDC
*arg1
= (wxDC
*) 0 ;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 PyObject
* obj2
= 0 ;
18187 PyObject
* obj3
= 0 ;
18188 PyObject
* obj4
= 0 ;
18189 PyObject
* obj5
= 0 ;
18190 PyObject
* obj6
= 0 ;
18191 char * kwnames
[] = {
18192 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18197 if (!SWIG_IsOK(res1
)) {
18198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18202 if (!SWIG_IsOK(ecode2
)) {
18203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18205 arg2
= static_cast< int >(val2
);
18206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18207 if (!SWIG_IsOK(ecode3
)) {
18208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18210 arg3
= static_cast< int >(val3
);
18211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18212 if (!SWIG_IsOK(ecode4
)) {
18213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18215 arg4
= static_cast< int >(val4
);
18216 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18217 if (!SWIG_IsOK(ecode5
)) {
18218 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18220 arg5
= static_cast< int >(val5
);
18221 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18222 if (!SWIG_IsOK(ecode6
)) {
18223 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18225 arg6
= static_cast< double >(val6
);
18226 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18227 if (!SWIG_IsOK(ecode7
)) {
18228 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18230 arg7
= static_cast< double >(val7
);
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_Py_Void();
18244 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
= 0;
18246 wxDC
*arg1
= (wxDC
*) 0 ;
18247 wxPoint
*arg2
= 0 ;
18259 PyObject
* obj0
= 0 ;
18260 PyObject
* obj1
= 0 ;
18261 PyObject
* obj2
= 0 ;
18262 PyObject
* obj3
= 0 ;
18263 PyObject
* obj4
= 0 ;
18264 char * kwnames
[] = {
18265 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18276 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18280 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18282 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18283 if (!SWIG_IsOK(ecode4
)) {
18284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18286 arg4
= static_cast< double >(val4
);
18287 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18288 if (!SWIG_IsOK(ecode5
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18291 arg5
= static_cast< double >(val5
);
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= SWIG_Py_Void();
18305 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
= 0;
18307 wxDC
*arg1
= (wxDC
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 PyObject
* obj2
= 0 ;
18319 char * kwnames
[] = {
18320 (char *) "self",(char *) "x",(char *) "y", NULL
18323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18325 if (!SWIG_IsOK(res1
)) {
18326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18328 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18330 if (!SWIG_IsOK(ecode2
)) {
18331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18333 arg2
= static_cast< int >(val2
);
18334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18335 if (!SWIG_IsOK(ecode3
)) {
18336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18338 arg3
= static_cast< int >(val3
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->DrawPoint(arg2
,arg3
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_Py_Void();
18352 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
= 0;
18354 wxDC
*arg1
= (wxDC
*) 0 ;
18355 wxPoint
*arg2
= 0 ;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 char * kwnames
[] = {
18362 (char *) "self",(char *) "pt", NULL
18365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18367 if (!SWIG_IsOK(res1
)) {
18368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18373 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_Py_Void();
18388 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
= 0;
18390 wxDC
*arg1
= (wxDC
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 PyObject
* obj3
= 0 ;
18409 PyObject
* obj4
= 0 ;
18410 char * kwnames
[] = {
18411 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18416 if (!SWIG_IsOK(res1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18421 if (!SWIG_IsOK(ecode2
)) {
18422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18424 arg2
= static_cast< int >(val2
);
18425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18426 if (!SWIG_IsOK(ecode3
)) {
18427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18429 arg3
= static_cast< int >(val3
);
18430 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18431 if (!SWIG_IsOK(ecode4
)) {
18432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18434 arg4
= static_cast< int >(val4
);
18435 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18436 if (!SWIG_IsOK(ecode5
)) {
18437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18439 arg5
= static_cast< int >(val5
);
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_Py_Void();
18453 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
= 0;
18455 wxDC
*arg1
= (wxDC
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 char * kwnames
[] = {
18463 (char *) "self",(char *) "rect", NULL
18466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18468 if (!SWIG_IsOK(res1
)) {
18469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18474 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_Py_Void();
18489 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
= 0;
18491 wxDC
*arg1
= (wxDC
*) 0 ;
18492 wxPoint
*arg2
= 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 PyObject
* obj2
= 0 ;
18501 char * kwnames
[] = {
18502 (char *) "self",(char *) "pt",(char *) "sz", NULL
18505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18513 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18517 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= SWIG_Py_Void();
18532 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
= 0;
18534 wxDC
*arg1
= (wxDC
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 PyObject
* obj2
= 0 ;
18555 PyObject
* obj3
= 0 ;
18556 PyObject
* obj4
= 0 ;
18557 PyObject
* obj5
= 0 ;
18558 char * kwnames
[] = {
18559 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18564 if (!SWIG_IsOK(res1
)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18569 if (!SWIG_IsOK(ecode2
)) {
18570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18572 arg2
= static_cast< int >(val2
);
18573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18574 if (!SWIG_IsOK(ecode3
)) {
18575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18577 arg3
= static_cast< int >(val3
);
18578 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18579 if (!SWIG_IsOK(ecode4
)) {
18580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18582 arg4
= static_cast< int >(val4
);
18583 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18584 if (!SWIG_IsOK(ecode5
)) {
18585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18587 arg5
= static_cast< int >(val5
);
18588 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18589 if (!SWIG_IsOK(ecode6
)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18592 arg6
= static_cast< double >(val6
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_Py_Void();
18606 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
= 0;
18608 wxDC
*arg1
= (wxDC
*) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 PyObject
* obj2
= 0 ;
18619 char * kwnames
[] = {
18620 (char *) "self",(char *) "r",(char *) "radius", NULL
18623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18625 if (!SWIG_IsOK(res1
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18631 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18633 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18634 if (!SWIG_IsOK(ecode3
)) {
18635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18637 arg3
= static_cast< double >(val3
);
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_Py_Void();
18651 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
= 0;
18653 wxDC
*arg1
= (wxDC
*) 0 ;
18654 wxPoint
*arg2
= 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 PyObject
* obj2
= 0 ;
18666 PyObject
* obj3
= 0 ;
18667 char * kwnames
[] = {
18668 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18679 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18683 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18685 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18686 if (!SWIG_IsOK(ecode4
)) {
18687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18689 arg4
= static_cast< double >(val4
);
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_Py_Void();
18703 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
= 0;
18705 wxDC
*arg1
= (wxDC
*) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 PyObject
* obj2
= 0 ;
18720 PyObject
* obj3
= 0 ;
18721 char * kwnames
[] = {
18722 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18727 if (!SWIG_IsOK(res1
)) {
18728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18732 if (!SWIG_IsOK(ecode2
)) {
18733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18735 arg2
= static_cast< int >(val2
);
18736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18737 if (!SWIG_IsOK(ecode3
)) {
18738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18740 arg3
= static_cast< int >(val3
);
18741 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18742 if (!SWIG_IsOK(ecode4
)) {
18743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18745 arg4
= static_cast< int >(val4
);
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_Py_Void();
18759 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
= 0;
18761 wxDC
*arg1
= (wxDC
*) 0 ;
18762 wxPoint
*arg2
= 0 ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 PyObject
* obj2
= 0 ;
18772 char * kwnames
[] = {
18773 (char *) "self",(char *) "pt",(char *) "radius", NULL
18776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18778 if (!SWIG_IsOK(res1
)) {
18779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18787 if (!SWIG_IsOK(ecode3
)) {
18788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18790 arg3
= static_cast< int >(val3
);
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= SWIG_Py_Void();
18804 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
= 0;
18806 wxDC
*arg1
= (wxDC
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 PyObject
* obj2
= 0 ;
18824 PyObject
* obj3
= 0 ;
18825 PyObject
* obj4
= 0 ;
18826 char * kwnames
[] = {
18827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18832 if (!SWIG_IsOK(res1
)) {
18833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18837 if (!SWIG_IsOK(ecode2
)) {
18838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18840 arg2
= static_cast< int >(val2
);
18841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18842 if (!SWIG_IsOK(ecode3
)) {
18843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18845 arg3
= static_cast< int >(val3
);
18846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18847 if (!SWIG_IsOK(ecode4
)) {
18848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18850 arg4
= static_cast< int >(val4
);
18851 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18852 if (!SWIG_IsOK(ecode5
)) {
18853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18855 arg5
= static_cast< int >(val5
);
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= SWIG_Py_Void();
18869 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
= 0;
18871 wxDC
*arg1
= (wxDC
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 PyObject
* obj1
= 0 ;
18878 char * kwnames
[] = {
18879 (char *) "self",(char *) "rect", NULL
18882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18884 if (!SWIG_IsOK(res1
)) {
18885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18890 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= SWIG_Py_Void();
18905 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
= 0;
18907 wxDC
*arg1
= (wxDC
*) 0 ;
18908 wxPoint
*arg2
= 0 ;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 char * kwnames
[] = {
18918 (char *) "self",(char *) "pt",(char *) "sz", NULL
18921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18923 if (!SWIG_IsOK(res1
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18933 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_Py_Void();
18948 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
= 0;
18950 wxDC
*arg1
= (wxDC
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 PyObject
* obj2
= 0 ;
18965 PyObject
* obj3
= 0 ;
18966 char * kwnames
[] = {
18967 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18972 if (!SWIG_IsOK(res1
)) {
18973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18977 if (!SWIG_IsOK(res2
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18983 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18985 if (!SWIG_IsOK(ecode3
)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18988 arg3
= static_cast< int >(val3
);
18989 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18990 if (!SWIG_IsOK(ecode4
)) {
18991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18993 arg4
= static_cast< int >(val4
);
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_Py_Void();
19007 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
= 0;
19009 wxDC
*arg1
= (wxDC
*) 0 ;
19011 wxPoint
*arg3
= 0 ;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 PyObject
* obj2
= 0 ;
19020 char * kwnames
[] = {
19021 (char *) "self",(char *) "icon",(char *) "pt", NULL
19024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19026 if (!SWIG_IsOK(res1
)) {
19027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19030 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19031 if (!SWIG_IsOK(res2
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19037 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= SWIG_Py_Void();
19055 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
= 0;
19057 wxDC
*arg1
= (wxDC
*) 0 ;
19058 wxBitmap
*arg2
= 0 ;
19061 bool arg5
= (bool) false ;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 PyObject
* obj2
= 0 ;
19075 PyObject
* obj3
= 0 ;
19076 PyObject
* obj4
= 0 ;
19077 char * kwnames
[] = {
19078 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19083 if (!SWIG_IsOK(res1
)) {
19084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19088 if (!SWIG_IsOK(res2
)) {
19089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19094 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19096 if (!SWIG_IsOK(ecode3
)) {
19097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19099 arg3
= static_cast< int >(val3
);
19100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19101 if (!SWIG_IsOK(ecode4
)) {
19102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19104 arg4
= static_cast< int >(val4
);
19106 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19107 if (!SWIG_IsOK(ecode5
)) {
19108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19110 arg5
= static_cast< bool >(val5
);
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= SWIG_Py_Void();
19125 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
= 0;
19127 wxDC
*arg1
= (wxDC
*) 0 ;
19128 wxBitmap
*arg2
= 0 ;
19129 wxPoint
*arg3
= 0 ;
19130 bool arg4
= (bool) false ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 PyObject
* obj2
= 0 ;
19141 PyObject
* obj3
= 0 ;
19142 char * kwnames
[] = {
19143 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19148 if (!SWIG_IsOK(res1
)) {
19149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19153 if (!SWIG_IsOK(res2
)) {
19154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19159 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19162 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19165 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19166 if (!SWIG_IsOK(ecode4
)) {
19167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19169 arg4
= static_cast< bool >(val4
);
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_Py_Void();
19184 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxDC
*arg1
= (wxDC
*) 0 ;
19187 wxString
*arg2
= 0 ;
19192 bool temp2
= false ;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 PyObject
* obj2
= 0 ;
19200 PyObject
* obj3
= 0 ;
19201 char * kwnames
[] = {
19202 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19207 if (!SWIG_IsOK(res1
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19212 arg2
= wxString_in_helper(obj1
);
19213 if (arg2
== NULL
) SWIG_fail
;
19216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19217 if (!SWIG_IsOK(ecode3
)) {
19218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19220 arg3
= static_cast< int >(val3
);
19221 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19222 if (!SWIG_IsOK(ecode4
)) {
19223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19225 arg4
= static_cast< int >(val4
);
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= SWIG_Py_Void();
19247 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxDC
*arg1
= (wxDC
*) 0 ;
19250 wxString
*arg2
= 0 ;
19251 wxPoint
*arg3
= 0 ;
19254 bool temp2
= false ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 PyObject
* obj2
= 0 ;
19259 char * kwnames
[] = {
19260 (char *) "self",(char *) "text",(char *) "pt", NULL
19263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19265 if (!SWIG_IsOK(res1
)) {
19266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19270 arg2
= wxString_in_helper(obj1
);
19271 if (arg2
== NULL
) SWIG_fail
;
19276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= SWIG_Py_Void();
19299 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
= 0;
19301 wxDC
*arg1
= (wxDC
*) 0 ;
19302 wxString
*arg2
= 0 ;
19308 bool temp2
= false ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 PyObject
* obj2
= 0 ;
19318 PyObject
* obj3
= 0 ;
19319 PyObject
* obj4
= 0 ;
19320 char * kwnames
[] = {
19321 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19326 if (!SWIG_IsOK(res1
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19331 arg2
= wxString_in_helper(obj1
);
19332 if (arg2
== NULL
) SWIG_fail
;
19335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19336 if (!SWIG_IsOK(ecode3
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19339 arg3
= static_cast< int >(val3
);
19340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19341 if (!SWIG_IsOK(ecode4
)) {
19342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19344 arg4
= static_cast< int >(val4
);
19345 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19346 if (!SWIG_IsOK(ecode5
)) {
19347 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19349 arg5
= static_cast< double >(val5
);
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_Py_Void();
19371 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
= 0;
19373 wxDC
*arg1
= (wxDC
*) 0 ;
19374 wxString
*arg2
= 0 ;
19375 wxPoint
*arg3
= 0 ;
19379 bool temp2
= false ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 PyObject
* obj3
= 0 ;
19387 char * kwnames
[] = {
19388 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19393 if (!SWIG_IsOK(res1
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19398 arg2
= wxString_in_helper(obj1
);
19399 if (arg2
== NULL
) SWIG_fail
;
19404 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19406 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19407 if (!SWIG_IsOK(ecode4
)) {
19408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19410 arg4
= static_cast< double >(val4
);
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19413 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= SWIG_Py_Void();
19432 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxDC
*arg1
= (wxDC
*) 0 ;
19439 wxDC
*arg6
= (wxDC
*) 0 ;
19442 int arg9
= (int) wxCOPY
;
19443 bool arg10
= (bool) false ;
19444 int arg11
= (int) -1 ;
19445 int arg12
= (int) -1 ;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 PyObject
* obj2
= 0 ;
19474 PyObject
* obj3
= 0 ;
19475 PyObject
* obj4
= 0 ;
19476 PyObject
* obj5
= 0 ;
19477 PyObject
* obj6
= 0 ;
19478 PyObject
* obj7
= 0 ;
19479 PyObject
* obj8
= 0 ;
19480 PyObject
* obj9
= 0 ;
19481 PyObject
* obj10
= 0 ;
19482 PyObject
* obj11
= 0 ;
19483 char * kwnames
[] = {
19484 (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
19487 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
;
19488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19489 if (!SWIG_IsOK(res1
)) {
19490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19494 if (!SWIG_IsOK(ecode2
)) {
19495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19497 arg2
= static_cast< int >(val2
);
19498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19499 if (!SWIG_IsOK(ecode3
)) {
19500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19502 arg3
= static_cast< int >(val3
);
19503 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19504 if (!SWIG_IsOK(ecode4
)) {
19505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19507 arg4
= static_cast< int >(val4
);
19508 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19509 if (!SWIG_IsOK(ecode5
)) {
19510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19512 arg5
= static_cast< int >(val5
);
19513 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19514 if (!SWIG_IsOK(res6
)) {
19515 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19517 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19518 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19519 if (!SWIG_IsOK(ecode7
)) {
19520 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19522 arg7
= static_cast< int >(val7
);
19523 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19524 if (!SWIG_IsOK(ecode8
)) {
19525 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19527 arg8
= static_cast< int >(val8
);
19529 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19530 if (!SWIG_IsOK(ecode9
)) {
19531 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19533 arg9
= static_cast< int >(val9
);
19536 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19537 if (!SWIG_IsOK(ecode10
)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19540 arg10
= static_cast< bool >(val10
);
19543 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19544 if (!SWIG_IsOK(ecode11
)) {
19545 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19547 arg11
= static_cast< int >(val11
);
19550 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19551 if (!SWIG_IsOK(ecode12
)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19554 arg12
= static_cast< int >(val12
);
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19571 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
= 0;
19573 wxDC
*arg1
= (wxDC
*) 0 ;
19574 wxPoint
*arg2
= 0 ;
19576 wxDC
*arg4
= (wxDC
*) 0 ;
19577 wxPoint
*arg5
= 0 ;
19578 int arg6
= (int) wxCOPY
;
19579 bool arg7
= (bool) false ;
19580 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19581 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 PyObject
* obj2
= 0 ;
19598 PyObject
* obj3
= 0 ;
19599 PyObject
* obj4
= 0 ;
19600 PyObject
* obj5
= 0 ;
19601 PyObject
* obj6
= 0 ;
19602 PyObject
* obj7
= 0 ;
19603 char * kwnames
[] = {
19604 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19609 if (!SWIG_IsOK(res1
)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19619 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19621 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19622 if (!SWIG_IsOK(res4
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19625 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19628 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19631 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19632 if (!SWIG_IsOK(ecode6
)) {
19633 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19635 arg6
= static_cast< int >(val6
);
19638 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19639 if (!SWIG_IsOK(ecode7
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19642 arg7
= static_cast< bool >(val7
);
19647 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19665 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
= 0;
19667 wxDC
*arg1
= (wxDC
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 PyObject
* obj2
= 0 ;
19685 PyObject
* obj3
= 0 ;
19686 PyObject
* obj4
= 0 ;
19687 char * kwnames
[] = {
19688 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19693 if (!SWIG_IsOK(res1
)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19698 if (!SWIG_IsOK(ecode2
)) {
19699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19701 arg2
= static_cast< int >(val2
);
19702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19703 if (!SWIG_IsOK(ecode3
)) {
19704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19706 arg3
= static_cast< int >(val3
);
19707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19708 if (!SWIG_IsOK(ecode4
)) {
19709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19711 arg4
= static_cast< int >(val4
);
19712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19713 if (!SWIG_IsOK(ecode5
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19716 arg5
= static_cast< int >(val5
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_Py_Void();
19730 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
= 0;
19732 wxDC
*arg1
= (wxDC
*) 0 ;
19733 wxPoint
*arg2
= 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 PyObject
* obj2
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "self",(char *) "pt",(char *) "sz", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19758 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_Py_Void();
19773 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
= 0;
19775 wxDC
*arg1
= (wxDC
*) 0 ;
19776 wxRegion
*arg2
= 0 ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char * kwnames
[] = {
19784 (char *) "self",(char *) "region", NULL
19787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19794 if (!SWIG_IsOK(res2
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19800 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_Py_Void();
19814 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
= 0;
19816 wxDC
*arg1
= (wxDC
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 char * kwnames
[] = {
19824 (char *) "self",(char *) "rect", NULL
19827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19829 if (!SWIG_IsOK(res1
)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19835 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= SWIG_Py_Void();
19850 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
= 0;
19852 wxDC
*arg1
= (wxDC
*) 0 ;
19854 wxPoint
*arg3
= (wxPoint
*) 0 ;
19855 int arg4
= (int) 0 ;
19856 int arg5
= (int) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 PyObject
* obj1
= 0 ;
19865 PyObject
* obj2
= 0 ;
19866 PyObject
* obj3
= 0 ;
19867 char * kwnames
[] = {
19868 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19873 if (!SWIG_IsOK(res1
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19878 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19879 if (arg3
== NULL
) SWIG_fail
;
19882 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19883 if (!SWIG_IsOK(ecode4
)) {
19884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19886 arg4
= static_cast< int >(val4
);
19889 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19890 if (!SWIG_IsOK(ecode5
)) {
19891 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19893 arg5
= static_cast< int >(val5
);
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19901 resultobj
= SWIG_Py_Void();
19903 if (arg3
) delete [] arg3
;
19908 if (arg3
) delete [] arg3
;
19914 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
= 0;
19916 wxDC
*arg1
= (wxDC
*) 0 ;
19918 wxPoint
*arg3
= (wxPoint
*) 0 ;
19919 int arg4
= (int) 0 ;
19920 int arg5
= (int) 0 ;
19921 int arg6
= (int) wxODDEVEN_RULE
;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 PyObject
* obj2
= 0 ;
19933 PyObject
* obj3
= 0 ;
19934 PyObject
* obj4
= 0 ;
19935 char * kwnames
[] = {
19936 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19941 if (!SWIG_IsOK(res1
)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19946 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19947 if (arg3
== NULL
) SWIG_fail
;
19950 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19951 if (!SWIG_IsOK(ecode4
)) {
19952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19954 arg4
= static_cast< int >(val4
);
19957 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19958 if (!SWIG_IsOK(ecode5
)) {
19959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19961 arg5
= static_cast< int >(val5
);
19964 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19965 if (!SWIG_IsOK(ecode6
)) {
19966 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19968 arg6
= static_cast< int >(val6
);
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= SWIG_Py_Void();
19978 if (arg3
) delete [] arg3
;
19983 if (arg3
) delete [] arg3
;
19989 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
= 0;
19991 wxDC
*arg1
= (wxDC
*) 0 ;
19992 wxString
*arg2
= 0 ;
19994 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19995 int arg5
= (int) -1 ;
19998 bool temp2
= false ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 PyObject
* obj2
= 0 ;
20007 PyObject
* obj3
= 0 ;
20008 PyObject
* obj4
= 0 ;
20009 char * kwnames
[] = {
20010 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20015 if (!SWIG_IsOK(res1
)) {
20016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20020 arg2
= wxString_in_helper(obj1
);
20021 if (arg2
== NULL
) SWIG_fail
;
20026 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20030 if (!SWIG_IsOK(ecode4
)) {
20031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20033 arg4
= static_cast< int >(val4
);
20036 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20037 if (!SWIG_IsOK(ecode5
)) {
20038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20040 arg5
= static_cast< int >(val5
);
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= SWIG_Py_Void();
20063 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
= 0;
20065 wxDC
*arg1
= (wxDC
*) 0 ;
20066 wxString
*arg2
= 0 ;
20067 wxBitmap
*arg3
= 0 ;
20069 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20070 int arg6
= (int) -1 ;
20074 bool temp2
= false ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 PyObject
* obj2
= 0 ;
20085 PyObject
* obj3
= 0 ;
20086 PyObject
* obj4
= 0 ;
20087 PyObject
* obj5
= 0 ;
20088 char * kwnames
[] = {
20089 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20099 arg2
= wxString_in_helper(obj1
);
20100 if (arg2
== NULL
) SWIG_fail
;
20103 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20104 if (!SWIG_IsOK(res3
)) {
20105 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20110 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20113 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20117 if (!SWIG_IsOK(ecode5
)) {
20118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20120 arg5
= static_cast< int >(val5
);
20123 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20124 if (!SWIG_IsOK(ecode6
)) {
20125 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20127 arg6
= static_cast< int >(val6
);
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20150 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
= 0;
20152 wxDC
*arg1
= (wxDC
*) 0 ;
20154 wxPoint
*arg3
= (wxPoint
*) 0 ;
20157 PyObject
* obj0
= 0 ;
20158 PyObject
* obj1
= 0 ;
20159 char * kwnames
[] = {
20160 (char *) "self",(char *) "points", NULL
20163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20165 if (!SWIG_IsOK(res1
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20170 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20171 if (arg3
== NULL
) SWIG_fail
;
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 (arg1
)->DrawSpline(arg2
,arg3
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= SWIG_Py_Void();
20181 if (arg3
) delete [] arg3
;
20186 if (arg3
) delete [] arg3
;
20192 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20193 PyObject
*resultobj
= 0;
20194 wxDC
*arg1
= (wxDC
*) 0 ;
20197 PyObject
*swig_obj
[1] ;
20199 if (!args
) SWIG_fail
;
20200 swig_obj
[0] = args
;
20201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20202 if (!SWIG_IsOK(res1
)) {
20203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= SWIG_Py_Void();
20219 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
= 0;
20221 wxDC
*arg1
= (wxDC
*) 0 ;
20222 wxString
*arg2
= 0 ;
20226 bool temp2
= false ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char * kwnames
[] = {
20230 (char *) "self",(char *) "message", NULL
20233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20235 if (!SWIG_IsOK(res1
)) {
20236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20240 arg2
= wxString_in_helper(obj1
);
20241 if (arg2
== NULL
) SWIG_fail
;
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20267 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20268 PyObject
*resultobj
= 0;
20269 wxDC
*arg1
= (wxDC
*) 0 ;
20272 PyObject
*swig_obj
[1] ;
20274 if (!args
) SWIG_fail
;
20275 swig_obj
[0] = args
;
20276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20277 if (!SWIG_IsOK(res1
)) {
20278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_Py_Void();
20294 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20295 PyObject
*resultobj
= 0;
20296 wxDC
*arg1
= (wxDC
*) 0 ;
20299 PyObject
*swig_obj
[1] ;
20301 if (!args
) SWIG_fail
;
20302 swig_obj
[0] = args
;
20303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20304 if (!SWIG_IsOK(res1
)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 (arg1
)->StartPage();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_Py_Void();
20321 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20322 PyObject
*resultobj
= 0;
20323 wxDC
*arg1
= (wxDC
*) 0 ;
20326 PyObject
*swig_obj
[1] ;
20328 if (!args
) SWIG_fail
;
20329 swig_obj
[0] = args
;
20330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20331 if (!SWIG_IsOK(res1
)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= SWIG_Py_Void();
20348 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
= 0;
20350 wxDC
*arg1
= (wxDC
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char * kwnames
[] = {
20359 (char *) "self",(char *) "font", NULL
20362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20364 if (!SWIG_IsOK(res1
)) {
20365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20369 if (!SWIG_IsOK(res2
)) {
20370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20375 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 (arg1
)->SetFont((wxFont
const &)*arg2
);
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_Py_Void();
20389 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
= 0;
20391 wxDC
*arg1
= (wxDC
*) 0 ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 char * kwnames
[] = {
20400 (char *) "self",(char *) "pen", NULL
20403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20405 if (!SWIG_IsOK(res1
)) {
20406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20410 if (!SWIG_IsOK(res2
)) {
20411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20416 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 (arg1
)->SetPen((wxPen
const &)*arg2
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= SWIG_Py_Void();
20430 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
= 0;
20432 wxDC
*arg1
= (wxDC
*) 0 ;
20433 wxBrush
*arg2
= 0 ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 char * kwnames
[] = {
20441 (char *) "self",(char *) "brush", NULL
20444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20446 if (!SWIG_IsOK(res1
)) {
20447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20451 if (!SWIG_IsOK(res2
)) {
20452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20457 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_Py_Void();
20471 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
= 0;
20473 wxDC
*arg1
= (wxDC
*) 0 ;
20474 wxBrush
*arg2
= 0 ;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 char * kwnames
[] = {
20482 (char *) "self",(char *) "brush", NULL
20485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20487 if (!SWIG_IsOK(res1
)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20491 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20492 if (!SWIG_IsOK(res2
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20498 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_Py_Void();
20512 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
= 0;
20514 wxDC
*arg1
= (wxDC
*) 0 ;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char * kwnames
[] = {
20523 (char *) "self",(char *) "mode", NULL
20526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20528 if (!SWIG_IsOK(res1
)) {
20529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20533 if (!SWIG_IsOK(ecode2
)) {
20534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20536 arg2
= static_cast< int >(val2
);
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 (arg1
)->SetBackgroundMode(arg2
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_Py_Void();
20550 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
= 0;
20552 wxDC
*arg1
= (wxDC
*) 0 ;
20553 wxPalette
*arg2
= 0 ;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 char * kwnames
[] = {
20561 (char *) "self",(char *) "palette", NULL
20564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20566 if (!SWIG_IsOK(res1
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20571 if (!SWIG_IsOK(res2
)) {
20572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20577 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= SWIG_Py_Void();
20591 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20592 PyObject
*resultobj
= 0;
20593 wxDC
*arg1
= (wxDC
*) 0 ;
20596 PyObject
*swig_obj
[1] ;
20598 if (!args
) SWIG_fail
;
20599 swig_obj
[0] = args
;
20600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20601 if (!SWIG_IsOK(res1
)) {
20602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->DestroyClippingRegion();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_Py_Void();
20618 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20619 PyObject
*resultobj
= 0;
20620 wxDC
*arg1
= (wxDC
*) 0 ;
20621 int *arg2
= (int *) 0 ;
20622 int *arg3
= (int *) 0 ;
20623 int *arg4
= (int *) 0 ;
20624 int *arg5
= (int *) 0 ;
20628 int res2
= SWIG_TMPOBJ
;
20630 int res3
= SWIG_TMPOBJ
;
20632 int res4
= SWIG_TMPOBJ
;
20634 int res5
= SWIG_TMPOBJ
;
20635 PyObject
*swig_obj
[1] ;
20641 if (!args
) SWIG_fail
;
20642 swig_obj
[0] = args
;
20643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20644 if (!SWIG_IsOK(res1
)) {
20645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= SWIG_Py_Void();
20655 if (SWIG_IsTmpObj(res2
)) {
20656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20658 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20661 if (SWIG_IsTmpObj(res3
)) {
20662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20664 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20667 if (SWIG_IsTmpObj(res4
)) {
20668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20670 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20673 if (SWIG_IsTmpObj(res5
)) {
20674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20676 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20685 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20686 PyObject
*resultobj
= 0;
20687 wxDC
*arg1
= (wxDC
*) 0 ;
20691 PyObject
*swig_obj
[1] ;
20693 if (!args
) SWIG_fail
;
20694 swig_obj
[0] = args
;
20695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20696 if (!SWIG_IsOK(res1
)) {
20697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= wxDC_GetClippingRect(arg1
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20713 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20714 PyObject
*resultobj
= 0;
20715 wxDC
*arg1
= (wxDC
*) 0 ;
20719 PyObject
*swig_obj
[1] ;
20721 if (!args
) SWIG_fail
;
20722 swig_obj
[0] = args
;
20723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20724 if (!SWIG_IsOK(res1
)) {
20725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20734 resultobj
= SWIG_From_int(static_cast< int >(result
));
20741 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20742 PyObject
*resultobj
= 0;
20743 wxDC
*arg1
= (wxDC
*) 0 ;
20747 PyObject
*swig_obj
[1] ;
20749 if (!args
) SWIG_fail
;
20750 swig_obj
[0] = args
;
20751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20752 if (!SWIG_IsOK(res1
)) {
20753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_From_int(static_cast< int >(result
));
20769 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
= 0;
20771 wxDC
*arg1
= (wxDC
*) 0 ;
20772 wxString
*arg2
= 0 ;
20773 int *arg3
= (int *) 0 ;
20774 int *arg4
= (int *) 0 ;
20777 bool temp2
= false ;
20779 int res3
= SWIG_TMPOBJ
;
20781 int res4
= SWIG_TMPOBJ
;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 char * kwnames
[] = {
20785 (char *) "self",(char *) "string", NULL
20790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20797 arg2
= wxString_in_helper(obj1
);
20798 if (arg2
== NULL
) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_Py_Void();
20808 if (SWIG_IsTmpObj(res3
)) {
20809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20811 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20814 if (SWIG_IsTmpObj(res4
)) {
20815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20817 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20834 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
= 0;
20836 wxDC
*arg1
= (wxDC
*) 0 ;
20837 wxString
*arg2
= 0 ;
20838 int *arg3
= (int *) 0 ;
20839 int *arg4
= (int *) 0 ;
20840 int *arg5
= (int *) 0 ;
20841 int *arg6
= (int *) 0 ;
20842 wxFont
*arg7
= (wxFont
*) NULL
;
20845 bool temp2
= false ;
20847 int res3
= SWIG_TMPOBJ
;
20849 int res4
= SWIG_TMPOBJ
;
20851 int res5
= SWIG_TMPOBJ
;
20853 int res6
= SWIG_TMPOBJ
;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 PyObject
* obj2
= 0 ;
20859 char * kwnames
[] = {
20860 (char *) "self",(char *) "string",(char *) "font", NULL
20867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20874 arg2
= wxString_in_helper(obj1
);
20875 if (arg2
== NULL
) SWIG_fail
;
20879 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20880 if (!SWIG_IsOK(res7
)) {
20881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20883 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_Py_Void();
20892 if (SWIG_IsTmpObj(res3
)) {
20893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20898 if (SWIG_IsTmpObj(res4
)) {
20899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20901 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20904 if (SWIG_IsTmpObj(res5
)) {
20905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20907 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20910 if (SWIG_IsTmpObj(res6
)) {
20911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20913 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20930 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
= 0;
20932 wxDC
*arg1
= (wxDC
*) 0 ;
20933 wxString
*arg2
= 0 ;
20934 int *arg3
= (int *) 0 ;
20935 int *arg4
= (int *) 0 ;
20936 int *arg5
= (int *) 0 ;
20937 wxFont
*arg6
= (wxFont
*) NULL
;
20940 bool temp2
= false ;
20942 int res3
= SWIG_TMPOBJ
;
20944 int res4
= SWIG_TMPOBJ
;
20946 int res5
= SWIG_TMPOBJ
;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 PyObject
* obj2
= 0 ;
20952 char * kwnames
[] = {
20953 (char *) "self",(char *) "text",(char *) "font", NULL
20959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20961 if (!SWIG_IsOK(res1
)) {
20962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20966 arg2
= wxString_in_helper(obj1
);
20967 if (arg2
== NULL
) SWIG_fail
;
20971 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20972 if (!SWIG_IsOK(res6
)) {
20973 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20975 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= SWIG_Py_Void();
20984 if (SWIG_IsTmpObj(res3
)) {
20985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20987 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20990 if (SWIG_IsTmpObj(res4
)) {
20991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20993 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20996 if (SWIG_IsTmpObj(res5
)) {
20997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20999 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21016 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
= 0;
21018 wxDC
*arg1
= (wxDC
*) 0 ;
21019 wxString
*arg2
= 0 ;
21023 bool temp2
= false ;
21024 PyObject
* obj0
= 0 ;
21025 PyObject
* obj1
= 0 ;
21026 char * kwnames
[] = {
21027 (char *) "self",(char *) "text", NULL
21030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21032 if (!SWIG_IsOK(res1
)) {
21033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21035 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21037 arg2
= wxString_in_helper(obj1
);
21038 if (arg2
== NULL
) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= wxArrayInt2PyList_helper(result
);
21064 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21065 PyObject
*resultobj
= 0;
21066 wxDC
*arg1
= (wxDC
*) 0 ;
21070 PyObject
*swig_obj
[1] ;
21072 if (!args
) SWIG_fail
;
21073 swig_obj
[0] = args
;
21074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21075 if (!SWIG_IsOK(res1
)) {
21076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (arg1
)->GetSize();
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21092 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21093 PyObject
*resultobj
= 0;
21094 wxDC
*arg1
= (wxDC
*) 0 ;
21095 int *arg2
= (int *) 0 ;
21096 int *arg3
= (int *) 0 ;
21100 int res2
= SWIG_TMPOBJ
;
21102 int res3
= SWIG_TMPOBJ
;
21103 PyObject
*swig_obj
[1] ;
21107 if (!args
) SWIG_fail
;
21108 swig_obj
[0] = args
;
21109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21110 if (!SWIG_IsOK(res1
)) {
21111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 (arg1
)->GetSize(arg2
,arg3
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_Py_Void();
21121 if (SWIG_IsTmpObj(res2
)) {
21122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21124 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21127 if (SWIG_IsTmpObj(res3
)) {
21128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21130 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21139 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 PyObject
*resultobj
= 0;
21141 wxDC
*arg1
= (wxDC
*) 0 ;
21145 PyObject
*swig_obj
[1] ;
21147 if (!args
) SWIG_fail
;
21148 swig_obj
[0] = args
;
21149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21150 if (!SWIG_IsOK(res1
)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21167 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21168 PyObject
*resultobj
= 0;
21169 wxDC
*arg1
= (wxDC
*) 0 ;
21170 int *arg2
= (int *) 0 ;
21171 int *arg3
= (int *) 0 ;
21175 int res2
= SWIG_TMPOBJ
;
21177 int res3
= SWIG_TMPOBJ
;
21178 PyObject
*swig_obj
[1] ;
21182 if (!args
) SWIG_fail
;
21183 swig_obj
[0] = args
;
21184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21185 if (!SWIG_IsOK(res1
)) {
21186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= SWIG_Py_Void();
21196 if (SWIG_IsTmpObj(res2
)) {
21197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21199 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21202 if (SWIG_IsTmpObj(res3
)) {
21203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21205 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21214 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
= 0;
21216 wxDC
*arg1
= (wxDC
*) 0 ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 char * kwnames
[] = {
21226 (char *) "self",(char *) "x", NULL
21229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21231 if (!SWIG_IsOK(res1
)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21234 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21236 if (!SWIG_IsOK(ecode2
)) {
21237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21239 arg2
= static_cast< int >(val2
);
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_From_int(static_cast< int >(result
));
21253 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
= 0;
21255 wxDC
*arg1
= (wxDC
*) 0 ;
21262 PyObject
* obj0
= 0 ;
21263 PyObject
* obj1
= 0 ;
21264 char * kwnames
[] = {
21265 (char *) "self",(char *) "y", NULL
21268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21270 if (!SWIG_IsOK(res1
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21275 if (!SWIG_IsOK(ecode2
)) {
21276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21278 arg2
= static_cast< int >(val2
);
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= SWIG_From_int(static_cast< int >(result
));
21292 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
= 0;
21294 wxDC
*arg1
= (wxDC
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char * kwnames
[] = {
21304 (char *) "self",(char *) "x", NULL
21307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21309 if (!SWIG_IsOK(res1
)) {
21310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21314 if (!SWIG_IsOK(ecode2
)) {
21315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21317 arg2
= static_cast< int >(val2
);
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= SWIG_From_int(static_cast< int >(result
));
21331 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21332 PyObject
*resultobj
= 0;
21333 wxDC
*arg1
= (wxDC
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21342 char * kwnames
[] = {
21343 (char *) "self",(char *) "y", NULL
21346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21348 if (!SWIG_IsOK(res1
)) {
21349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21353 if (!SWIG_IsOK(ecode2
)) {
21354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21356 arg2
= static_cast< int >(val2
);
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= SWIG_From_int(static_cast< int >(result
));
21370 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
= 0;
21372 wxDC
*arg1
= (wxDC
*) 0 ;
21379 PyObject
* obj0
= 0 ;
21380 PyObject
* obj1
= 0 ;
21381 char * kwnames
[] = {
21382 (char *) "self",(char *) "x", NULL
21385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21387 if (!SWIG_IsOK(res1
)) {
21388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21392 if (!SWIG_IsOK(ecode2
)) {
21393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21395 arg2
= static_cast< int >(val2
);
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= SWIG_From_int(static_cast< int >(result
));
21409 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
= 0;
21411 wxDC
*arg1
= (wxDC
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char * kwnames
[] = {
21421 (char *) "self",(char *) "y", NULL
21424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21426 if (!SWIG_IsOK(res1
)) {
21427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21431 if (!SWIG_IsOK(ecode2
)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21434 arg2
= static_cast< int >(val2
);
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= SWIG_From_int(static_cast< int >(result
));
21448 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
= 0;
21450 wxDC
*arg1
= (wxDC
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 char * kwnames
[] = {
21460 (char *) "self",(char *) "x", NULL
21463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21465 if (!SWIG_IsOK(res1
)) {
21466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21470 if (!SWIG_IsOK(ecode2
)) {
21471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21473 arg2
= static_cast< int >(val2
);
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 resultobj
= SWIG_From_int(static_cast< int >(result
));
21487 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21488 PyObject
*resultobj
= 0;
21489 wxDC
*arg1
= (wxDC
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 char * kwnames
[] = {
21499 (char *) "self",(char *) "y", NULL
21502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21504 if (!SWIG_IsOK(res1
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21509 if (!SWIG_IsOK(ecode2
)) {
21510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21512 arg2
= static_cast< int >(val2
);
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_From_int(static_cast< int >(result
));
21526 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21527 PyObject
*resultobj
= 0;
21528 wxDC
*arg1
= (wxDC
*) 0 ;
21532 PyObject
*swig_obj
[1] ;
21534 if (!args
) SWIG_fail
;
21535 swig_obj
[0] = args
;
21536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21537 if (!SWIG_IsOK(res1
)) {
21538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21556 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21557 PyObject
*resultobj
= 0;
21558 wxDC
*arg1
= (wxDC
*) 0 ;
21562 PyObject
*swig_obj
[1] ;
21564 if (!args
) SWIG_fail
;
21565 swig_obj
[0] = args
;
21566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21567 if (!SWIG_IsOK(res1
)) {
21568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21586 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21587 PyObject
*resultobj
= 0;
21588 wxDC
*arg1
= (wxDC
*) 0 ;
21592 PyObject
*swig_obj
[1] ;
21594 if (!args
) SWIG_fail
;
21595 swig_obj
[0] = args
;
21596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21597 if (!SWIG_IsOK(res1
)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_From_int(static_cast< int >(result
));
21614 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21615 PyObject
*resultobj
= 0;
21616 wxDC
*arg1
= (wxDC
*) 0 ;
21620 PyObject
*swig_obj
[1] ;
21622 if (!args
) SWIG_fail
;
21623 swig_obj
[0] = args
;
21624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21625 if (!SWIG_IsOK(res1
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 result
= ((wxDC
const *)arg1
)->GetPPI();
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21642 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21643 PyObject
*resultobj
= 0;
21644 wxDC
*arg1
= (wxDC
*) 0 ;
21648 PyObject
*swig_obj
[1] ;
21650 if (!args
) SWIG_fail
;
21651 swig_obj
[0] = args
;
21652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21672 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21673 PyObject
*resultobj
= 0;
21674 wxDC
*arg1
= (wxDC
*) 0 ;
21678 PyObject
*swig_obj
[1] ;
21680 if (!args
) SWIG_fail
;
21681 swig_obj
[0] = args
;
21682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21683 if (!SWIG_IsOK(res1
)) {
21684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21686 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_From_int(static_cast< int >(result
));
21700 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21701 PyObject
*resultobj
= 0;
21702 wxDC
*arg1
= (wxDC
*) 0 ;
21703 wxBrush
*result
= 0 ;
21706 PyObject
*swig_obj
[1] ;
21708 if (!args
) SWIG_fail
;
21709 swig_obj
[0] = args
;
21710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21711 if (!SWIG_IsOK(res1
)) {
21712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21719 result
= (wxBrush
*) &_result_ref
;
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21725 wxBrush
* resultptr
= new wxBrush(*result
);
21726 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21734 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21735 PyObject
*resultobj
= 0;
21736 wxDC
*arg1
= (wxDC
*) 0 ;
21737 wxBrush
*result
= 0 ;
21740 PyObject
*swig_obj
[1] ;
21742 if (!args
) SWIG_fail
;
21743 swig_obj
[0] = args
;
21744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21745 if (!SWIG_IsOK(res1
)) {
21746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21753 result
= (wxBrush
*) &_result_ref
;
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21759 wxBrush
* resultptr
= new wxBrush(*result
);
21760 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21768 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21769 PyObject
*resultobj
= 0;
21770 wxDC
*arg1
= (wxDC
*) 0 ;
21771 wxFont
*result
= 0 ;
21774 PyObject
*swig_obj
[1] ;
21776 if (!args
) SWIG_fail
;
21777 swig_obj
[0] = args
;
21778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21779 if (!SWIG_IsOK(res1
)) {
21780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21787 result
= (wxFont
*) &_result_ref
;
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21793 wxFont
* resultptr
= new wxFont(*result
);
21794 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21802 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21803 PyObject
*resultobj
= 0;
21804 wxDC
*arg1
= (wxDC
*) 0 ;
21805 wxPen
*result
= 0 ;
21808 PyObject
*swig_obj
[1] ;
21810 if (!args
) SWIG_fail
;
21811 swig_obj
[0] = args
;
21812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21813 if (!SWIG_IsOK(res1
)) {
21814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21821 result
= (wxPen
*) &_result_ref
;
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 wxPen
* resultptr
= new wxPen(*result
);
21828 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21836 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21837 PyObject
*resultobj
= 0;
21838 wxDC
*arg1
= (wxDC
*) 0 ;
21839 wxColour
*result
= 0 ;
21842 PyObject
*swig_obj
[1] ;
21844 if (!args
) SWIG_fail
;
21845 swig_obj
[0] = args
;
21846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21847 if (!SWIG_IsOK(res1
)) {
21848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21855 result
= (wxColour
*) &_result_ref
;
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21867 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21868 PyObject
*resultobj
= 0;
21869 wxDC
*arg1
= (wxDC
*) 0 ;
21870 wxColour
*result
= 0 ;
21873 PyObject
*swig_obj
[1] ;
21875 if (!args
) SWIG_fail
;
21876 swig_obj
[0] = args
;
21877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21886 result
= (wxColour
*) &_result_ref
;
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21898 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
= 0;
21900 wxDC
*arg1
= (wxDC
*) 0 ;
21901 wxColour
*arg2
= 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char * kwnames
[] = {
21908 (char *) "self",(char *) "colour", NULL
21911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21913 if (!SWIG_IsOK(res1
)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= SWIG_Py_Void();
21934 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
= 0;
21936 wxDC
*arg1
= (wxDC
*) 0 ;
21937 wxColour
*arg2
= 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char * kwnames
[] = {
21944 (char *) "self",(char *) "colour", NULL
21947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21949 if (!SWIG_IsOK(res1
)) {
21950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21955 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_Py_Void();
21970 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21971 PyObject
*resultobj
= 0;
21972 wxDC
*arg1
= (wxDC
*) 0 ;
21976 PyObject
*swig_obj
[1] ;
21978 if (!args
) SWIG_fail
;
21979 swig_obj
[0] = args
;
21980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21981 if (!SWIG_IsOK(res1
)) {
21982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_From_int(static_cast< int >(result
));
21998 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
= 0;
22000 wxDC
*arg1
= (wxDC
*) 0 ;
22006 PyObject
* obj0
= 0 ;
22007 PyObject
* obj1
= 0 ;
22008 char * kwnames
[] = {
22009 (char *) "self",(char *) "mode", NULL
22012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22014 if (!SWIG_IsOK(res1
)) {
22015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22019 if (!SWIG_IsOK(ecode2
)) {
22020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22022 arg2
= static_cast< int >(val2
);
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 (arg1
)->SetMapMode(arg2
);
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 resultobj
= SWIG_Py_Void();
22036 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22037 PyObject
*resultobj
= 0;
22038 wxDC
*arg1
= (wxDC
*) 0 ;
22039 double *arg2
= (double *) 0 ;
22040 double *arg3
= (double *) 0 ;
22044 int res2
= SWIG_TMPOBJ
;
22046 int res3
= SWIG_TMPOBJ
;
22047 PyObject
*swig_obj
[1] ;
22051 if (!args
) SWIG_fail
;
22052 swig_obj
[0] = args
;
22053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22054 if (!SWIG_IsOK(res1
)) {
22055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_Py_Void();
22065 if (SWIG_IsTmpObj(res2
)) {
22066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22068 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22071 if (SWIG_IsTmpObj(res3
)) {
22072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22074 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22083 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
= 0;
22085 wxDC
*arg1
= (wxDC
*) 0 ;
22094 PyObject
* obj0
= 0 ;
22095 PyObject
* obj1
= 0 ;
22096 PyObject
* obj2
= 0 ;
22097 char * kwnames
[] = {
22098 (char *) "self",(char *) "x",(char *) "y", NULL
22101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22103 if (!SWIG_IsOK(res1
)) {
22104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22107 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22108 if (!SWIG_IsOK(ecode2
)) {
22109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22111 arg2
= static_cast< double >(val2
);
22112 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22113 if (!SWIG_IsOK(ecode3
)) {
22114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22116 arg3
= static_cast< double >(val3
);
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 (arg1
)->SetUserScale(arg2
,arg3
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= SWIG_Py_Void();
22130 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22131 PyObject
*resultobj
= 0;
22132 wxDC
*arg1
= (wxDC
*) 0 ;
22133 double *arg2
= (double *) 0 ;
22134 double *arg3
= (double *) 0 ;
22138 int res2
= SWIG_TMPOBJ
;
22140 int res3
= SWIG_TMPOBJ
;
22141 PyObject
*swig_obj
[1] ;
22145 if (!args
) SWIG_fail
;
22146 swig_obj
[0] = args
;
22147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22148 if (!SWIG_IsOK(res1
)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->GetLogicalScale(arg2
,arg3
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= SWIG_Py_Void();
22159 if (SWIG_IsTmpObj(res2
)) {
22160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22162 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22165 if (SWIG_IsTmpObj(res3
)) {
22166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22168 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22177 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
= 0;
22179 wxDC
*arg1
= (wxDC
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 PyObject
* obj2
= 0 ;
22191 char * kwnames
[] = {
22192 (char *) "self",(char *) "x",(char *) "y", NULL
22195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22197 if (!SWIG_IsOK(res1
)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22201 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22202 if (!SWIG_IsOK(ecode2
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22205 arg2
= static_cast< double >(val2
);
22206 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22207 if (!SWIG_IsOK(ecode3
)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22210 arg3
= static_cast< double >(val3
);
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 (arg1
)->SetLogicalScale(arg2
,arg3
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_Py_Void();
22224 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22225 PyObject
*resultobj
= 0;
22226 wxDC
*arg1
= (wxDC
*) 0 ;
22230 PyObject
*swig_obj
[1] ;
22232 if (!args
) SWIG_fail
;
22233 swig_obj
[0] = args
;
22234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22252 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22253 PyObject
*resultobj
= 0;
22254 wxDC
*arg1
= (wxDC
*) 0 ;
22255 int *arg2
= (int *) 0 ;
22256 int *arg3
= (int *) 0 ;
22260 int res2
= SWIG_TMPOBJ
;
22262 int res3
= SWIG_TMPOBJ
;
22263 PyObject
*swig_obj
[1] ;
22267 if (!args
) SWIG_fail
;
22268 swig_obj
[0] = args
;
22269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22270 if (!SWIG_IsOK(res1
)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 resultobj
= SWIG_Py_Void();
22281 if (SWIG_IsTmpObj(res2
)) {
22282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22284 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22287 if (SWIG_IsTmpObj(res3
)) {
22288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22290 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22299 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
= 0;
22301 wxDC
*arg1
= (wxDC
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 PyObject
* obj2
= 0 ;
22313 char * kwnames
[] = {
22314 (char *) "self",(char *) "x",(char *) "y", NULL
22317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22324 if (!SWIG_IsOK(ecode2
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22327 arg2
= static_cast< int >(val2
);
22328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22329 if (!SWIG_IsOK(ecode3
)) {
22330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22332 arg3
= static_cast< int >(val3
);
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22335 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= SWIG_Py_Void();
22346 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
= 0;
22348 wxDC
*arg1
= (wxDC
*) 0 ;
22349 wxPoint
*arg2
= 0 ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 char * kwnames
[] = {
22356 (char *) "self",(char *) "point", NULL
22359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22367 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= SWIG_Py_Void();
22382 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22383 PyObject
*resultobj
= 0;
22384 wxDC
*arg1
= (wxDC
*) 0 ;
22388 PyObject
*swig_obj
[1] ;
22390 if (!args
) SWIG_fail
;
22391 swig_obj
[0] = args
;
22392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22393 if (!SWIG_IsOK(res1
)) {
22394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22410 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22411 PyObject
*resultobj
= 0;
22412 wxDC
*arg1
= (wxDC
*) 0 ;
22413 int *arg2
= (int *) 0 ;
22414 int *arg3
= (int *) 0 ;
22418 int res2
= SWIG_TMPOBJ
;
22420 int res3
= SWIG_TMPOBJ
;
22421 PyObject
*swig_obj
[1] ;
22425 if (!args
) SWIG_fail
;
22426 swig_obj
[0] = args
;
22427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22428 if (!SWIG_IsOK(res1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 resultobj
= SWIG_Py_Void();
22439 if (SWIG_IsTmpObj(res2
)) {
22440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22442 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22445 if (SWIG_IsTmpObj(res3
)) {
22446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22448 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22457 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
= 0;
22459 wxDC
*arg1
= (wxDC
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 PyObject
* obj2
= 0 ;
22471 char * kwnames
[] = {
22472 (char *) "self",(char *) "x",(char *) "y", NULL
22475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22477 if (!SWIG_IsOK(res1
)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22480 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22482 if (!SWIG_IsOK(ecode2
)) {
22483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22485 arg2
= static_cast< int >(val2
);
22486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22487 if (!SWIG_IsOK(ecode3
)) {
22488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22490 arg3
= static_cast< int >(val3
);
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22494 wxPyEndAllowThreads(__tstate
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= SWIG_Py_Void();
22504 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22505 PyObject
*resultobj
= 0;
22506 wxDC
*arg1
= (wxDC
*) 0 ;
22507 wxPoint
*arg2
= 0 ;
22511 PyObject
* obj0
= 0 ;
22512 PyObject
* obj1
= 0 ;
22513 char * kwnames
[] = {
22514 (char *) "self",(char *) "point", NULL
22517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22519 if (!SWIG_IsOK(res1
)) {
22520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= SWIG_Py_Void();
22540 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
= 0;
22542 wxDC
*arg1
= (wxDC
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 PyObject
* obj2
= 0 ;
22554 char * kwnames
[] = {
22555 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22560 if (!SWIG_IsOK(res1
)) {
22561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22564 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22565 if (!SWIG_IsOK(ecode2
)) {
22566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22568 arg2
= static_cast< bool >(val2
);
22569 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22570 if (!SWIG_IsOK(ecode3
)) {
22571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22573 arg3
= static_cast< bool >(val3
);
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_Py_Void();
22587 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22588 PyObject
*resultobj
= 0;
22589 wxDC
*arg1
= (wxDC
*) 0 ;
22593 PyObject
*swig_obj
[1] ;
22595 if (!args
) SWIG_fail
;
22596 swig_obj
[0] = args
;
22597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_From_int(static_cast< int >(result
));
22615 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
= 0;
22617 wxDC
*arg1
= (wxDC
*) 0 ;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22625 char * kwnames
[] = {
22626 (char *) "self",(char *) "function", NULL
22629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22631 if (!SWIG_IsOK(res1
)) {
22632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22636 if (!SWIG_IsOK(ecode2
)) {
22637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22639 arg2
= static_cast< int >(val2
);
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 (arg1
)->SetLogicalFunction(arg2
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_Py_Void();
22653 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22654 PyObject
*resultobj
= 0;
22655 wxDC
*arg1
= (wxDC
*) 0 ;
22658 PyObject
*swig_obj
[1] ;
22660 if (!args
) SWIG_fail
;
22661 swig_obj
[0] = args
;
22662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22663 if (!SWIG_IsOK(res1
)) {
22664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->ComputeScaleAndOrigin();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_Py_Void();
22680 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
= 0;
22682 wxDC
*arg1
= (wxDC
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 PyObject
* obj2
= 0 ;
22694 char * kwnames
[] = {
22695 (char *) "self",(char *) "x",(char *) "y", NULL
22698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22705 if (!SWIG_IsOK(ecode2
)) {
22706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22708 arg2
= static_cast< int >(val2
);
22709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22710 if (!SWIG_IsOK(ecode3
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22713 arg3
= static_cast< int >(val3
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_Py_Void();
22727 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
= 0;
22729 wxDC
*arg1
= (wxDC
*) 0 ;
22730 wxPoint
*arg2
= 0 ;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22736 char * kwnames
[] = {
22737 (char *) "self",(char *) "point", NULL
22740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22742 if (!SWIG_IsOK(res1
)) {
22743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 resultobj
= SWIG_Py_Void();
22763 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22764 PyObject
*resultobj
= 0;
22765 wxDC
*arg1
= (wxDC
*) 0 ;
22768 PyObject
*swig_obj
[1] ;
22770 if (!args
) SWIG_fail
;
22771 swig_obj
[0] = args
;
22772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 (arg1
)->ResetBoundingBox();
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_Py_Void();
22790 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22791 PyObject
*resultobj
= 0;
22792 wxDC
*arg1
= (wxDC
*) 0 ;
22796 PyObject
*swig_obj
[1] ;
22798 if (!args
) SWIG_fail
;
22799 swig_obj
[0] = args
;
22800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (int)((wxDC
const *)arg1
)->MinX();
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_From_int(static_cast< int >(result
));
22818 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22819 PyObject
*resultobj
= 0;
22820 wxDC
*arg1
= (wxDC
*) 0 ;
22824 PyObject
*swig_obj
[1] ;
22826 if (!args
) SWIG_fail
;
22827 swig_obj
[0] = args
;
22828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22829 if (!SWIG_IsOK(res1
)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (int)((wxDC
const *)arg1
)->MaxX();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= SWIG_From_int(static_cast< int >(result
));
22846 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22847 PyObject
*resultobj
= 0;
22848 wxDC
*arg1
= (wxDC
*) 0 ;
22852 PyObject
*swig_obj
[1] ;
22854 if (!args
) SWIG_fail
;
22855 swig_obj
[0] = args
;
22856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22857 if (!SWIG_IsOK(res1
)) {
22858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= (int)((wxDC
const *)arg1
)->MinY();
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 resultobj
= SWIG_From_int(static_cast< int >(result
));
22874 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22875 PyObject
*resultobj
= 0;
22876 wxDC
*arg1
= (wxDC
*) 0 ;
22880 PyObject
*swig_obj
[1] ;
22882 if (!args
) SWIG_fail
;
22883 swig_obj
[0] = args
;
22884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22885 if (!SWIG_IsOK(res1
)) {
22886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= (int)((wxDC
const *)arg1
)->MaxY();
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_From_int(static_cast< int >(result
));
22902 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22903 PyObject
*resultobj
= 0;
22904 wxDC
*arg1
= (wxDC
*) 0 ;
22905 int *arg2
= (int *) 0 ;
22906 int *arg3
= (int *) 0 ;
22907 int *arg4
= (int *) 0 ;
22908 int *arg5
= (int *) 0 ;
22912 int res2
= SWIG_TMPOBJ
;
22914 int res3
= SWIG_TMPOBJ
;
22916 int res4
= SWIG_TMPOBJ
;
22918 int res5
= SWIG_TMPOBJ
;
22919 PyObject
*swig_obj
[1] ;
22925 if (!args
) SWIG_fail
;
22926 swig_obj
[0] = args
;
22927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_Py_Void();
22939 if (SWIG_IsTmpObj(res2
)) {
22940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22942 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22945 if (SWIG_IsTmpObj(res3
)) {
22946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22948 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22951 if (SWIG_IsTmpObj(res4
)) {
22952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22954 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22957 if (SWIG_IsTmpObj(res5
)) {
22958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22960 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22969 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22970 PyObject
*resultobj
= 0;
22971 wxDC
*arg1
= (wxDC
*) 0 ;
22972 wxLayoutDirection result
;
22975 PyObject
*swig_obj
[1] ;
22977 if (!args
) SWIG_fail
;
22978 swig_obj
[0] = args
;
22979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22980 if (!SWIG_IsOK(res1
)) {
22981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= SWIG_From_int(static_cast< int >(result
));
22997 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
= 0;
22999 wxDC
*arg1
= (wxDC
*) 0 ;
23000 wxLayoutDirection arg2
;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 char * kwnames
[] = {
23008 (char *) "self",(char *) "dir", NULL
23011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23013 if (!SWIG_IsOK(res1
)) {
23014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23018 if (!SWIG_IsOK(ecode2
)) {
23019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23021 arg2
= static_cast< wxLayoutDirection
>(val2
);
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 (arg1
)->SetLayoutDirection(arg2
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= SWIG_Py_Void();
23035 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
= 0;
23037 wxDC
*arg1
= (wxDC
*) 0 ;
23038 PyObject
*arg2
= (PyObject
*) 0 ;
23039 PyObject
*arg3
= (PyObject
*) 0 ;
23040 PyObject
*arg4
= (PyObject
*) 0 ;
23041 PyObject
*result
= 0 ;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 PyObject
* obj2
= 0 ;
23047 PyObject
* obj3
= 0 ;
23048 char * kwnames
[] = {
23049 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23054 if (!SWIG_IsOK(res1
)) {
23055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= result
;
23074 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23075 PyObject
*resultobj
= 0;
23076 wxDC
*arg1
= (wxDC
*) 0 ;
23077 PyObject
*arg2
= (PyObject
*) 0 ;
23078 PyObject
*arg3
= (PyObject
*) 0 ;
23079 PyObject
*arg4
= (PyObject
*) 0 ;
23080 PyObject
*result
= 0 ;
23083 PyObject
* obj0
= 0 ;
23084 PyObject
* obj1
= 0 ;
23085 PyObject
* obj2
= 0 ;
23086 PyObject
* obj3
= 0 ;
23087 char * kwnames
[] = {
23088 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23093 if (!SWIG_IsOK(res1
)) {
23094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= result
;
23113 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
= 0;
23115 wxDC
*arg1
= (wxDC
*) 0 ;
23116 PyObject
*arg2
= (PyObject
*) 0 ;
23117 PyObject
*arg3
= (PyObject
*) 0 ;
23118 PyObject
*arg4
= (PyObject
*) 0 ;
23119 PyObject
*result
= 0 ;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 PyObject
* obj2
= 0 ;
23125 PyObject
* obj3
= 0 ;
23126 char * kwnames
[] = {
23127 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23132 if (!SWIG_IsOK(res1
)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= result
;
23152 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
= 0;
23154 wxDC
*arg1
= (wxDC
*) 0 ;
23155 PyObject
*arg2
= (PyObject
*) 0 ;
23156 PyObject
*arg3
= (PyObject
*) 0 ;
23157 PyObject
*arg4
= (PyObject
*) 0 ;
23158 PyObject
*result
= 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 PyObject
* obj2
= 0 ;
23164 PyObject
* obj3
= 0 ;
23165 char * kwnames
[] = {
23166 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23171 if (!SWIG_IsOK(res1
)) {
23172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 resultobj
= result
;
23191 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
= 0;
23193 wxDC
*arg1
= (wxDC
*) 0 ;
23194 PyObject
*arg2
= (PyObject
*) 0 ;
23195 PyObject
*arg3
= (PyObject
*) 0 ;
23196 PyObject
*arg4
= (PyObject
*) 0 ;
23197 PyObject
*result
= 0 ;
23200 PyObject
* obj0
= 0 ;
23201 PyObject
* obj1
= 0 ;
23202 PyObject
* obj2
= 0 ;
23203 PyObject
* obj3
= 0 ;
23204 char * kwnames
[] = {
23205 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23210 if (!SWIG_IsOK(res1
)) {
23211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= result
;
23230 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
= 0;
23232 wxDC
*arg1
= (wxDC
*) 0 ;
23233 PyObject
*arg2
= (PyObject
*) 0 ;
23234 PyObject
*arg3
= (PyObject
*) 0 ;
23235 PyObject
*arg4
= (PyObject
*) 0 ;
23236 PyObject
*arg5
= (PyObject
*) 0 ;
23237 PyObject
*result
= 0 ;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 PyObject
* obj2
= 0 ;
23243 PyObject
* obj3
= 0 ;
23244 PyObject
* obj4
= 0 ;
23245 char * kwnames
[] = {
23246 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23251 if (!SWIG_IsOK(res1
)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= result
;
23272 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23275 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23276 return SWIG_Py_Void();
23279 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
= 0;
23282 wxColour
*arg2
= 0 ;
23283 wxDCTextColourChanger
*result
= 0 ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 char * kwnames
[] = {
23290 (char *) "dc",(char *) "col", NULL
23293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23294 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23295 if (!SWIG_IsOK(res1
)) {
23296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23319 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23320 PyObject
*resultobj
= 0;
23321 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23332 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_Py_Void();
23347 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23350 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23351 return SWIG_Py_Void();
23354 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23355 return SWIG_Python_InitShadowInstance(args
);
23358 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
= 0;
23362 wxDCPenChanger
*result
= 0 ;
23367 PyObject
* obj0
= 0 ;
23368 PyObject
* obj1
= 0 ;
23369 char * kwnames
[] = {
23370 (char *) "dc",(char *) "pen", NULL
23373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23374 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23375 if (!SWIG_IsOK(res1
)) {
23376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23383 if (!SWIG_IsOK(res2
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23389 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23403 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23404 PyObject
*resultobj
= 0;
23405 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23408 PyObject
*swig_obj
[1] ;
23410 if (!args
) SWIG_fail
;
23411 swig_obj
[0] = args
;
23412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23413 if (!SWIG_IsOK(res1
)) {
23414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23416 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= SWIG_Py_Void();
23431 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23434 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23435 return SWIG_Py_Void();
23438 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23439 return SWIG_Python_InitShadowInstance(args
);
23442 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
= 0;
23445 wxBrush
*arg2
= 0 ;
23446 wxDCBrushChanger
*result
= 0 ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char * kwnames
[] = {
23454 (char *) "dc",(char *) "brush", NULL
23457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23458 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23459 if (!SWIG_IsOK(res1
)) {
23460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23467 if (!SWIG_IsOK(res2
)) {
23468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23473 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23487 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23488 PyObject
*resultobj
= 0;
23489 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23492 PyObject
*swig_obj
[1] ;
23494 if (!args
) SWIG_fail
;
23495 swig_obj
[0] = args
;
23496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23500 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= SWIG_Py_Void();
23515 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23518 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23519 return SWIG_Py_Void();
23522 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23523 return SWIG_Python_InitShadowInstance(args
);
23526 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23527 PyObject
*resultobj
= 0;
23529 wxRegion
*arg2
= 0 ;
23530 wxDCClipper
*result
= 0 ;
23536 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23538 if (!SWIG_IsOK(res1
)) {
23539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23545 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23546 if (!SWIG_IsOK(res2
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23552 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23566 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23567 PyObject
*resultobj
= 0;
23570 wxDCClipper
*result
= 0 ;
23575 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23577 if (!SWIG_IsOK(res1
)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23586 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23601 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23602 PyObject
*resultobj
= 0;
23608 wxDCClipper
*result
= 0 ;
23620 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23622 if (!SWIG_IsOK(res1
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23629 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23630 if (!SWIG_IsOK(ecode2
)) {
23631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23633 arg2
= static_cast< int >(val2
);
23634 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23635 if (!SWIG_IsOK(ecode3
)) {
23636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23638 arg3
= static_cast< int >(val3
);
23639 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23640 if (!SWIG_IsOK(ecode4
)) {
23641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23643 arg4
= static_cast< int >(val4
);
23644 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23645 if (!SWIG_IsOK(ecode5
)) {
23646 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23648 arg5
= static_cast< int >(val5
);
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23662 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23666 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23671 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23672 _v
= SWIG_CheckState(res
);
23674 if (!_v
) goto check_1
;
23675 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23680 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23683 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23687 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23692 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23693 PyObject
*resultobj
= 0;
23694 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23697 PyObject
*swig_obj
[1] ;
23699 if (!args
) SWIG_fail
;
23700 swig_obj
[0] = args
;
23701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23702 if (!SWIG_IsOK(res1
)) {
23703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23705 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_Py_Void();
23720 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23723 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23724 return SWIG_Py_Void();
23727 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23728 return SWIG_Python_InitShadowInstance(args
);
23731 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
= 0;
23733 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23734 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23735 wxMemoryDC
*result
= 0 ;
23738 PyObject
* obj0
= 0 ;
23739 char * kwnames
[] = {
23740 (char *) "bitmap", NULL
23743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23745 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23746 if (!SWIG_IsOK(res1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23752 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23755 if (!wxPyCheckForApp()) SWIG_fail
;
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23768 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
= 0;
23770 wxDC
*arg1
= (wxDC
*) 0 ;
23771 wxMemoryDC
*result
= 0 ;
23774 PyObject
* obj0
= 0 ;
23775 char * kwnames
[] = {
23776 (char *) "oldDC", NULL
23779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23781 if (!SWIG_IsOK(res1
)) {
23782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23786 if (!wxPyCheckForApp()) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23799 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
= 0;
23801 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23802 wxBitmap
*arg2
= 0 ;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 char * kwnames
[] = {
23810 (char *) "self",(char *) "bitmap", NULL
23813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23815 if (!SWIG_IsOK(res1
)) {
23816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23818 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23820 if (!SWIG_IsOK(res2
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23826 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_Py_Void();
23840 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23843 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23844 return SWIG_Py_Void();
23847 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23848 return SWIG_Python_InitShadowInstance(args
);
23851 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23852 PyObject
*resultobj
= 0;
23853 wxScreenDC
*result
= 0 ;
23855 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23857 if (!wxPyCheckForApp()) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (wxScreenDC
*)new wxScreenDC();
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23870 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
= 0;
23872 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23873 wxWindow
*arg2
= (wxWindow
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 PyObject
* obj1
= 0 ;
23881 char * kwnames
[] = {
23882 (char *) "self",(char *) "window", NULL
23885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23887 if (!SWIG_IsOK(res1
)) {
23888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23890 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23892 if (!SWIG_IsOK(res2
)) {
23893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23911 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
= 0;
23913 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23914 wxRect
*arg2
= (wxRect
*) NULL
;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 char * kwnames
[] = {
23923 (char *) "self",(char *) "rect", NULL
23926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23931 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23934 if (!SWIG_IsOK(res2
)) {
23935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23937 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23954 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23955 PyObject
*resultobj
= 0;
23956 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23960 PyObject
*swig_obj
[1] ;
23962 if (!args
) SWIG_fail
;
23963 swig_obj
[0] = args
;
23964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23965 if (!SWIG_IsOK(res1
)) {
23966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23968 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 result
= (bool)(arg1
)->EndDrawingOnTop();
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23984 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23987 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23988 return SWIG_Py_Void();
23991 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23992 return SWIG_Python_InitShadowInstance(args
);
23995 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
= 0;
23997 wxWindow
*arg1
= (wxWindow
*) 0 ;
23998 wxWindowDC
*result
= 0 ;
24001 PyObject
* obj0
= 0 ;
24002 char * kwnames
[] = {
24003 (char *) "win", NULL
24006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24008 if (!SWIG_IsOK(res1
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24011 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24013 if (!wxPyCheckForApp()) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24026 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24029 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24030 return SWIG_Py_Void();
24033 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24034 return SWIG_Python_InitShadowInstance(args
);
24037 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
= 0;
24039 wxWindow
*arg1
= (wxWindow
*) 0 ;
24040 wxClientDC
*result
= 0 ;
24043 PyObject
* obj0
= 0 ;
24044 char * kwnames
[] = {
24045 (char *) "win", NULL
24048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24050 if (!SWIG_IsOK(res1
)) {
24051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24053 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24055 if (!wxPyCheckForApp()) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (wxClientDC
*)new wxClientDC(arg1
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24068 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24071 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24072 return SWIG_Py_Void();
24075 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24076 return SWIG_Python_InitShadowInstance(args
);
24079 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
= 0;
24081 wxWindow
*arg1
= (wxWindow
*) 0 ;
24082 wxPaintDC
*result
= 0 ;
24085 PyObject
* obj0
= 0 ;
24086 char * kwnames
[] = {
24087 (char *) "win", NULL
24090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24092 if (!SWIG_IsOK(res1
)) {
24093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24097 if (!wxPyCheckForApp()) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24110 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24113 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24114 return SWIG_Py_Void();
24117 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24118 return SWIG_Python_InitShadowInstance(args
);
24121 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24122 PyObject
*resultobj
= 0;
24123 wxDC
*arg1
= (wxDC
*) 0 ;
24124 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24125 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24126 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24127 wxBufferedDC
*result
= 0 ;
24135 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24137 if (!SWIG_IsOK(res1
)) {
24138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24142 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24143 if (!SWIG_IsOK(res2
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24149 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24152 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24153 if (!SWIG_IsOK(ecode3
)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24156 arg3
= static_cast< int >(val3
);
24159 if (!wxPyCheckForApp()) SWIG_fail
;
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24172 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24173 PyObject
*resultobj
= 0;
24174 wxDC
*arg1
= (wxDC
*) 0 ;
24176 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24177 wxBufferedDC
*result
= 0 ;
24184 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24186 if (!SWIG_IsOK(res1
)) {
24187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24192 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24195 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24196 if (!SWIG_IsOK(ecode3
)) {
24197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24199 arg3
= static_cast< int >(val3
);
24202 if (!wxPyCheckForApp()) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24215 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24219 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24221 if ((argc
>= 1) && (argc
<= 3)) {
24225 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24226 _v
= SWIG_CheckState(res
);
24228 if (!_v
) goto check_1
;
24230 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24234 if ((argc
>= 2) && (argc
<= 3)) {
24235 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24239 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24244 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24245 PyObject
*resultobj
= 0;
24246 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24249 PyObject
*swig_obj
[1] ;
24251 if (!args
) SWIG_fail
;
24252 swig_obj
[0] = args
;
24253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24254 if (!SWIG_IsOK(res1
)) {
24255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24257 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= SWIG_Py_Void();
24272 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24273 PyObject
*resultobj
= 0;
24274 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24277 PyObject
*swig_obj
[1] ;
24279 if (!args
) SWIG_fail
;
24280 swig_obj
[0] = args
;
24281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24282 if (!SWIG_IsOK(res1
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24285 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= SWIG_Py_Void();
24299 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24302 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24303 return SWIG_Py_Void();
24306 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24307 return SWIG_Python_InitShadowInstance(args
);
24310 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
= 0;
24312 wxWindow
*arg1
= (wxWindow
*) 0 ;
24313 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24314 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24315 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24316 wxBufferedPaintDC
*result
= 0 ;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 PyObject
* obj2
= 0 ;
24326 char * kwnames
[] = {
24327 (char *) "window",(char *) "buffer",(char *) "style", NULL
24330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24332 if (!SWIG_IsOK(res1
)) {
24333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24338 if (!SWIG_IsOK(res2
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24344 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24348 if (!SWIG_IsOK(ecode3
)) {
24349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24351 arg3
= static_cast< int >(val3
);
24354 if (!wxPyCheckForApp()) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24367 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24369 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24370 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24371 return SWIG_Py_Void();
24374 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24375 return SWIG_Python_InitShadowInstance(args
);
24378 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
= 0;
24380 wxWindow
*arg1
= (wxWindow
*) 0 ;
24381 wxAutoBufferedPaintDC
*result
= 0 ;
24384 PyObject
* obj0
= 0 ;
24385 char * kwnames
[] = {
24386 (char *) "win", NULL
24389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24391 if (!SWIG_IsOK(res1
)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24394 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24408 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24411 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24412 return SWIG_Py_Void();
24415 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24416 return SWIG_Python_InitShadowInstance(args
);
24419 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
= 0;
24421 wxWindow
*arg1
= (wxWindow
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 char * kwnames
[] = {
24427 (char *) "window", NULL
24430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24432 if (!SWIG_IsOK(res1
)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24435 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24451 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
= 0;
24455 wxMirrorDC
*result
= 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char * kwnames
[] = {
24463 (char *) "dc",(char *) "mirror", NULL
24466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24467 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24475 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24476 if (!SWIG_IsOK(ecode2
)) {
24477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24479 arg2
= static_cast< bool >(val2
);
24481 if (!wxPyCheckForApp()) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24494 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24497 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24498 return SWIG_Py_Void();
24501 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24502 return SWIG_Python_InitShadowInstance(args
);
24505 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
= 0;
24507 wxPrintData
*arg1
= 0 ;
24508 wxPostScriptDC
*result
= 0 ;
24511 PyObject
* obj0
= 0 ;
24512 char * kwnames
[] = {
24513 (char *) "printData", NULL
24516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24517 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24518 if (!SWIG_IsOK(res1
)) {
24519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24524 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24526 if (!wxPyCheckForApp()) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24539 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24540 PyObject
*resultobj
= 0;
24541 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24542 wxPrintData
*result
= 0 ;
24545 PyObject
*swig_obj
[1] ;
24547 if (!args
) SWIG_fail
;
24548 swig_obj
[0] = args
;
24549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24550 if (!SWIG_IsOK(res1
)) {
24551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24553 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24558 result
= (wxPrintData
*) &_result_ref
;
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24570 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
= 0;
24572 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24573 wxPrintData
*arg2
= 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char * kwnames
[] = {
24581 (char *) "self",(char *) "data", NULL
24584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24586 if (!SWIG_IsOK(res1
)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24589 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24591 if (!SWIG_IsOK(res2
)) {
24592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24597 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= SWIG_Py_Void();
24611 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
= 0;
24616 PyObject
* obj0
= 0 ;
24617 char * kwnames
[] = {
24618 (char *) "ppi", NULL
24621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24622 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24623 if (!SWIG_IsOK(ecode1
)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24626 arg1
= static_cast< int >(val1
);
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 wxPostScriptDC::SetResolution(arg1
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 resultobj
= SWIG_Py_Void();
24640 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24641 PyObject
*resultobj
= 0;
24644 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (int)wxPostScriptDC::GetResolution();
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= SWIG_From_int(static_cast< int >(result
));
24658 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24661 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24662 return SWIG_Py_Void();
24665 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24666 return SWIG_Python_InitShadowInstance(args
);
24669 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24672 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24673 wxMetaFile
*result
= 0 ;
24674 bool temp1
= false ;
24675 PyObject
* obj0
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "filename", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24683 arg1
= wxString_in_helper(obj0
);
24684 if (arg1
== NULL
) SWIG_fail
;
24689 if (!wxPyCheckForApp()) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24710 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24711 PyObject
*resultobj
= 0;
24712 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24715 PyObject
*swig_obj
[1] ;
24717 if (!args
) SWIG_fail
;
24718 swig_obj
[0] = args
;
24719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24720 if (!SWIG_IsOK(res1
)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24723 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= SWIG_Py_Void();
24738 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24739 PyObject
*resultobj
= 0;
24740 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24744 PyObject
*swig_obj
[1] ;
24746 if (!args
) SWIG_fail
;
24747 swig_obj
[0] = args
;
24748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24749 if (!SWIG_IsOK(res1
)) {
24750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24752 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (bool)(arg1
)->IsOk();
24756 wxPyEndAllowThreads(__tstate
);
24757 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24768 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24769 PyObject
*resultobj
= 0;
24770 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24771 int arg2
= (int) 0 ;
24772 int arg3
= (int) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 PyObject
* obj1
= 0 ;
24782 PyObject
* obj2
= 0 ;
24783 char * kwnames
[] = {
24784 (char *) "self",(char *) "width",(char *) "height", NULL
24787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24789 if (!SWIG_IsOK(res1
)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24792 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24795 if (!SWIG_IsOK(ecode2
)) {
24796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24798 arg2
= static_cast< int >(val2
);
24801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24802 if (!SWIG_IsOK(ecode3
)) {
24803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24805 arg3
= static_cast< int >(val3
);
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24822 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24823 PyObject
*resultobj
= 0;
24824 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24828 PyObject
*swig_obj
[1] ;
24830 if (!args
) SWIG_fail
;
24831 swig_obj
[0] = args
;
24832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24833 if (!SWIG_IsOK(res1
)) {
24834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24836 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 result
= (arg1
)->GetSize();
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24850 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24851 PyObject
*resultobj
= 0;
24852 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24856 PyObject
*swig_obj
[1] ;
24858 if (!args
) SWIG_fail
;
24859 swig_obj
[0] = args
;
24860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24861 if (!SWIG_IsOK(res1
)) {
24862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24864 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= (int)(arg1
)->GetWidth();
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= SWIG_From_int(static_cast< int >(result
));
24878 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24879 PyObject
*resultobj
= 0;
24880 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24884 PyObject
*swig_obj
[1] ;
24886 if (!args
) SWIG_fail
;
24887 swig_obj
[0] = args
;
24888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24889 if (!SWIG_IsOK(res1
)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24892 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (int)(arg1
)->GetHeight();
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_From_int(static_cast< int >(result
));
24906 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24909 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24910 return SWIG_Py_Void();
24913 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24914 return SWIG_Python_InitShadowInstance(args
);
24917 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
= 0;
24919 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24920 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24921 int arg2
= (int) 0 ;
24922 int arg3
= (int) 0 ;
24923 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24924 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24925 wxMetaFileDC
*result
= 0 ;
24926 bool temp1
= false ;
24931 bool temp4
= false ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 PyObject
* obj2
= 0 ;
24935 PyObject
* obj3
= 0 ;
24936 char * kwnames
[] = {
24937 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24943 arg1
= wxString_in_helper(obj0
);
24944 if (arg1
== NULL
) SWIG_fail
;
24949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24950 if (!SWIG_IsOK(ecode2
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24953 arg2
= static_cast< int >(val2
);
24956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24957 if (!SWIG_IsOK(ecode3
)) {
24958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24960 arg3
= static_cast< int >(val3
);
24964 arg4
= wxString_in_helper(obj3
);
24965 if (arg4
== NULL
) SWIG_fail
;
24970 if (!wxPyCheckForApp()) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24999 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25000 PyObject
*resultobj
= 0;
25001 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25002 wxMetaFile
*result
= 0 ;
25005 PyObject
*swig_obj
[1] ;
25007 if (!args
) SWIG_fail
;
25008 swig_obj
[0] = args
;
25009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25010 if (!SWIG_IsOK(res1
)) {
25011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25013 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (wxMetaFile
*)(arg1
)->Close();
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25027 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25030 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25031 return SWIG_Py_Void();
25034 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25035 return SWIG_Python_InitShadowInstance(args
);
25038 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
= 0;
25040 wxPrintData
*arg1
= 0 ;
25041 wxPrinterDC
*result
= 0 ;
25044 PyObject
* obj0
= 0 ;
25045 char * kwnames
[] = {
25046 (char *) "printData", NULL
25049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25050 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25051 if (!SWIG_IsOK(res1
)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25057 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25059 if (!wxPyCheckForApp()) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25072 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25076 return SWIG_Py_Void();
25079 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25080 return SWIG_Python_InitShadowInstance(args
);
25083 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
= 0;
25085 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25086 wxGraphicsObject
*result
= 0 ;
25089 PyObject
* obj0
= 0 ;
25090 char * kwnames
[] = {
25091 (char *) "renderer", NULL
25094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25100 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25103 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25113 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25114 PyObject
*resultobj
= 0;
25115 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25118 PyObject
*swig_obj
[1] ;
25120 if (!args
) SWIG_fail
;
25121 swig_obj
[0] = args
;
25122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25123 if (!SWIG_IsOK(res1
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25126 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 resultobj
= SWIG_Py_Void();
25139 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25140 PyObject
*resultobj
= 0;
25141 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25145 PyObject
*swig_obj
[1] ;
25147 if (!args
) SWIG_fail
;
25148 swig_obj
[0] = args
;
25149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25150 if (!SWIG_IsOK(res1
)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25153 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25155 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25156 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25167 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25168 PyObject
*resultobj
= 0;
25169 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25170 wxGraphicsRenderer
*result
= 0 ;
25173 PyObject
*swig_obj
[1] ;
25175 if (!args
) SWIG_fail
;
25176 swig_obj
[0] = args
;
25177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25178 if (!SWIG_IsOK(res1
)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25181 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25183 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25193 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25196 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25197 return SWIG_Py_Void();
25200 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25201 return SWIG_Python_InitShadowInstance(args
);
25204 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25205 PyObject
*resultobj
= 0;
25206 wxGraphicsPen
*result
= 0 ;
25208 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25210 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25220 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25221 PyObject
*resultobj
= 0;
25222 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25225 PyObject
*swig_obj
[1] ;
25227 if (!args
) SWIG_fail
;
25228 swig_obj
[0] = args
;
25229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25230 if (!SWIG_IsOK(res1
)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25233 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_Py_Void();
25246 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25249 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25250 return SWIG_Py_Void();
25253 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25254 return SWIG_Python_InitShadowInstance(args
);
25257 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25258 PyObject
*resultobj
= 0;
25259 wxGraphicsBrush
*result
= 0 ;
25261 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25263 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25273 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25274 PyObject
*resultobj
= 0;
25275 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25278 PyObject
*swig_obj
[1] ;
25280 if (!args
) SWIG_fail
;
25281 swig_obj
[0] = args
;
25282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25283 if (!SWIG_IsOK(res1
)) {
25284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25286 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_Py_Void();
25299 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25302 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25303 return SWIG_Py_Void();
25306 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25307 return SWIG_Python_InitShadowInstance(args
);
25310 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25311 PyObject
*resultobj
= 0;
25312 wxGraphicsFont
*result
= 0 ;
25314 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25316 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25326 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25327 PyObject
*resultobj
= 0;
25328 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25331 PyObject
*swig_obj
[1] ;
25333 if (!args
) SWIG_fail
;
25334 swig_obj
[0] = args
;
25335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25336 if (!SWIG_IsOK(res1
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25339 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= SWIG_Py_Void();
25352 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25355 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25356 return SWIG_Py_Void();
25359 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25360 return SWIG_Python_InitShadowInstance(args
);
25363 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25364 PyObject
*resultobj
= 0;
25365 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25368 PyObject
*swig_obj
[1] ;
25370 if (!args
) SWIG_fail
;
25371 swig_obj
[0] = args
;
25372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25373 if (!SWIG_IsOK(res1
)) {
25374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25376 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_Py_Void();
25389 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
= 0;
25391 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25392 wxGraphicsMatrix
*arg2
= 0 ;
25397 PyObject
* obj0
= 0 ;
25398 PyObject
* obj1
= 0 ;
25399 char * kwnames
[] = {
25400 (char *) "self",(char *) "t", NULL
25403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25405 if (!SWIG_IsOK(res1
)) {
25406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25408 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25410 if (!SWIG_IsOK(res2
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25416 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25418 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_Py_Void();
25428 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
= 0;
25430 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25431 wxGraphicsMatrix
*arg2
= 0 ;
25436 PyObject
* obj0
= 0 ;
25437 PyObject
* obj1
= 0 ;
25438 char * kwnames
[] = {
25439 (char *) "self",(char *) "t", NULL
25442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25444 if (!SWIG_IsOK(res1
)) {
25445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25447 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25449 if (!SWIG_IsOK(res2
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25455 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25457 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_Py_Void();
25467 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
= 0;
25469 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25470 wxDouble arg2
= (wxDouble
) 1.0 ;
25471 wxDouble arg3
= (wxDouble
) 0.0 ;
25472 wxDouble arg4
= (wxDouble
) 0.0 ;
25473 wxDouble arg5
= (wxDouble
) 1.0 ;
25474 wxDouble arg6
= (wxDouble
) 0.0 ;
25475 wxDouble arg7
= (wxDouble
) 0.0 ;
25490 PyObject
* obj0
= 0 ;
25491 PyObject
* obj1
= 0 ;
25492 PyObject
* obj2
= 0 ;
25493 PyObject
* obj3
= 0 ;
25494 PyObject
* obj4
= 0 ;
25495 PyObject
* obj5
= 0 ;
25496 PyObject
* obj6
= 0 ;
25497 char * kwnames
[] = {
25498 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25503 if (!SWIG_IsOK(res1
)) {
25504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25506 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25508 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25509 if (!SWIG_IsOK(ecode2
)) {
25510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25512 arg2
= static_cast< wxDouble
>(val2
);
25515 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25516 if (!SWIG_IsOK(ecode3
)) {
25517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25519 arg3
= static_cast< wxDouble
>(val3
);
25522 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25523 if (!SWIG_IsOK(ecode4
)) {
25524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25526 arg4
= static_cast< wxDouble
>(val4
);
25529 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25530 if (!SWIG_IsOK(ecode5
)) {
25531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25533 arg5
= static_cast< wxDouble
>(val5
);
25536 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25537 if (!SWIG_IsOK(ecode6
)) {
25538 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25540 arg6
= static_cast< wxDouble
>(val6
);
25543 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25544 if (!SWIG_IsOK(ecode7
)) {
25545 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25547 arg7
= static_cast< wxDouble
>(val7
);
25550 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_Py_Void();
25560 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25561 PyObject
*resultobj
= 0;
25562 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25565 PyObject
*swig_obj
[1] ;
25567 if (!args
) SWIG_fail
;
25568 swig_obj
[0] = args
;
25569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25573 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_Py_Void();
25585 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
= 0;
25587 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25588 wxGraphicsMatrix
*arg2
= 0 ;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 char * kwnames
[] = {
25597 (char *) "self",(char *) "t", NULL
25600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25602 if (!SWIG_IsOK(res1
)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25605 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25607 if (!SWIG_IsOK(res2
)) {
25608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25613 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25615 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25627 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25628 PyObject
*resultobj
= 0;
25629 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25633 PyObject
*swig_obj
[1] ;
25635 if (!args
) SWIG_fail
;
25636 swig_obj
[0] = args
;
25637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25641 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25643 result
= (bool)(arg1
)->IsIdentity();
25644 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25655 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
= 0;
25657 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 PyObject
* obj2
= 0 ;
25669 char * kwnames
[] = {
25670 (char *) "self",(char *) "dx",(char *) "dy", NULL
25673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25675 if (!SWIG_IsOK(res1
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25678 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25679 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25680 if (!SWIG_IsOK(ecode2
)) {
25681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25683 arg2
= static_cast< wxDouble
>(val2
);
25684 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25685 if (!SWIG_IsOK(ecode3
)) {
25686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25688 arg3
= static_cast< wxDouble
>(val3
);
25690 (arg1
)->Translate(arg2
,arg3
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_Py_Void();
25700 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
= 0;
25702 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 PyObject
* obj2
= 0 ;
25714 char * kwnames
[] = {
25715 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25720 if (!SWIG_IsOK(res1
)) {
25721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25723 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25724 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25725 if (!SWIG_IsOK(ecode2
)) {
25726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25728 arg2
= static_cast< wxDouble
>(val2
);
25729 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25730 if (!SWIG_IsOK(ecode3
)) {
25731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25733 arg3
= static_cast< wxDouble
>(val3
);
25735 (arg1
)->Scale(arg2
,arg3
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= SWIG_Py_Void();
25745 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
= 0;
25747 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25753 PyObject
* obj0
= 0 ;
25754 PyObject
* obj1
= 0 ;
25755 char * kwnames
[] = {
25756 (char *) "self",(char *) "angle", NULL
25759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25764 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25765 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25766 if (!SWIG_IsOK(ecode2
)) {
25767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25769 arg2
= static_cast< wxDouble
>(val2
);
25771 (arg1
)->Rotate(arg2
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_Py_Void();
25781 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
= 0;
25783 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25784 wxDouble
*arg2
= (wxDouble
*) 0 ;
25785 wxDouble
*arg3
= (wxDouble
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 PyObject
* obj2
= 0 ;
25795 char * kwnames
[] = {
25796 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25804 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25805 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25807 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25808 if (!SWIG_IsOK(ecode
)) {
25809 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25811 temp2
= static_cast< wxDouble
>(val
);
25813 res2
= SWIG_AddTmpMask(ecode
);
25815 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25817 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25818 if (!SWIG_IsOK(ecode
)) {
25819 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25821 temp3
= static_cast< wxDouble
>(val
);
25823 res3
= SWIG_AddTmpMask(ecode
);
25826 (arg1
)->TransformPoint(arg2
,arg3
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_Py_Void();
25830 if (SWIG_IsTmpObj(res2
)) {
25831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25833 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25836 if (SWIG_IsTmpObj(res3
)) {
25837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25839 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25848 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25849 PyObject
*resultobj
= 0;
25850 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25851 wxDouble
*arg2
= (wxDouble
*) 0 ;
25852 wxDouble
*arg3
= (wxDouble
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 PyObject
* obj2
= 0 ;
25862 char * kwnames
[] = {
25863 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25868 if (!SWIG_IsOK(res1
)) {
25869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25871 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25872 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25874 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25875 if (!SWIG_IsOK(ecode
)) {
25876 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25878 temp2
= static_cast< wxDouble
>(val
);
25880 res2
= SWIG_AddTmpMask(ecode
);
25882 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25884 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25885 if (!SWIG_IsOK(ecode
)) {
25886 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25888 temp3
= static_cast< wxDouble
>(val
);
25890 res3
= SWIG_AddTmpMask(ecode
);
25893 (arg1
)->TransformDistance(arg2
,arg3
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= SWIG_Py_Void();
25897 if (SWIG_IsTmpObj(res2
)) {
25898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25900 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25903 if (SWIG_IsTmpObj(res3
)) {
25904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25906 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25915 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25916 PyObject
*resultobj
= 0;
25917 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25921 PyObject
*swig_obj
[1] ;
25923 if (!args
) SWIG_fail
;
25924 swig_obj
[0] = args
;
25925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25926 if (!SWIG_IsOK(res1
)) {
25927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25929 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25931 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25941 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25944 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
25945 return SWIG_Py_Void();
25948 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25949 PyObject
*resultobj
= 0;
25950 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25953 PyObject
*swig_obj
[1] ;
25955 if (!args
) SWIG_fail
;
25956 swig_obj
[0] = args
;
25957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25958 if (!SWIG_IsOK(res1
)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25961 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 resultobj
= SWIG_Py_Void();
25974 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25975 PyObject
*resultobj
= 0;
25976 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25986 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
25987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25991 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25992 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
25993 if (!SWIG_IsOK(ecode2
)) {
25994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25996 arg2
= static_cast< wxDouble
>(val2
);
25997 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25998 if (!SWIG_IsOK(ecode3
)) {
25999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26001 arg3
= static_cast< wxDouble
>(val3
);
26003 (arg1
)->MoveToPoint(arg2
,arg3
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= SWIG_Py_Void();
26013 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26014 PyObject
*resultobj
= 0;
26015 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26016 wxPoint2D
*arg2
= 0 ;
26021 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26023 if (!SWIG_IsOK(res1
)) {
26024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26026 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26029 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26032 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_Py_Void();
26042 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26046 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26049 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26052 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26056 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26061 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26062 PyObject
*resultobj
= 0;
26063 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26073 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26075 if (!SWIG_IsOK(res1
)) {
26076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26078 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26079 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26080 if (!SWIG_IsOK(ecode2
)) {
26081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26083 arg2
= static_cast< wxDouble
>(val2
);
26084 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26085 if (!SWIG_IsOK(ecode3
)) {
26086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26088 arg3
= static_cast< wxDouble
>(val3
);
26090 (arg1
)->AddLineToPoint(arg2
,arg3
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= SWIG_Py_Void();
26100 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26101 PyObject
*resultobj
= 0;
26102 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26103 wxPoint2D
*arg2
= 0 ;
26108 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26110 if (!SWIG_IsOK(res1
)) {
26111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26113 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26116 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26119 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_Py_Void();
26129 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26133 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26136 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26139 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26143 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26148 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26149 PyObject
*resultobj
= 0;
26150 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26172 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26174 if (!SWIG_IsOK(res1
)) {
26175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26177 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26178 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26179 if (!SWIG_IsOK(ecode2
)) {
26180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26182 arg2
= static_cast< wxDouble
>(val2
);
26183 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26184 if (!SWIG_IsOK(ecode3
)) {
26185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26187 arg3
= static_cast< wxDouble
>(val3
);
26188 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26189 if (!SWIG_IsOK(ecode4
)) {
26190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26192 arg4
= static_cast< wxDouble
>(val4
);
26193 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26194 if (!SWIG_IsOK(ecode5
)) {
26195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26197 arg5
= static_cast< wxDouble
>(val5
);
26198 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26199 if (!SWIG_IsOK(ecode6
)) {
26200 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26202 arg6
= static_cast< wxDouble
>(val6
);
26203 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26204 if (!SWIG_IsOK(ecode7
)) {
26205 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26207 arg7
= static_cast< wxDouble
>(val7
);
26209 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26219 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26220 PyObject
*resultobj
= 0;
26221 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26222 wxPoint2D
*arg2
= 0 ;
26223 wxPoint2D
*arg3
= 0 ;
26224 wxPoint2D
*arg4
= 0 ;
26231 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26233 if (!SWIG_IsOK(res1
)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26236 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26239 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26243 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26247 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26250 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_Py_Void();
26260 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26264 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26267 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26270 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26274 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26279 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
= 0;
26281 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26282 wxGraphicsPath
*arg2
= 0 ;
26287 PyObject
* obj0
= 0 ;
26288 PyObject
* obj1
= 0 ;
26289 char * kwnames
[] = {
26290 (char *) "self",(char *) "path", NULL
26293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26295 if (!SWIG_IsOK(res1
)) {
26296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26298 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26300 if (!SWIG_IsOK(res2
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26306 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26308 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_Py_Void();
26318 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26319 PyObject
*resultobj
= 0;
26320 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26323 PyObject
*swig_obj
[1] ;
26325 if (!args
) SWIG_fail
;
26326 swig_obj
[0] = args
;
26327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26331 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26333 (arg1
)->CloseSubpath();
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_Py_Void();
26343 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26344 PyObject
*resultobj
= 0;
26345 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26349 PyObject
*swig_obj
[1] ;
26351 if (!args
) SWIG_fail
;
26352 swig_obj
[0] = args
;
26353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26354 if (!SWIG_IsOK(res1
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26357 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26359 result
= (arg1
)->GetCurrentPoint();
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26369 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26370 PyObject
*resultobj
= 0;
26371 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26393 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26398 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26399 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26400 if (!SWIG_IsOK(ecode2
)) {
26401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26403 arg2
= static_cast< wxDouble
>(val2
);
26404 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26405 if (!SWIG_IsOK(ecode3
)) {
26406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26408 arg3
= static_cast< wxDouble
>(val3
);
26409 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26410 if (!SWIG_IsOK(ecode4
)) {
26411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26413 arg4
= static_cast< wxDouble
>(val4
);
26414 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26415 if (!SWIG_IsOK(ecode5
)) {
26416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26418 arg5
= static_cast< wxDouble
>(val5
);
26419 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26420 if (!SWIG_IsOK(ecode6
)) {
26421 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26423 arg6
= static_cast< wxDouble
>(val6
);
26424 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26425 if (!SWIG_IsOK(ecode7
)) {
26426 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26428 arg7
= static_cast< bool >(val7
);
26430 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= SWIG_Py_Void();
26440 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26441 PyObject
*resultobj
= 0;
26442 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26443 wxPoint2D
*arg2
= 0 ;
26460 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26462 if (!SWIG_IsOK(res1
)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26465 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26468 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26470 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26471 if (!SWIG_IsOK(ecode3
)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26474 arg3
= static_cast< wxDouble
>(val3
);
26475 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26476 if (!SWIG_IsOK(ecode4
)) {
26477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26479 arg4
= static_cast< wxDouble
>(val4
);
26480 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26481 if (!SWIG_IsOK(ecode5
)) {
26482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26484 arg5
= static_cast< wxDouble
>(val5
);
26485 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26486 if (!SWIG_IsOK(ecode6
)) {
26487 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26489 arg6
= static_cast< bool >(val6
);
26491 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 resultobj
= SWIG_Py_Void();
26501 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26505 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26508 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26511 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26515 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26520 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
= 0;
26522 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 PyObject
* obj2
= 0 ;
26540 PyObject
* obj3
= 0 ;
26541 PyObject
* obj4
= 0 ;
26542 char * kwnames
[] = {
26543 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26551 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26552 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26553 if (!SWIG_IsOK(ecode2
)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26556 arg2
= static_cast< wxDouble
>(val2
);
26557 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26558 if (!SWIG_IsOK(ecode3
)) {
26559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26561 arg3
= static_cast< wxDouble
>(val3
);
26562 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26563 if (!SWIG_IsOK(ecode4
)) {
26564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26566 arg4
= static_cast< wxDouble
>(val4
);
26567 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26568 if (!SWIG_IsOK(ecode5
)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26571 arg5
= static_cast< wxDouble
>(val5
);
26573 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= SWIG_Py_Void();
26583 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26584 PyObject
*resultobj
= 0;
26585 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26600 PyObject
* obj0
= 0 ;
26601 PyObject
* obj1
= 0 ;
26602 PyObject
* obj2
= 0 ;
26603 PyObject
* obj3
= 0 ;
26604 PyObject
* obj4
= 0 ;
26605 char * kwnames
[] = {
26606 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26614 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26615 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26616 if (!SWIG_IsOK(ecode2
)) {
26617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26619 arg2
= static_cast< wxDouble
>(val2
);
26620 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26621 if (!SWIG_IsOK(ecode3
)) {
26622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26624 arg3
= static_cast< wxDouble
>(val3
);
26625 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26626 if (!SWIG_IsOK(ecode4
)) {
26627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26629 arg4
= static_cast< wxDouble
>(val4
);
26630 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26631 if (!SWIG_IsOK(ecode5
)) {
26632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26634 arg5
= static_cast< wxDouble
>(val5
);
26636 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_Py_Void();
26646 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
= 0;
26648 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 PyObject
* obj2
= 0 ;
26663 PyObject
* obj3
= 0 ;
26664 char * kwnames
[] = {
26665 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26673 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26674 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26675 if (!SWIG_IsOK(ecode2
)) {
26676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26678 arg2
= static_cast< wxDouble
>(val2
);
26679 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26680 if (!SWIG_IsOK(ecode3
)) {
26681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26683 arg3
= static_cast< wxDouble
>(val3
);
26684 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26685 if (!SWIG_IsOK(ecode4
)) {
26686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26688 arg4
= static_cast< wxDouble
>(val4
);
26690 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_Py_Void();
26700 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
= 0;
26702 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 PyObject
* obj2
= 0 ;
26723 PyObject
* obj3
= 0 ;
26724 PyObject
* obj4
= 0 ;
26725 PyObject
* obj5
= 0 ;
26726 char * kwnames
[] = {
26727 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26732 if (!SWIG_IsOK(res1
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26735 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26736 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26737 if (!SWIG_IsOK(ecode2
)) {
26738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26740 arg2
= static_cast< wxDouble
>(val2
);
26741 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26742 if (!SWIG_IsOK(ecode3
)) {
26743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26745 arg3
= static_cast< wxDouble
>(val3
);
26746 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26747 if (!SWIG_IsOK(ecode4
)) {
26748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26750 arg4
= static_cast< wxDouble
>(val4
);
26751 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26752 if (!SWIG_IsOK(ecode5
)) {
26753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26755 arg5
= static_cast< wxDouble
>(val5
);
26756 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26757 if (!SWIG_IsOK(ecode6
)) {
26758 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26760 arg6
= static_cast< wxDouble
>(val6
);
26762 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= SWIG_Py_Void();
26772 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
= 0;
26774 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26789 PyObject
* obj0
= 0 ;
26790 PyObject
* obj1
= 0 ;
26791 PyObject
* obj2
= 0 ;
26792 PyObject
* obj3
= 0 ;
26793 PyObject
* obj4
= 0 ;
26794 char * kwnames
[] = {
26795 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26800 if (!SWIG_IsOK(res1
)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26803 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26804 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26805 if (!SWIG_IsOK(ecode2
)) {
26806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26808 arg2
= static_cast< wxDouble
>(val2
);
26809 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26810 if (!SWIG_IsOK(ecode3
)) {
26811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26813 arg3
= static_cast< wxDouble
>(val3
);
26814 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26815 if (!SWIG_IsOK(ecode4
)) {
26816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26818 arg4
= static_cast< wxDouble
>(val4
);
26819 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26820 if (!SWIG_IsOK(ecode5
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26823 arg5
= static_cast< wxDouble
>(val5
);
26825 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= SWIG_Py_Void();
26835 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
= 0;
26837 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 PyObject
* obj3
= 0 ;
26859 PyObject
* obj4
= 0 ;
26860 PyObject
* obj5
= 0 ;
26861 char * kwnames
[] = {
26862 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26870 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26871 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26872 if (!SWIG_IsOK(ecode2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26875 arg2
= static_cast< wxDouble
>(val2
);
26876 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26877 if (!SWIG_IsOK(ecode3
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26880 arg3
= static_cast< wxDouble
>(val3
);
26881 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26882 if (!SWIG_IsOK(ecode4
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26885 arg4
= static_cast< wxDouble
>(val4
);
26886 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26887 if (!SWIG_IsOK(ecode5
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26890 arg5
= static_cast< wxDouble
>(val5
);
26891 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26892 if (!SWIG_IsOK(ecode6
)) {
26893 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26895 arg6
= static_cast< wxDouble
>(val6
);
26897 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= SWIG_Py_Void();
26907 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26908 PyObject
*resultobj
= 0;
26909 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26913 PyObject
*swig_obj
[1] ;
26915 if (!args
) SWIG_fail
;
26916 swig_obj
[0] = args
;
26917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26918 if (!SWIG_IsOK(res1
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26921 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26923 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26933 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
= 0;
26935 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26936 void *arg2
= (void *) 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 char * kwnames
[] = {
26943 (char *) "self",(char *) "p", NULL
26946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26948 if (!SWIG_IsOK(res1
)) {
26949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26951 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26952 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
26953 if (!SWIG_IsOK(res2
)) {
26954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
26957 (arg1
)->UnGetNativePath(arg2
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= SWIG_Py_Void();
26967 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
= 0;
26969 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26970 wxGraphicsMatrix
*arg2
= 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char * kwnames
[] = {
26978 (char *) "self",(char *) "matrix", NULL
26981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26983 if (!SWIG_IsOK(res1
)) {
26984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26986 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26988 if (!SWIG_IsOK(res2
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26994 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26996 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= SWIG_Py_Void();
27006 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27007 PyObject
*resultobj
= 0;
27008 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27009 wxRect2DDouble result
;
27012 PyObject
*swig_obj
[1] ;
27014 if (!args
) SWIG_fail
;
27015 swig_obj
[0] = args
;
27016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27017 if (!SWIG_IsOK(res1
)) {
27018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27020 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27022 result
= (arg1
)->GetBox();
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27032 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27033 PyObject
*resultobj
= 0;
27034 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27037 int arg4
= (int) wxWINDING_RULE
;
27048 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27053 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27054 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27055 if (!SWIG_IsOK(ecode2
)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27058 arg2
= static_cast< wxDouble
>(val2
);
27059 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27060 if (!SWIG_IsOK(ecode3
)) {
27061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27063 arg3
= static_cast< wxDouble
>(val3
);
27065 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27066 if (!SWIG_IsOK(ecode4
)) {
27067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27069 arg4
= static_cast< int >(val4
);
27072 result
= (bool)(arg1
)->Contains(arg2
,arg3
,arg4
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27084 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27085 PyObject
*resultobj
= 0;
27086 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27087 wxPoint2DDouble
*arg2
= 0 ;
27088 int arg3
= (int) wxWINDING_RULE
;
27097 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27099 if (!SWIG_IsOK(res1
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27102 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27103 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27104 if (!SWIG_IsOK(res2
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27110 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27112 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27113 if (!SWIG_IsOK(ecode3
)) {
27114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27116 arg3
= static_cast< int >(val3
);
27119 result
= (bool)(arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27131 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27135 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27137 if ((argc
>= 2) && (argc
<= 3)) {
27140 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27141 _v
= SWIG_CheckState(res
);
27143 if (!_v
) goto check_1
;
27147 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27148 _v
= SWIG_CheckState(res
);
27151 if (!_v
) goto check_1
;
27153 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27157 if ((argc
>= 3) && (argc
<= 4)) {
27158 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27162 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27167 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27170 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27171 return SWIG_Py_Void();
27174 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27175 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27180 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27181 PyObject
*pyobj
= 0;
27183 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27188 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27189 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27194 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27195 PyObject
*pyobj
= 0;
27197 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27202 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27203 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27208 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27209 PyObject
*pyobj
= 0;
27211 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27216 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27217 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27222 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27223 PyObject
*pyobj
= 0;
27225 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27230 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27231 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27236 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27237 PyObject
*pyobj
= 0;
27239 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27244 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27249 PyObject
*swig_obj
[1] ;
27251 if (!args
) SWIG_fail
;
27252 swig_obj
[0] = args
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27257 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= SWIG_Py_Void();
27270 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27271 PyObject
*resultobj
= 0;
27272 wxWindowDC
*arg1
= 0 ;
27273 wxGraphicsContext
*result
= 0 ;
27277 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27279 if (!SWIG_IsOK(res1
)) {
27280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27285 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27287 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27297 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27298 PyObject
*resultobj
= 0;
27299 wxWindow
*arg1
= (wxWindow
*) 0 ;
27300 wxGraphicsContext
*result
= 0 ;
27304 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27311 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27321 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27325 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27330 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27331 _v
= SWIG_CheckState(res
);
27333 if (!_v
) goto check_1
;
27334 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27339 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27343 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27348 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
= 0;
27350 void *arg1
= (void *) 0 ;
27351 wxGraphicsContext
*result
= 0 ;
27353 PyObject
* obj0
= 0 ;
27354 char * kwnames
[] = {
27355 (char *) "context", NULL
27358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27359 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27360 if (!SWIG_IsOK(res1
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27364 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27374 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
= 0;
27376 void *arg1
= (void *) 0 ;
27377 wxGraphicsContext
*result
= 0 ;
27379 PyObject
* obj0
= 0 ;
27380 char * kwnames
[] = {
27381 (char *) "window", NULL
27384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27385 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27390 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27400 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27401 PyObject
*resultobj
= 0;
27402 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27403 wxGraphicsPath result
;
27406 PyObject
*swig_obj
[1] ;
27408 if (!args
) SWIG_fail
;
27409 swig_obj
[0] = args
;
27410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27411 if (!SWIG_IsOK(res1
)) {
27412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27414 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27416 result
= (arg1
)->CreatePath();
27417 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27426 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
= 0;
27428 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27430 wxGraphicsPen result
;
27435 PyObject
* obj0
= 0 ;
27436 PyObject
* obj1
= 0 ;
27437 char * kwnames
[] = {
27438 (char *) "self",(char *) "pen", NULL
27441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27443 if (!SWIG_IsOK(res1
)) {
27444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27446 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27448 if (!SWIG_IsOK(res2
)) {
27449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27454 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27456 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27457 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27466 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27467 PyObject
*resultobj
= 0;
27468 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27469 wxBrush
*arg2
= 0 ;
27470 wxGraphicsBrush result
;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 char * kwnames
[] = {
27478 (char *) "self",(char *) "brush", NULL
27481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27483 if (!SWIG_IsOK(res1
)) {
27484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27486 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27488 if (!SWIG_IsOK(res2
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27494 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27496 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27506 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27507 PyObject
*resultobj
= 0;
27508 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27513 wxColour
*arg6
= 0 ;
27514 wxColour
*arg7
= 0 ;
27515 wxGraphicsBrush result
;
27528 PyObject
* obj0
= 0 ;
27529 PyObject
* obj1
= 0 ;
27530 PyObject
* obj2
= 0 ;
27531 PyObject
* obj3
= 0 ;
27532 PyObject
* obj4
= 0 ;
27533 PyObject
* obj5
= 0 ;
27534 PyObject
* obj6
= 0 ;
27535 char * kwnames
[] = {
27536 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27544 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27545 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27546 if (!SWIG_IsOK(ecode2
)) {
27547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27549 arg2
= static_cast< wxDouble
>(val2
);
27550 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27551 if (!SWIG_IsOK(ecode3
)) {
27552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27554 arg3
= static_cast< wxDouble
>(val3
);
27555 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27556 if (!SWIG_IsOK(ecode4
)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27559 arg4
= static_cast< wxDouble
>(val4
);
27560 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27561 if (!SWIG_IsOK(ecode5
)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27564 arg5
= static_cast< wxDouble
>(val5
);
27567 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27571 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27574 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27584 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
= 0;
27586 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27592 wxColour
*arg7
= 0 ;
27593 wxColour
*arg8
= 0 ;
27594 wxGraphicsBrush result
;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 PyObject
* obj2
= 0 ;
27612 PyObject
* obj3
= 0 ;
27613 PyObject
* obj4
= 0 ;
27614 PyObject
* obj5
= 0 ;
27615 PyObject
* obj6
= 0 ;
27616 PyObject
* obj7
= 0 ;
27617 char * kwnames
[] = {
27618 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27623 if (!SWIG_IsOK(res1
)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27626 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27627 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27628 if (!SWIG_IsOK(ecode2
)) {
27629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27631 arg2
= static_cast< wxDouble
>(val2
);
27632 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27633 if (!SWIG_IsOK(ecode3
)) {
27634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27636 arg3
= static_cast< wxDouble
>(val3
);
27637 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27638 if (!SWIG_IsOK(ecode4
)) {
27639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27641 arg4
= static_cast< wxDouble
>(val4
);
27642 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27643 if (!SWIG_IsOK(ecode5
)) {
27644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27646 arg5
= static_cast< wxDouble
>(val5
);
27647 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27648 if (!SWIG_IsOK(ecode6
)) {
27649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27651 arg6
= static_cast< wxDouble
>(val6
);
27654 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27658 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27661 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27671 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
= 0;
27673 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27675 wxColour
const &arg3_defvalue
= *wxBLACK
;
27676 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27677 wxGraphicsFont result
;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 PyObject
* obj2
= 0 ;
27686 char * kwnames
[] = {
27687 (char *) "self",(char *) "font",(char *) "col", NULL
27690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27692 if (!SWIG_IsOK(res1
)) {
27693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27695 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27697 if (!SWIG_IsOK(res2
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27703 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27707 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27711 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27721 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
= 0;
27723 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27724 wxDouble arg2
= (wxDouble
) 1.0 ;
27725 wxDouble arg3
= (wxDouble
) 0.0 ;
27726 wxDouble arg4
= (wxDouble
) 0.0 ;
27727 wxDouble arg5
= (wxDouble
) 1.0 ;
27728 wxDouble arg6
= (wxDouble
) 0.0 ;
27729 wxDouble arg7
= (wxDouble
) 0.0 ;
27730 wxGraphicsMatrix result
;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 PyObject
* obj2
= 0 ;
27748 PyObject
* obj3
= 0 ;
27749 PyObject
* obj4
= 0 ;
27750 PyObject
* obj5
= 0 ;
27751 PyObject
* obj6
= 0 ;
27752 char * kwnames
[] = {
27753 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27758 if (!SWIG_IsOK(res1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27761 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27763 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27764 if (!SWIG_IsOK(ecode2
)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27767 arg2
= static_cast< wxDouble
>(val2
);
27770 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27771 if (!SWIG_IsOK(ecode3
)) {
27772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27774 arg3
= static_cast< wxDouble
>(val3
);
27777 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27778 if (!SWIG_IsOK(ecode4
)) {
27779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27781 arg4
= static_cast< wxDouble
>(val4
);
27784 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27785 if (!SWIG_IsOK(ecode5
)) {
27786 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27788 arg5
= static_cast< wxDouble
>(val5
);
27791 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27792 if (!SWIG_IsOK(ecode6
)) {
27793 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27795 arg6
= static_cast< wxDouble
>(val6
);
27798 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27799 if (!SWIG_IsOK(ecode7
)) {
27800 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27802 arg7
= static_cast< wxDouble
>(val7
);
27805 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27808 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27815 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27816 PyObject
*resultobj
= 0;
27817 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27820 PyObject
*swig_obj
[1] ;
27822 if (!args
) SWIG_fail
;
27823 swig_obj
[0] = args
;
27824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27825 if (!SWIG_IsOK(res1
)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27828 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27830 (arg1
)->PushState();
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= SWIG_Py_Void();
27840 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27841 PyObject
*resultobj
= 0;
27842 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27845 PyObject
*swig_obj
[1] ;
27847 if (!args
) SWIG_fail
;
27848 swig_obj
[0] = args
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27853 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27855 (arg1
)->PopState();
27856 if (PyErr_Occurred()) SWIG_fail
;
27858 resultobj
= SWIG_Py_Void();
27865 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27866 PyObject
*resultobj
= 0;
27867 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27868 wxRegion
*arg2
= 0 ;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27875 char * kwnames
[] = {
27876 (char *) "self",(char *) "region", NULL
27879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27881 if (!SWIG_IsOK(res1
)) {
27882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27884 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27886 if (!SWIG_IsOK(res2
)) {
27887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27892 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
27894 (arg1
)->Clip((wxRegion
const &)*arg2
);
27895 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= SWIG_Py_Void();
27904 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27905 PyObject
*resultobj
= 0;
27906 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 PyObject
* obj2
= 0 ;
27924 PyObject
* obj3
= 0 ;
27925 PyObject
* obj4
= 0 ;
27926 char * kwnames
[] = {
27927 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27935 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27936 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27937 if (!SWIG_IsOK(ecode2
)) {
27938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
27940 arg2
= static_cast< wxDouble
>(val2
);
27941 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27942 if (!SWIG_IsOK(ecode3
)) {
27943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
27945 arg3
= static_cast< wxDouble
>(val3
);
27946 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27947 if (!SWIG_IsOK(ecode4
)) {
27948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
27950 arg4
= static_cast< wxDouble
>(val4
);
27951 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27952 if (!SWIG_IsOK(ecode5
)) {
27953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
27955 arg5
= static_cast< wxDouble
>(val5
);
27957 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= SWIG_Py_Void();
27967 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27968 PyObject
*resultobj
= 0;
27969 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27972 PyObject
*swig_obj
[1] ;
27974 if (!args
) SWIG_fail
;
27975 swig_obj
[0] = args
;
27976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27977 if (!SWIG_IsOK(res1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27980 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27982 (arg1
)->ResetClip();
27983 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= SWIG_Py_Void();
27992 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 PyObject
*resultobj
= 0;
27994 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27998 PyObject
*swig_obj
[1] ;
28000 if (!args
) SWIG_fail
;
28001 swig_obj
[0] = args
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28006 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28008 result
= (void *)(arg1
)->GetNativeContext();
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28018 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
= 0;
28020 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 PyObject
* obj2
= 0 ;
28032 char * kwnames
[] = {
28033 (char *) "self",(char *) "dx",(char *) "dy", NULL
28036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28042 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28043 if (!SWIG_IsOK(ecode2
)) {
28044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28046 arg2
= static_cast< wxDouble
>(val2
);
28047 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28048 if (!SWIG_IsOK(ecode3
)) {
28049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28051 arg3
= static_cast< wxDouble
>(val3
);
28053 (arg1
)->Translate(arg2
,arg3
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_Py_Void();
28063 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
= 0;
28065 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 PyObject
* obj1
= 0 ;
28076 PyObject
* obj2
= 0 ;
28077 char * kwnames
[] = {
28078 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28083 if (!SWIG_IsOK(res1
)) {
28084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28086 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28087 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28088 if (!SWIG_IsOK(ecode2
)) {
28089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28091 arg2
= static_cast< wxDouble
>(val2
);
28092 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28093 if (!SWIG_IsOK(ecode3
)) {
28094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28096 arg3
= static_cast< wxDouble
>(val3
);
28098 (arg1
)->Scale(arg2
,arg3
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= SWIG_Py_Void();
28108 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
= 0;
28110 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 char * kwnames
[] = {
28119 (char *) "self",(char *) "angle", NULL
28122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28127 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28128 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28129 if (!SWIG_IsOK(ecode2
)) {
28130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28132 arg2
= static_cast< wxDouble
>(val2
);
28134 (arg1
)->Rotate(arg2
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= SWIG_Py_Void();
28144 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
= 0;
28146 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28147 wxGraphicsMatrix
*arg2
= 0 ;
28152 PyObject
* obj0
= 0 ;
28153 PyObject
* obj1
= 0 ;
28154 char * kwnames
[] = {
28155 (char *) "self",(char *) "matrix", NULL
28158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28160 if (!SWIG_IsOK(res1
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28163 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28165 if (!SWIG_IsOK(res2
)) {
28166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28171 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28173 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 resultobj
= SWIG_Py_Void();
28183 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
= 0;
28185 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28186 wxGraphicsMatrix
*arg2
= 0 ;
28191 PyObject
* obj0
= 0 ;
28192 PyObject
* obj1
= 0 ;
28193 char * kwnames
[] = {
28194 (char *) "self",(char *) "matrix", NULL
28197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28199 if (!SWIG_IsOK(res1
)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28202 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28204 if (!SWIG_IsOK(res2
)) {
28205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28210 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28212 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= SWIG_Py_Void();
28222 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 PyObject
*resultobj
= 0;
28224 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28225 wxGraphicsMatrix result
;
28228 PyObject
*swig_obj
[1] ;
28230 if (!args
) SWIG_fail
;
28231 swig_obj
[0] = args
;
28232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28233 if (!SWIG_IsOK(res1
)) {
28234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28236 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28238 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28248 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28249 PyObject
*resultobj
= 0;
28250 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28251 wxGraphicsPen
*arg2
= 0 ;
28257 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28259 if (!SWIG_IsOK(res1
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28262 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28263 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28264 if (!SWIG_IsOK(res2
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28270 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28272 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_Py_Void();
28282 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28283 PyObject
*resultobj
= 0;
28284 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28291 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28297 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28298 if (!SWIG_IsOK(res2
)) {
28299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28304 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28306 (arg1
)->SetPen((wxPen
const &)*arg2
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_Py_Void();
28316 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28320 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28325 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28326 _v
= SWIG_CheckState(res
);
28328 if (!_v
) goto check_1
;
28329 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28334 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28338 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28343 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28344 PyObject
*resultobj
= 0;
28345 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28346 wxGraphicsBrush
*arg2
= 0 ;
28352 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28357 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28358 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28359 if (!SWIG_IsOK(res2
)) {
28360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28365 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28367 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= SWIG_Py_Void();
28377 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28378 PyObject
*resultobj
= 0;
28379 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28380 wxBrush
*arg2
= 0 ;
28386 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28388 if (!SWIG_IsOK(res1
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28391 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28392 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28393 if (!SWIG_IsOK(res2
)) {
28394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28399 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28401 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= SWIG_Py_Void();
28411 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28415 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28420 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28421 _v
= SWIG_CheckState(res
);
28423 if (!_v
) goto check_1
;
28424 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28429 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28433 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28438 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28439 PyObject
*resultobj
= 0;
28440 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28441 wxGraphicsFont
*arg2
= 0 ;
28447 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28449 if (!SWIG_IsOK(res1
)) {
28450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28452 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28453 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28454 if (!SWIG_IsOK(res2
)) {
28455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28460 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28462 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= SWIG_Py_Void();
28472 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28473 PyObject
*resultobj
= 0;
28474 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28476 wxColour
const &arg3_defvalue
= *wxBLACK
;
28477 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28484 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28486 if (!SWIG_IsOK(res1
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28489 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28490 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28491 if (!SWIG_IsOK(res2
)) {
28492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28497 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28501 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28505 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 resultobj
= SWIG_Py_Void();
28515 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28519 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28524 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28525 _v
= SWIG_CheckState(res
);
28527 if (!_v
) goto check_1
;
28528 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28532 if ((argc
>= 2) && (argc
<= 3)) {
28533 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28537 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28542 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
= 0;
28544 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28545 wxGraphicsPath
*arg2
= 0 ;
28550 PyObject
* obj0
= 0 ;
28551 PyObject
* obj1
= 0 ;
28552 char * kwnames
[] = {
28553 (char *) "self",(char *) "path", NULL
28556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28558 if (!SWIG_IsOK(res1
)) {
28559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28561 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28563 if (!SWIG_IsOK(res2
)) {
28564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28569 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28571 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= SWIG_Py_Void();
28581 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28582 PyObject
*resultobj
= 0;
28583 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28584 wxGraphicsPath
*arg2
= 0 ;
28585 int arg3
= (int) wxWINDING_RULE
;
28592 PyObject
* obj0
= 0 ;
28593 PyObject
* obj1
= 0 ;
28594 PyObject
* obj2
= 0 ;
28595 char * kwnames
[] = {
28596 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28601 if (!SWIG_IsOK(res1
)) {
28602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28604 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28606 if (!SWIG_IsOK(res2
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28612 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28615 if (!SWIG_IsOK(ecode3
)) {
28616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28618 arg3
= static_cast< int >(val3
);
28621 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= SWIG_Py_Void();
28631 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
= 0;
28633 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28634 wxGraphicsPath
*arg2
= 0 ;
28635 int arg3
= (int) wxWINDING_RULE
;
28642 PyObject
* obj0
= 0 ;
28643 PyObject
* obj1
= 0 ;
28644 PyObject
* obj2
= 0 ;
28645 char * kwnames
[] = {
28646 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28651 if (!SWIG_IsOK(res1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28654 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28656 if (!SWIG_IsOK(res2
)) {
28657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28662 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28665 if (!SWIG_IsOK(ecode3
)) {
28666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28668 arg3
= static_cast< int >(val3
);
28671 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= SWIG_Py_Void();
28681 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28682 PyObject
*resultobj
= 0;
28683 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28684 wxString
*arg2
= 0 ;
28689 bool temp2
= false ;
28694 PyObject
* obj0
= 0 ;
28695 PyObject
* obj1
= 0 ;
28696 PyObject
* obj2
= 0 ;
28697 PyObject
* obj3
= 0 ;
28698 char * kwnames
[] = {
28699 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28704 if (!SWIG_IsOK(res1
)) {
28705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28707 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28709 arg2
= wxString_in_helper(obj1
);
28710 if (arg2
== NULL
) SWIG_fail
;
28713 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28714 if (!SWIG_IsOK(ecode3
)) {
28715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28717 arg3
= static_cast< wxDouble
>(val3
);
28718 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28719 if (!SWIG_IsOK(ecode4
)) {
28720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28722 arg4
= static_cast< wxDouble
>(val4
);
28724 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28725 if (PyErr_Occurred()) SWIG_fail
;
28727 resultobj
= SWIG_Py_Void();
28742 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
= 0;
28744 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28745 wxString
*arg2
= 0 ;
28751 bool temp2
= false ;
28758 PyObject
* obj0
= 0 ;
28759 PyObject
* obj1
= 0 ;
28760 PyObject
* obj2
= 0 ;
28761 PyObject
* obj3
= 0 ;
28762 PyObject
* obj4
= 0 ;
28763 char * kwnames
[] = {
28764 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
28767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28769 if (!SWIG_IsOK(res1
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28772 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28774 arg2
= wxString_in_helper(obj1
);
28775 if (arg2
== NULL
) SWIG_fail
;
28778 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28779 if (!SWIG_IsOK(ecode3
)) {
28780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28782 arg3
= static_cast< wxDouble
>(val3
);
28783 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28784 if (!SWIG_IsOK(ecode4
)) {
28785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28787 arg4
= static_cast< wxDouble
>(val4
);
28788 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28789 if (!SWIG_IsOK(ecode5
)) {
28790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28792 arg5
= static_cast< wxDouble
>(val5
);
28794 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= SWIG_Py_Void();
28812 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28813 PyObject
*resultobj
= 0;
28814 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28815 wxString
*arg2
= 0 ;
28816 wxDouble
*arg3
= (wxDouble
*) 0 ;
28817 wxDouble
*arg4
= (wxDouble
*) 0 ;
28818 wxDouble
*arg5
= (wxDouble
*) 0 ;
28819 wxDouble
*arg6
= (wxDouble
*) 0 ;
28822 bool temp2
= false ;
28824 int res3
= SWIG_TMPOBJ
;
28826 int res4
= SWIG_TMPOBJ
;
28828 int res5
= SWIG_TMPOBJ
;
28830 int res6
= SWIG_TMPOBJ
;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 char * kwnames
[] = {
28834 (char *) "self",(char *) "text", NULL
28841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28843 if (!SWIG_IsOK(res1
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28846 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28848 arg2
= wxString_in_helper(obj1
);
28849 if (arg2
== NULL
) SWIG_fail
;
28853 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= SWIG_Py_Void();
28857 if (SWIG_IsTmpObj(res3
)) {
28858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28860 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28863 if (SWIG_IsTmpObj(res4
)) {
28864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
28866 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
28869 if (SWIG_IsTmpObj(res5
)) {
28870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
28872 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
28875 if (SWIG_IsTmpObj(res6
)) {
28876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
28878 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
28895 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28896 PyObject
*resultobj
= 0;
28897 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28898 wxString
*arg2
= 0 ;
28899 PyObject
*result
= 0 ;
28902 bool temp2
= false ;
28903 PyObject
* obj0
= 0 ;
28904 PyObject
* obj1
= 0 ;
28905 char * kwnames
[] = {
28906 (char *) "self",(char *) "text", NULL
28909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28911 if (!SWIG_IsOK(res1
)) {
28912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28914 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28916 arg2
= wxString_in_helper(obj1
);
28917 if (arg2
== NULL
) SWIG_fail
;
28921 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= result
;
28939 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
= 0;
28941 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28942 wxString
*arg2
= 0 ;
28943 wxArrayDouble result
;
28946 bool temp2
= false ;
28947 PyObject
* obj0
= 0 ;
28948 PyObject
* obj1
= 0 ;
28949 char * kwnames
[] = {
28950 (char *) "self",(char *) "text", NULL
28953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28955 if (!SWIG_IsOK(res1
)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28958 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28960 arg2
= wxString_in_helper(obj1
);
28961 if (arg2
== NULL
) SWIG_fail
;
28965 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= wxArrayDouble2PyList_helper(result
);
28985 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= 0;
28987 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28988 wxBitmap
*arg2
= 0 ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 PyObject
* obj2
= 0 ;
29008 PyObject
* obj3
= 0 ;
29009 PyObject
* obj4
= 0 ;
29010 PyObject
* obj5
= 0 ;
29011 char * kwnames
[] = {
29012 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29017 if (!SWIG_IsOK(res1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29020 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29022 if (!SWIG_IsOK(res2
)) {
29023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29028 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29029 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29030 if (!SWIG_IsOK(ecode3
)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29033 arg3
= static_cast< wxDouble
>(val3
);
29034 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29035 if (!SWIG_IsOK(ecode4
)) {
29036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29038 arg4
= static_cast< wxDouble
>(val4
);
29039 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29040 if (!SWIG_IsOK(ecode5
)) {
29041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29043 arg5
= static_cast< wxDouble
>(val5
);
29044 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29045 if (!SWIG_IsOK(ecode6
)) {
29046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29048 arg6
= static_cast< wxDouble
>(val6
);
29050 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29053 resultobj
= SWIG_Py_Void();
29060 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
= 0;
29062 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 PyObject
* obj2
= 0 ;
29083 PyObject
* obj3
= 0 ;
29084 PyObject
* obj4
= 0 ;
29085 PyObject
* obj5
= 0 ;
29086 char * kwnames
[] = {
29087 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29092 if (!SWIG_IsOK(res1
)) {
29093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29095 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29097 if (!SWIG_IsOK(res2
)) {
29098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29103 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29104 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29105 if (!SWIG_IsOK(ecode3
)) {
29106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29108 arg3
= static_cast< wxDouble
>(val3
);
29109 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29110 if (!SWIG_IsOK(ecode4
)) {
29111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29113 arg4
= static_cast< wxDouble
>(val4
);
29114 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29115 if (!SWIG_IsOK(ecode5
)) {
29116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29118 arg5
= static_cast< wxDouble
>(val5
);
29119 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29120 if (!SWIG_IsOK(ecode6
)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29123 arg6
= static_cast< wxDouble
>(val6
);
29125 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= SWIG_Py_Void();
29135 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
= 0;
29137 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29152 PyObject
* obj0
= 0 ;
29153 PyObject
* obj1
= 0 ;
29154 PyObject
* obj2
= 0 ;
29155 PyObject
* obj3
= 0 ;
29156 PyObject
* obj4
= 0 ;
29157 char * kwnames
[] = {
29158 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29163 if (!SWIG_IsOK(res1
)) {
29164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29166 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29167 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29168 if (!SWIG_IsOK(ecode2
)) {
29169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29171 arg2
= static_cast< wxDouble
>(val2
);
29172 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29173 if (!SWIG_IsOK(ecode3
)) {
29174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29176 arg3
= static_cast< wxDouble
>(val3
);
29177 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29178 if (!SWIG_IsOK(ecode4
)) {
29179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29181 arg4
= static_cast< wxDouble
>(val4
);
29182 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29183 if (!SWIG_IsOK(ecode5
)) {
29184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29186 arg5
= static_cast< wxDouble
>(val5
);
29188 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 resultobj
= SWIG_Py_Void();
29198 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
= 0;
29200 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29202 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 char * kwnames
[] = {
29208 (char *) "self",(char *) "points", NULL
29211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29213 if (!SWIG_IsOK(res1
)) {
29214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29216 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29218 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29219 if (arg3
== NULL
) SWIG_fail
;
29222 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_Py_Void();
29227 if (arg3
) delete [] arg3
;
29232 if (arg3
) delete [] arg3
;
29238 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
= 0;
29240 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29241 PyObject
*arg2
= (PyObject
*) 0 ;
29242 PyObject
*arg3
= (PyObject
*) 0 ;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 PyObject
* obj2
= 0 ;
29248 char * kwnames
[] = {
29249 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29254 if (!SWIG_IsOK(res1
)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29257 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29261 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_Py_Void();
29271 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
= 0;
29273 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29275 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29276 int arg4
= (int) wxWINDING_RULE
;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 PyObject
* obj2
= 0 ;
29284 char * kwnames
[] = {
29285 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29293 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29295 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29296 if (arg3
== NULL
) SWIG_fail
;
29299 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29300 if (!SWIG_IsOK(ecode4
)) {
29301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29303 arg4
= static_cast< int >(val4
);
29306 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= SWIG_Py_Void();
29311 if (arg3
) delete [] arg3
;
29316 if (arg3
) delete [] arg3
;
29322 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
= 0;
29324 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 PyObject
* obj2
= 0 ;
29342 PyObject
* obj3
= 0 ;
29343 PyObject
* obj4
= 0 ;
29344 char * kwnames
[] = {
29345 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29350 if (!SWIG_IsOK(res1
)) {
29351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29353 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29354 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29355 if (!SWIG_IsOK(ecode2
)) {
29356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29358 arg2
= static_cast< wxDouble
>(val2
);
29359 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29360 if (!SWIG_IsOK(ecode3
)) {
29361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29363 arg3
= static_cast< wxDouble
>(val3
);
29364 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29365 if (!SWIG_IsOK(ecode4
)) {
29366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29368 arg4
= static_cast< wxDouble
>(val4
);
29369 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29370 if (!SWIG_IsOK(ecode5
)) {
29371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29373 arg5
= static_cast< wxDouble
>(val5
);
29375 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= SWIG_Py_Void();
29385 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
= 0;
29387 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 PyObject
* obj2
= 0 ;
29405 PyObject
* obj3
= 0 ;
29406 PyObject
* obj4
= 0 ;
29407 char * kwnames
[] = {
29408 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29413 if (!SWIG_IsOK(res1
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29416 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29417 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29418 if (!SWIG_IsOK(ecode2
)) {
29419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29421 arg2
= static_cast< wxDouble
>(val2
);
29422 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29423 if (!SWIG_IsOK(ecode3
)) {
29424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29426 arg3
= static_cast< wxDouble
>(val3
);
29427 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29428 if (!SWIG_IsOK(ecode4
)) {
29429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29431 arg4
= static_cast< wxDouble
>(val4
);
29432 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29433 if (!SWIG_IsOK(ecode5
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29436 arg5
= static_cast< wxDouble
>(val5
);
29438 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= SWIG_Py_Void();
29448 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
= 0;
29450 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 PyObject
* obj2
= 0 ;
29471 PyObject
* obj3
= 0 ;
29472 PyObject
* obj4
= 0 ;
29473 PyObject
* obj5
= 0 ;
29474 char * kwnames
[] = {
29475 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29480 if (!SWIG_IsOK(res1
)) {
29481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29483 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29484 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29485 if (!SWIG_IsOK(ecode2
)) {
29486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29488 arg2
= static_cast< wxDouble
>(val2
);
29489 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29490 if (!SWIG_IsOK(ecode3
)) {
29491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29493 arg3
= static_cast< wxDouble
>(val3
);
29494 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29495 if (!SWIG_IsOK(ecode4
)) {
29496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29498 arg4
= static_cast< wxDouble
>(val4
);
29499 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29500 if (!SWIG_IsOK(ecode5
)) {
29501 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29503 arg5
= static_cast< wxDouble
>(val5
);
29504 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29505 if (!SWIG_IsOK(ecode6
)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29508 arg6
= static_cast< wxDouble
>(val6
);
29510 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_Py_Void();
29520 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29521 PyObject
*resultobj
= 0;
29522 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29526 PyObject
*swig_obj
[1] ;
29528 if (!args
) SWIG_fail
;
29529 swig_obj
[0] = args
;
29530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29531 if (!SWIG_IsOK(res1
)) {
29532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29534 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29536 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29537 if (PyErr_Occurred()) SWIG_fail
;
29540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29548 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29551 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29552 return SWIG_Py_Void();
29555 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29556 PyObject
*resultobj
= 0;
29557 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29560 PyObject
*swig_obj
[1] ;
29562 if (!args
) SWIG_fail
;
29563 swig_obj
[0] = args
;
29564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29565 if (!SWIG_IsOK(res1
)) {
29566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29568 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= SWIG_Py_Void();
29581 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29582 PyObject
*resultobj
= 0;
29583 wxGraphicsRenderer
*result
= 0 ;
29585 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29587 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29588 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29597 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29598 PyObject
*resultobj
= 0;
29599 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29600 wxWindowDC
*arg2
= 0 ;
29601 wxGraphicsContext
*result
= 0 ;
29607 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29609 if (!SWIG_IsOK(res1
)) {
29610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29612 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29613 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29614 if (!SWIG_IsOK(res2
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29620 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29622 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29632 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29633 PyObject
*resultobj
= 0;
29634 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29635 wxWindow
*arg2
= (wxWindow
*) 0 ;
29636 wxGraphicsContext
*result
= 0 ;
29642 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29647 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29648 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29649 if (!SWIG_IsOK(res2
)) {
29650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29654 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29664 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29668 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29673 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29674 _v
= SWIG_CheckState(res
);
29676 if (!_v
) goto check_1
;
29677 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29682 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29686 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29691 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
= 0;
29693 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29694 void *arg2
= (void *) 0 ;
29695 wxGraphicsContext
*result
= 0 ;
29699 PyObject
* obj0
= 0 ;
29700 PyObject
* obj1
= 0 ;
29701 char * kwnames
[] = {
29702 (char *) "self",(char *) "context", NULL
29705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29707 if (!SWIG_IsOK(res1
)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29710 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29711 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29712 if (!SWIG_IsOK(res2
)) {
29713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29716 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29717 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29726 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
= 0;
29728 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29729 void *arg2
= (void *) 0 ;
29730 wxGraphicsContext
*result
= 0 ;
29734 PyObject
* obj0
= 0 ;
29735 PyObject
* obj1
= 0 ;
29736 char * kwnames
[] = {
29737 (char *) "self",(char *) "window", NULL
29740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29742 if (!SWIG_IsOK(res1
)) {
29743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29745 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29746 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29747 if (!SWIG_IsOK(res2
)) {
29748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29751 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29761 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29762 PyObject
*resultobj
= 0;
29763 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29764 wxGraphicsPath result
;
29767 PyObject
*swig_obj
[1] ;
29769 if (!args
) SWIG_fail
;
29770 swig_obj
[0] = args
;
29771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29772 if (!SWIG_IsOK(res1
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29775 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29777 result
= (arg1
)->CreatePath();
29778 if (PyErr_Occurred()) SWIG_fail
;
29780 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29787 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
= 0;
29789 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29790 wxDouble arg2
= (wxDouble
) 1.0 ;
29791 wxDouble arg3
= (wxDouble
) 0.0 ;
29792 wxDouble arg4
= (wxDouble
) 0.0 ;
29793 wxDouble arg5
= (wxDouble
) 1.0 ;
29794 wxDouble arg6
= (wxDouble
) 0.0 ;
29795 wxDouble arg7
= (wxDouble
) 0.0 ;
29796 wxGraphicsMatrix result
;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 PyObject
* obj2
= 0 ;
29814 PyObject
* obj3
= 0 ;
29815 PyObject
* obj4
= 0 ;
29816 PyObject
* obj5
= 0 ;
29817 PyObject
* obj6
= 0 ;
29818 char * kwnames
[] = {
29819 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29824 if (!SWIG_IsOK(res1
)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29827 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29829 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29830 if (!SWIG_IsOK(ecode2
)) {
29831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29833 arg2
= static_cast< wxDouble
>(val2
);
29836 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29837 if (!SWIG_IsOK(ecode3
)) {
29838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29840 arg3
= static_cast< wxDouble
>(val3
);
29843 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29844 if (!SWIG_IsOK(ecode4
)) {
29845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29847 arg4
= static_cast< wxDouble
>(val4
);
29850 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29851 if (!SWIG_IsOK(ecode5
)) {
29852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29854 arg5
= static_cast< wxDouble
>(val5
);
29857 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29858 if (!SWIG_IsOK(ecode6
)) {
29859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29861 arg6
= static_cast< wxDouble
>(val6
);
29864 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29865 if (!SWIG_IsOK(ecode7
)) {
29866 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29868 arg7
= static_cast< wxDouble
>(val7
);
29871 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29881 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
= 0;
29883 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29885 wxGraphicsPen result
;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 char * kwnames
[] = {
29893 (char *) "self",(char *) "pen", NULL
29896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29898 if (!SWIG_IsOK(res1
)) {
29899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29901 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29903 if (!SWIG_IsOK(res2
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29909 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29911 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
29921 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
= 0;
29923 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29924 wxBrush
*arg2
= 0 ;
29925 wxGraphicsBrush result
;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 char * kwnames
[] = {
29933 (char *) "self",(char *) "brush", NULL
29936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29938 if (!SWIG_IsOK(res1
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29941 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29943 if (!SWIG_IsOK(res2
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29949 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29951 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29961 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29962 PyObject
*resultobj
= 0;
29963 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29968 wxColour
*arg6
= 0 ;
29969 wxColour
*arg7
= 0 ;
29970 wxGraphicsBrush result
;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 PyObject
* obj2
= 0 ;
29986 PyObject
* obj3
= 0 ;
29987 PyObject
* obj4
= 0 ;
29988 PyObject
* obj5
= 0 ;
29989 PyObject
* obj6
= 0 ;
29990 char * kwnames
[] = {
29991 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
29994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29996 if (!SWIG_IsOK(res1
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29999 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30000 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30001 if (!SWIG_IsOK(ecode2
)) {
30002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30004 arg2
= static_cast< wxDouble
>(val2
);
30005 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30006 if (!SWIG_IsOK(ecode3
)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30009 arg3
= static_cast< wxDouble
>(val3
);
30010 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30011 if (!SWIG_IsOK(ecode4
)) {
30012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30014 arg4
= static_cast< wxDouble
>(val4
);
30015 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30016 if (!SWIG_IsOK(ecode5
)) {
30017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30019 arg5
= static_cast< wxDouble
>(val5
);
30022 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30026 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30029 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30039 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
= 0;
30041 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30047 wxColour
*arg7
= 0 ;
30048 wxColour
*arg8
= 0 ;
30049 wxGraphicsBrush result
;
30064 PyObject
* obj0
= 0 ;
30065 PyObject
* obj1
= 0 ;
30066 PyObject
* obj2
= 0 ;
30067 PyObject
* obj3
= 0 ;
30068 PyObject
* obj4
= 0 ;
30069 PyObject
* obj5
= 0 ;
30070 PyObject
* obj6
= 0 ;
30071 PyObject
* obj7
= 0 ;
30072 char * kwnames
[] = {
30073 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30078 if (!SWIG_IsOK(res1
)) {
30079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30081 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30082 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30083 if (!SWIG_IsOK(ecode2
)) {
30084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30086 arg2
= static_cast< wxDouble
>(val2
);
30087 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30088 if (!SWIG_IsOK(ecode3
)) {
30089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30091 arg3
= static_cast< wxDouble
>(val3
);
30092 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30093 if (!SWIG_IsOK(ecode4
)) {
30094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30096 arg4
= static_cast< wxDouble
>(val4
);
30097 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30098 if (!SWIG_IsOK(ecode5
)) {
30099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30101 arg5
= static_cast< wxDouble
>(val5
);
30102 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30103 if (!SWIG_IsOK(ecode6
)) {
30104 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30106 arg6
= static_cast< wxDouble
>(val6
);
30109 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30113 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30116 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30126 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30127 PyObject
*resultobj
= 0;
30128 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30130 wxColour
const &arg3_defvalue
= *wxBLACK
;
30131 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30132 wxGraphicsFont result
;
30138 PyObject
* obj0
= 0 ;
30139 PyObject
* obj1
= 0 ;
30140 PyObject
* obj2
= 0 ;
30141 char * kwnames
[] = {
30142 (char *) "self",(char *) "font",(char *) "col", NULL
30145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30147 if (!SWIG_IsOK(res1
)) {
30148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30150 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30152 if (!SWIG_IsOK(res2
)) {
30153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30158 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30162 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30166 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30176 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30179 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30180 return SWIG_Py_Void();
30183 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
= 0;
30185 wxWindowDC
*arg1
= 0 ;
30186 wxGCDC
*result
= 0 ;
30189 PyObject
* obj0
= 0 ;
30190 char * kwnames
[] = {
30191 (char *) "dc", NULL
30194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30195 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30196 if (!SWIG_IsOK(res1
)) {
30197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30202 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30204 if (!wxPyCheckForApp()) SWIG_fail
;
30205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30217 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30218 PyObject
*resultobj
= 0;
30219 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30222 PyObject
*swig_obj
[1] ;
30224 if (!args
) SWIG_fail
;
30225 swig_obj
[0] = args
;
30226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30227 if (!SWIG_IsOK(res1
)) {
30228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30230 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= SWIG_Py_Void();
30243 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30244 PyObject
*resultobj
= 0;
30245 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30246 wxGraphicsContext
*result
= 0 ;
30249 PyObject
*swig_obj
[1] ;
30251 if (!args
) SWIG_fail
;
30252 swig_obj
[0] = args
;
30253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30254 if (!SWIG_IsOK(res1
)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30257 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30259 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30269 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
= 0;
30271 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30272 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30277 PyObject
* obj0
= 0 ;
30278 PyObject
* obj1
= 0 ;
30279 char * kwnames
[] = {
30280 (char *) "self",(char *) "ctx", NULL
30283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30285 if (!SWIG_IsOK(res1
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30288 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30290 if (!SWIG_IsOK(res2
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30293 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30295 (arg1
)->SetGraphicsContext(arg2
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_Py_Void();
30305 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30308 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30309 return SWIG_Py_Void();
30312 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30313 return SWIG_Python_InitShadowInstance(args
);
30316 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30317 PyObject
*resultobj
= 0;
30318 wxOverlay
*result
= 0 ;
30320 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 result
= (wxOverlay
*)new wxOverlay();
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30334 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30335 PyObject
*resultobj
= 0;
30336 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30339 PyObject
*swig_obj
[1] ;
30341 if (!args
) SWIG_fail
;
30342 swig_obj
[0] = args
;
30343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30344 if (!SWIG_IsOK(res1
)) {
30345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30347 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= SWIG_Py_Void();
30362 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30363 PyObject
*resultobj
= 0;
30364 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30367 PyObject
*swig_obj
[1] ;
30369 if (!args
) SWIG_fail
;
30370 swig_obj
[0] = args
;
30371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30372 if (!SWIG_IsOK(res1
)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30375 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 wxPyEndAllowThreads(__tstate
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= SWIG_Py_Void();
30389 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30392 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30393 return SWIG_Py_Void();
30396 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30397 return SWIG_Python_InitShadowInstance(args
);
30400 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30401 PyObject
*resultobj
= 0;
30402 wxOverlay
*arg1
= 0 ;
30403 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30408 wxDCOverlay
*result
= 0 ;
30422 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30424 if (!SWIG_IsOK(res1
)) {
30425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30430 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30431 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30432 if (!SWIG_IsOK(res2
)) {
30433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30435 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30436 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30437 if (!SWIG_IsOK(ecode3
)) {
30438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30440 arg3
= static_cast< int >(val3
);
30441 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30442 if (!SWIG_IsOK(ecode4
)) {
30443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30445 arg4
= static_cast< int >(val4
);
30446 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30447 if (!SWIG_IsOK(ecode5
)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30450 arg5
= static_cast< int >(val5
);
30451 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30452 if (!SWIG_IsOK(ecode6
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30455 arg6
= static_cast< int >(val6
);
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30469 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30470 PyObject
*resultobj
= 0;
30471 wxOverlay
*arg1
= 0 ;
30472 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30473 wxDCOverlay
*result
= 0 ;
30479 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30481 if (!SWIG_IsOK(res1
)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30487 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30488 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30489 if (!SWIG_IsOK(res2
)) {
30490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30492 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30506 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30510 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30513 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30516 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30520 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30525 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30526 PyObject
*resultobj
= 0;
30527 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30530 PyObject
*swig_obj
[1] ;
30532 if (!args
) SWIG_fail
;
30533 swig_obj
[0] = args
;
30534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30535 if (!SWIG_IsOK(res1
)) {
30536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30538 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 resultobj
= SWIG_Py_Void();
30553 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30554 PyObject
*resultobj
= 0;
30555 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30558 PyObject
*swig_obj
[1] ;
30560 if (!args
) SWIG_fail
;
30561 swig_obj
[0] = args
;
30562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30563 if (!SWIG_IsOK(res1
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30566 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 resultobj
= SWIG_Py_Void();
30580 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30583 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30584 return SWIG_Py_Void();
30587 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30588 return SWIG_Python_InitShadowInstance(args
);
30591 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
= 0;
30595 int arg3
= (int) true ;
30596 int arg4
= (int) 1 ;
30597 wxImageList
*result
= 0 ;
30606 PyObject
* obj0
= 0 ;
30607 PyObject
* obj1
= 0 ;
30608 PyObject
* obj2
= 0 ;
30609 PyObject
* obj3
= 0 ;
30610 char * kwnames
[] = {
30611 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30615 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30616 if (!SWIG_IsOK(ecode1
)) {
30617 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30619 arg1
= static_cast< int >(val1
);
30620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30621 if (!SWIG_IsOK(ecode2
)) {
30622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30624 arg2
= static_cast< int >(val2
);
30626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30627 if (!SWIG_IsOK(ecode3
)) {
30628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30630 arg3
= static_cast< int >(val3
);
30633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30634 if (!SWIG_IsOK(ecode4
)) {
30635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30637 arg4
= static_cast< int >(val4
);
30640 if (!wxPyCheckForApp()) SWIG_fail
;
30641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30642 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30653 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30654 PyObject
*resultobj
= 0;
30655 wxImageList
*arg1
= (wxImageList
*) 0 ;
30658 PyObject
*swig_obj
[1] ;
30660 if (!args
) SWIG_fail
;
30661 swig_obj
[0] = args
;
30662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30663 if (!SWIG_IsOK(res1
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30666 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 wxPyEndAllowThreads(__tstate
);
30672 if (PyErr_Occurred()) SWIG_fail
;
30674 resultobj
= SWIG_Py_Void();
30681 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30682 PyObject
*resultobj
= 0;
30683 wxImageList
*arg1
= (wxImageList
*) 0 ;
30684 wxBitmap
*arg2
= 0 ;
30685 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30686 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 PyObject
* obj2
= 0 ;
30697 char * kwnames
[] = {
30698 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30703 if (!SWIG_IsOK(res1
)) {
30704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30706 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30708 if (!SWIG_IsOK(res2
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30714 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30716 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30717 if (!SWIG_IsOK(res3
)) {
30718 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30723 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= SWIG_From_int(static_cast< int >(result
));
30738 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30739 PyObject
*resultobj
= 0;
30740 wxImageList
*arg1
= (wxImageList
*) 0 ;
30741 wxBitmap
*arg2
= 0 ;
30742 wxColour
*arg3
= 0 ;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30751 PyObject
* obj2
= 0 ;
30752 char * kwnames
[] = {
30753 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30758 if (!SWIG_IsOK(res1
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30761 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30763 if (!SWIG_IsOK(res2
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30769 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30772 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30777 wxPyEndAllowThreads(__tstate
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30780 resultobj
= SWIG_From_int(static_cast< int >(result
));
30787 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30788 PyObject
*resultobj
= 0;
30789 wxImageList
*arg1
= (wxImageList
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 char * kwnames
[] = {
30799 (char *) "self",(char *) "icon", NULL
30802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30804 if (!SWIG_IsOK(res1
)) {
30805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
30807 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30808 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30809 if (!SWIG_IsOK(res2
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30815 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= SWIG_From_int(static_cast< int >(result
));
30829 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxImageList
*arg1
= (wxImageList
*) 0 ;
30833 SwigValueWrapper
<wxBitmap
> result
;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 char * kwnames
[] = {
30841 (char *) "self",(char *) "index", NULL
30844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30846 if (!SWIG_IsOK(res1
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
30849 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30851 if (!SWIG_IsOK(ecode2
)) {
30852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
30854 arg2
= static_cast< int >(val2
);
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
30868 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
= 0;
30870 wxImageList
*arg1
= (wxImageList
*) 0 ;
30877 PyObject
* obj0
= 0 ;
30878 PyObject
* obj1
= 0 ;
30879 char * kwnames
[] = {
30880 (char *) "self",(char *) "index", NULL
30883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30885 if (!SWIG_IsOK(res1
)) {
30886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
30888 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30890 if (!SWIG_IsOK(ecode2
)) {
30891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
30893 arg2
= static_cast< int >(val2
);
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
30907 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30908 PyObject
*resultobj
= 0;
30909 wxImageList
*arg1
= (wxImageList
*) 0 ;
30911 wxBitmap
*arg3
= 0 ;
30912 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
30913 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
30923 PyObject
* obj0
= 0 ;
30924 PyObject
* obj1
= 0 ;
30925 PyObject
* obj2
= 0 ;
30926 PyObject
* obj3
= 0 ;
30927 char * kwnames
[] = {
30928 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
30931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30933 if (!SWIG_IsOK(res1
)) {
30934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
30936 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30938 if (!SWIG_IsOK(ecode2
)) {
30939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
30941 arg2
= static_cast< int >(val2
);
30942 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30943 if (!SWIG_IsOK(res3
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30949 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30951 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30952 if (!SWIG_IsOK(res4
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
30956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
30958 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30975 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
= 0;
30977 wxImageList
*arg1
= (wxImageList
*) 0 ;
30982 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
30983 bool arg7
= (bool) (bool)false ;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 PyObject
* obj2
= 0 ;
31002 PyObject
* obj3
= 0 ;
31003 PyObject
* obj4
= 0 ;
31004 PyObject
* obj5
= 0 ;
31005 PyObject
* obj6
= 0 ;
31006 char * kwnames
[] = {
31007 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31012 if (!SWIG_IsOK(res1
)) {
31013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31015 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31017 if (!SWIG_IsOK(ecode2
)) {
31018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31020 arg2
= static_cast< int >(val2
);
31021 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31022 if (!SWIG_IsOK(res3
)) {
31023 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31028 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31030 if (!SWIG_IsOK(ecode4
)) {
31031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31033 arg4
= static_cast< int >(val4
);
31034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31035 if (!SWIG_IsOK(ecode5
)) {
31036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31038 arg5
= static_cast< int >(val5
);
31040 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31041 if (!SWIG_IsOK(ecode6
)) {
31042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31044 arg6
= static_cast< int >(val6
);
31047 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31048 if (!SWIG_IsOK(ecode7
)) {
31049 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31051 arg7
= static_cast< bool >(val7
);
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31068 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31069 PyObject
*resultobj
= 0;
31070 wxImageList
*arg1
= (wxImageList
*) 0 ;
31074 PyObject
*swig_obj
[1] ;
31076 if (!args
) SWIG_fail
;
31077 swig_obj
[0] = args
;
31078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31079 if (!SWIG_IsOK(res1
)) {
31080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31082 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 result
= (int)(arg1
)->GetImageCount();
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31089 resultobj
= SWIG_From_int(static_cast< int >(result
));
31096 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31097 PyObject
*resultobj
= 0;
31098 wxImageList
*arg1
= (wxImageList
*) 0 ;
31105 PyObject
* obj0
= 0 ;
31106 PyObject
* obj1
= 0 ;
31107 char * kwnames
[] = {
31108 (char *) "self",(char *) "index", NULL
31111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31116 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31118 if (!SWIG_IsOK(ecode2
)) {
31119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31121 arg2
= static_cast< int >(val2
);
31123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31124 result
= (bool)(arg1
)->Remove(arg2
);
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31137 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31138 PyObject
*resultobj
= 0;
31139 wxImageList
*arg1
= (wxImageList
*) 0 ;
31143 PyObject
*swig_obj
[1] ;
31145 if (!args
) SWIG_fail
;
31146 swig_obj
[0] = args
;
31147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31148 if (!SWIG_IsOK(res1
)) {
31149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31151 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 result
= (bool)(arg1
)->RemoveAll();
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31167 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31168 PyObject
*resultobj
= 0;
31169 wxImageList
*arg1
= (wxImageList
*) 0 ;
31178 int res3
= SWIG_TMPOBJ
;
31180 int res4
= SWIG_TMPOBJ
;
31181 PyObject
* obj0
= 0 ;
31182 PyObject
* obj1
= 0 ;
31183 char * kwnames
[] = {
31184 (char *) "self",(char *) "index", NULL
31189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31191 if (!SWIG_IsOK(res1
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31194 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31196 if (!SWIG_IsOK(ecode2
)) {
31197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31199 arg2
= static_cast< int >(val2
);
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= SWIG_Py_Void();
31207 if (SWIG_IsTmpObj(res3
)) {
31208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31210 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31213 if (SWIG_IsTmpObj(res4
)) {
31214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31216 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31225 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31228 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31229 return SWIG_Py_Void();
31232 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31233 return SWIG_Python_InitShadowInstance(args
);
31236 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31237 PyObject
*resultobj
= 0;
31238 wxStockGDI
*result
= 0 ;
31240 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 result
= (wxStockGDI
*)new wxStockGDI();
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31254 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31255 PyObject
*resultobj
= 0;
31256 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31259 PyObject
*swig_obj
[1] ;
31261 if (!args
) SWIG_fail
;
31262 swig_obj
[0] = args
;
31263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31264 if (!SWIG_IsOK(res1
)) {
31265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31267 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_Py_Void();
31282 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31283 PyObject
*resultobj
= 0;
31285 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 wxStockGDI::DeleteAll();
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= SWIG_Py_Void();
31299 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31300 PyObject
*resultobj
= 0;
31301 wxStockGDI
*result
= 0 ;
31303 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31308 result
= (wxStockGDI
*) &_result_ref
;
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31320 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
= 0;
31322 wxStockGDI::Item arg1
;
31323 wxBrush
*result
= 0 ;
31326 PyObject
* obj0
= 0 ;
31327 char * kwnames
[] = {
31328 (char *) "item", NULL
31331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31332 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31333 if (!SWIG_IsOK(ecode1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31336 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31350 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
= 0;
31352 wxStockGDI::Item arg1
;
31353 wxColour
*result
= 0 ;
31356 PyObject
* obj0
= 0 ;
31357 char * kwnames
[] = {
31358 (char *) "item", NULL
31361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31362 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31363 if (!SWIG_IsOK(ecode1
)) {
31364 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31366 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31369 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31380 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31381 PyObject
*resultobj
= 0;
31382 wxStockGDI::Item arg1
;
31383 wxCursor
*result
= 0 ;
31386 PyObject
* obj0
= 0 ;
31387 char * kwnames
[] = {
31388 (char *) "item", NULL
31391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31392 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31393 if (!SWIG_IsOK(ecode1
)) {
31394 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31396 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31410 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
= 0;
31412 wxStockGDI::Item arg1
;
31413 wxPen
*result
= 0 ;
31416 PyObject
* obj0
= 0 ;
31417 char * kwnames
[] = {
31418 (char *) "item", NULL
31421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31423 if (!SWIG_IsOK(ecode1
)) {
31424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31426 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31430 wxPyEndAllowThreads(__tstate
);
31431 if (PyErr_Occurred()) SWIG_fail
;
31433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31440 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31441 PyObject
*resultobj
= 0;
31442 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31443 wxStockGDI::Item arg2
;
31444 wxFont
*result
= 0 ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 char * kwnames
[] = {
31452 (char *) "self",(char *) "item", NULL
31455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31457 if (!SWIG_IsOK(res1
)) {
31458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31460 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31462 if (!SWIG_IsOK(ecode2
)) {
31463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31465 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31479 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31482 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31483 return SWIG_Py_Void();
31486 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31487 return SWIG_Python_InitShadowInstance(args
);
31490 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31491 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31496 SWIGINTERN PyObject
*NullBitmap_get(void) {
31497 PyObject
*pyobj
= 0;
31499 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31504 SWIGINTERN
int NullIcon_set(PyObject
*) {
31505 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31510 SWIGINTERN PyObject
*NullIcon_get(void) {
31511 PyObject
*pyobj
= 0;
31513 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31518 SWIGINTERN
int NullCursor_set(PyObject
*) {
31519 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31524 SWIGINTERN PyObject
*NullCursor_get(void) {
31525 PyObject
*pyobj
= 0;
31527 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31532 SWIGINTERN
int NullPen_set(PyObject
*) {
31533 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31538 SWIGINTERN PyObject
*NullPen_get(void) {
31539 PyObject
*pyobj
= 0;
31541 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31546 SWIGINTERN
int NullBrush_set(PyObject
*) {
31547 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31552 SWIGINTERN PyObject
*NullBrush_get(void) {
31553 PyObject
*pyobj
= 0;
31555 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31560 SWIGINTERN
int NullPalette_set(PyObject
*) {
31561 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31566 SWIGINTERN PyObject
*NullPalette_get(void) {
31567 PyObject
*pyobj
= 0;
31569 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31574 SWIGINTERN
int NullFont_set(PyObject
*) {
31575 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31580 SWIGINTERN PyObject
*NullFont_get(void) {
31581 PyObject
*pyobj
= 0;
31583 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31588 SWIGINTERN
int NullColour_set(PyObject
*) {
31589 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31594 SWIGINTERN PyObject
*NullColour_get(void) {
31595 PyObject
*pyobj
= 0;
31597 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31602 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31603 PyObject
*resultobj
= 0;
31604 wxGDIObjListBase
*result
= 0 ;
31606 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31620 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31621 PyObject
*resultobj
= 0;
31622 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31625 PyObject
*swig_obj
[1] ;
31627 if (!args
) SWIG_fail
;
31628 swig_obj
[0] = args
;
31629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31630 if (!SWIG_IsOK(res1
)) {
31631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31633 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 wxPyEndAllowThreads(__tstate
);
31639 if (PyErr_Occurred()) SWIG_fail
;
31641 resultobj
= SWIG_Py_Void();
31648 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31651 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31652 return SWIG_Py_Void();
31655 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31656 return SWIG_Python_InitShadowInstance(args
);
31659 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31660 PyObject
*resultobj
= 0;
31661 wxPenList
*arg1
= (wxPenList
*) 0 ;
31662 wxColour
*arg2
= 0 ;
31665 wxPen
*result
= 0 ;
31673 PyObject
* obj0
= 0 ;
31674 PyObject
* obj1
= 0 ;
31675 PyObject
* obj2
= 0 ;
31676 PyObject
* obj3
= 0 ;
31677 char * kwnames
[] = {
31678 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31683 if (!SWIG_IsOK(res1
)) {
31684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31686 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31692 if (!SWIG_IsOK(ecode3
)) {
31693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31695 arg3
= static_cast< int >(val3
);
31696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31697 if (!SWIG_IsOK(ecode4
)) {
31698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31700 arg4
= static_cast< int >(val4
);
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31714 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
= 0;
31716 wxPenList
*arg1
= (wxPenList
*) 0 ;
31717 wxPen
*arg2
= (wxPen
*) 0 ;
31722 PyObject
* obj0
= 0 ;
31723 PyObject
* obj1
= 0 ;
31724 char * kwnames
[] = {
31725 (char *) "self",(char *) "pen", NULL
31728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31730 if (!SWIG_IsOK(res1
)) {
31731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31733 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31735 if (!SWIG_IsOK(res2
)) {
31736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31738 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31741 (arg1
)->AddPen(arg2
);
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31745 resultobj
= SWIG_Py_Void();
31752 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31753 PyObject
*resultobj
= 0;
31754 wxPenList
*arg1
= (wxPenList
*) 0 ;
31755 wxPen
*arg2
= (wxPen
*) 0 ;
31760 PyObject
* obj0
= 0 ;
31761 PyObject
* obj1
= 0 ;
31762 char * kwnames
[] = {
31763 (char *) "self",(char *) "pen", NULL
31766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31768 if (!SWIG_IsOK(res1
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31771 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31773 if (!SWIG_IsOK(res2
)) {
31774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31776 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 (arg1
)->RemovePen(arg2
);
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= SWIG_Py_Void();
31790 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31793 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
31794 return SWIG_Py_Void();
31797 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
= 0;
31799 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31800 wxColour
*arg2
= 0 ;
31801 int arg3
= (int) wxSOLID
;
31802 wxBrush
*result
= 0 ;
31808 PyObject
* obj0
= 0 ;
31809 PyObject
* obj1
= 0 ;
31810 PyObject
* obj2
= 0 ;
31811 char * kwnames
[] = {
31812 (char *) "self",(char *) "colour",(char *) "style", NULL
31815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31817 if (!SWIG_IsOK(res1
)) {
31818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31820 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31823 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31827 if (!SWIG_IsOK(ecode3
)) {
31828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
31830 arg3
= static_cast< int >(val3
);
31833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31834 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31845 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31846 PyObject
*resultobj
= 0;
31847 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31848 wxBrush
*arg2
= (wxBrush
*) 0 ;
31853 PyObject
* obj0
= 0 ;
31854 PyObject
* obj1
= 0 ;
31855 char * kwnames
[] = {
31856 (char *) "self",(char *) "brush", NULL
31859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31861 if (!SWIG_IsOK(res1
)) {
31862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31864 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31865 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31866 if (!SWIG_IsOK(res2
)) {
31867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31869 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31872 (arg1
)->AddBrush(arg2
);
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= SWIG_Py_Void();
31883 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
= 0;
31885 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31886 wxBrush
*arg2
= (wxBrush
*) 0 ;
31891 PyObject
* obj0
= 0 ;
31892 PyObject
* obj1
= 0 ;
31893 char * kwnames
[] = {
31894 (char *) "self",(char *) "brush", NULL
31897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31899 if (!SWIG_IsOK(res1
)) {
31900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31902 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31904 if (!SWIG_IsOK(res2
)) {
31905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31907 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 (arg1
)->RemoveBrush(arg2
);
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= SWIG_Py_Void();
31921 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31924 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
31925 return SWIG_Py_Void();
31928 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31929 PyObject
*resultobj
= 0;
31930 wxFontList
*arg1
= (wxFontList
*) 0 ;
31935 bool arg6
= (bool) false ;
31936 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31937 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31938 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
31939 wxFont
*result
= 0 ;
31952 bool temp7
= false ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 PyObject
* obj2
= 0 ;
31958 PyObject
* obj3
= 0 ;
31959 PyObject
* obj4
= 0 ;
31960 PyObject
* obj5
= 0 ;
31961 PyObject
* obj6
= 0 ;
31962 PyObject
* obj7
= 0 ;
31963 char * kwnames
[] = {
31964 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
31967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
31969 if (!SWIG_IsOK(res1
)) {
31970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
31972 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
31973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31974 if (!SWIG_IsOK(ecode2
)) {
31975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
31977 arg2
= static_cast< int >(val2
);
31978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31979 if (!SWIG_IsOK(ecode3
)) {
31980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
31982 arg3
= static_cast< int >(val3
);
31983 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31984 if (!SWIG_IsOK(ecode4
)) {
31985 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
31987 arg4
= static_cast< int >(val4
);
31988 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31989 if (!SWIG_IsOK(ecode5
)) {
31990 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
31992 arg5
= static_cast< int >(val5
);
31994 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
31995 if (!SWIG_IsOK(ecode6
)) {
31996 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
31998 arg6
= static_cast< bool >(val6
);
32002 arg7
= wxString_in_helper(obj6
);
32003 if (arg7
== NULL
) SWIG_fail
;
32008 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32009 if (!SWIG_IsOK(ecode8
)) {
32010 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32012 arg8
= static_cast< wxFontEncoding
>(val8
);
32015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32016 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32017 wxPyEndAllowThreads(__tstate
);
32018 if (PyErr_Occurred()) SWIG_fail
;
32020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32035 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
= 0;
32037 wxFontList
*arg1
= (wxFontList
*) 0 ;
32038 wxFont
*arg2
= (wxFont
*) 0 ;
32043 PyObject
* obj0
= 0 ;
32044 PyObject
* obj1
= 0 ;
32045 char * kwnames
[] = {
32046 (char *) "self",(char *) "font", NULL
32049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32051 if (!SWIG_IsOK(res1
)) {
32052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32054 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32055 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32056 if (!SWIG_IsOK(res2
)) {
32057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32059 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 (arg1
)->AddFont(arg2
);
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= SWIG_Py_Void();
32073 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
= 0;
32075 wxFontList
*arg1
= (wxFontList
*) 0 ;
32076 wxFont
*arg2
= (wxFont
*) 0 ;
32081 PyObject
* obj0
= 0 ;
32082 PyObject
* obj1
= 0 ;
32083 char * kwnames
[] = {
32084 (char *) "self",(char *) "font", NULL
32087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32089 if (!SWIG_IsOK(res1
)) {
32090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32092 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32094 if (!SWIG_IsOK(res2
)) {
32095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32097 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 (arg1
)->RemoveFont(arg2
);
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 resultobj
= SWIG_Py_Void();
32111 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32114 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32115 return SWIG_Py_Void();
32118 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32119 PyObject
*resultobj
= 0;
32120 wxColourDatabase
*result
= 0 ;
32122 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32124 if (!wxPyCheckForApp()) SWIG_fail
;
32125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32126 result
= (wxColourDatabase
*)new wxColourDatabase();
32127 wxPyEndAllowThreads(__tstate
);
32128 if (PyErr_Occurred()) SWIG_fail
;
32130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32137 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32138 PyObject
*resultobj
= 0;
32139 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32142 PyObject
*swig_obj
[1] ;
32144 if (!args
) SWIG_fail
;
32145 swig_obj
[0] = args
;
32146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32147 if (!SWIG_IsOK(res1
)) {
32148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32150 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 wxPyEndAllowThreads(__tstate
);
32156 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= SWIG_Py_Void();
32165 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32166 PyObject
*resultobj
= 0;
32167 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32168 wxString
*arg2
= 0 ;
32172 bool temp2
= false ;
32173 PyObject
* obj0
= 0 ;
32174 PyObject
* obj1
= 0 ;
32175 char * kwnames
[] = {
32176 (char *) "self",(char *) "name", NULL
32179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32181 if (!SWIG_IsOK(res1
)) {
32182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32184 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32186 arg2
= wxString_in_helper(obj1
);
32187 if (arg2
== NULL
) SWIG_fail
;
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32192 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32193 wxPyEndAllowThreads(__tstate
);
32194 if (PyErr_Occurred()) SWIG_fail
;
32196 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32211 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
= 0;
32213 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32214 wxColour
*arg2
= 0 ;
32219 PyObject
* obj0
= 0 ;
32220 PyObject
* obj1
= 0 ;
32221 char * kwnames
[] = {
32222 (char *) "self",(char *) "colour", NULL
32225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32227 if (!SWIG_IsOK(res1
)) {
32228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32230 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32233 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32254 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32255 PyObject
*resultobj
= 0;
32256 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32257 wxString
*arg2
= 0 ;
32258 wxColour
*arg3
= 0 ;
32261 bool temp2
= false ;
32263 PyObject
* obj0
= 0 ;
32264 PyObject
* obj1
= 0 ;
32265 PyObject
* obj2
= 0 ;
32266 char * kwnames
[] = {
32267 (char *) "self",(char *) "name",(char *) "colour", NULL
32270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32272 if (!SWIG_IsOK(res1
)) {
32273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32275 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32277 arg2
= wxString_in_helper(obj1
);
32278 if (arg2
== NULL
) SWIG_fail
;
32283 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 resultobj
= SWIG_Py_Void();
32306 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32307 PyObject
*resultobj
= 0;
32308 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32309 wxString
*arg2
= 0 ;
32315 bool temp2
= false ;
32322 PyObject
* obj0
= 0 ;
32323 PyObject
* obj1
= 0 ;
32324 PyObject
* obj2
= 0 ;
32325 PyObject
* obj3
= 0 ;
32326 PyObject
* obj4
= 0 ;
32327 char * kwnames
[] = {
32328 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32333 if (!SWIG_IsOK(res1
)) {
32334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32336 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32338 arg2
= wxString_in_helper(obj1
);
32339 if (arg2
== NULL
) SWIG_fail
;
32342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32343 if (!SWIG_IsOK(ecode3
)) {
32344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32346 arg3
= static_cast< int >(val3
);
32347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32348 if (!SWIG_IsOK(ecode4
)) {
32349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32351 arg4
= static_cast< int >(val4
);
32352 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32353 if (!SWIG_IsOK(ecode5
)) {
32354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32356 arg5
= static_cast< int >(val5
);
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= SWIG_Py_Void();
32378 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32381 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32382 return SWIG_Py_Void();
32385 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32386 return SWIG_Python_InitShadowInstance(args
);
32389 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32390 PyObject
*resultobj
= 0;
32391 wxFontList
*result
= 0 ;
32393 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32396 result
= (wxFontList
*)_wxPyInitTheFontList();
32397 wxPyEndAllowThreads(__tstate
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32407 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32408 PyObject
*resultobj
= 0;
32409 wxPenList
*result
= 0 ;
32411 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 result
= (wxPenList
*)_wxPyInitThePenList();
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32425 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32426 PyObject
*resultobj
= 0;
32427 wxBrushList
*result
= 0 ;
32429 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32443 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32444 PyObject
*resultobj
= 0;
32445 wxColourDatabase
*result
= 0 ;
32447 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32461 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32462 PyObject
*resultobj
= 0;
32463 wxEffects
*result
= 0 ;
32465 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32468 result
= (wxEffects
*)new wxEffects();
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32479 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32480 PyObject
*resultobj
= 0;
32481 wxEffects
*arg1
= (wxEffects
*) 0 ;
32485 PyObject
*swig_obj
[1] ;
32487 if (!args
) SWIG_fail
;
32488 swig_obj
[0] = args
;
32489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32490 if (!SWIG_IsOK(res1
)) {
32491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32493 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32496 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32507 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32508 PyObject
*resultobj
= 0;
32509 wxEffects
*arg1
= (wxEffects
*) 0 ;
32513 PyObject
*swig_obj
[1] ;
32515 if (!args
) SWIG_fail
;
32516 swig_obj
[0] = args
;
32517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32518 if (!SWIG_IsOK(res1
)) {
32519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32521 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32528 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32535 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 PyObject
*resultobj
= 0;
32537 wxEffects
*arg1
= (wxEffects
*) 0 ;
32541 PyObject
*swig_obj
[1] ;
32543 if (!args
) SWIG_fail
;
32544 swig_obj
[0] = args
;
32545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32549 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32552 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32563 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32564 PyObject
*resultobj
= 0;
32565 wxEffects
*arg1
= (wxEffects
*) 0 ;
32569 PyObject
*swig_obj
[1] ;
32571 if (!args
) SWIG_fail
;
32572 swig_obj
[0] = args
;
32573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32574 if (!SWIG_IsOK(res1
)) {
32575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32577 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32580 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32581 wxPyEndAllowThreads(__tstate
);
32582 if (PyErr_Occurred()) SWIG_fail
;
32584 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32591 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32592 PyObject
*resultobj
= 0;
32593 wxEffects
*arg1
= (wxEffects
*) 0 ;
32597 PyObject
*swig_obj
[1] ;
32599 if (!args
) SWIG_fail
;
32600 swig_obj
[0] = args
;
32601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32602 if (!SWIG_IsOK(res1
)) {
32603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32605 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32608 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32609 wxPyEndAllowThreads(__tstate
);
32610 if (PyErr_Occurred()) SWIG_fail
;
32612 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32619 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
= 0;
32621 wxEffects
*arg1
= (wxEffects
*) 0 ;
32622 wxColour
*arg2
= 0 ;
32626 PyObject
* obj0
= 0 ;
32627 PyObject
* obj1
= 0 ;
32628 char * kwnames
[] = {
32629 (char *) "self",(char *) "c", NULL
32632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32634 if (!SWIG_IsOK(res1
)) {
32635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32637 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32640 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 resultobj
= SWIG_Py_Void();
32655 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32656 PyObject
*resultobj
= 0;
32657 wxEffects
*arg1
= (wxEffects
*) 0 ;
32658 wxColour
*arg2
= 0 ;
32662 PyObject
* obj0
= 0 ;
32663 PyObject
* obj1
= 0 ;
32664 char * kwnames
[] = {
32665 (char *) "self",(char *) "c", NULL
32668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32670 if (!SWIG_IsOK(res1
)) {
32671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32673 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32676 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32680 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32684 resultobj
= SWIG_Py_Void();
32691 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32692 PyObject
*resultobj
= 0;
32693 wxEffects
*arg1
= (wxEffects
*) 0 ;
32694 wxColour
*arg2
= 0 ;
32698 PyObject
* obj0
= 0 ;
32699 PyObject
* obj1
= 0 ;
32700 char * kwnames
[] = {
32701 (char *) "self",(char *) "c", NULL
32704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32706 if (!SWIG_IsOK(res1
)) {
32707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32709 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32712 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= SWIG_Py_Void();
32727 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
= 0;
32729 wxEffects
*arg1
= (wxEffects
*) 0 ;
32730 wxColour
*arg2
= 0 ;
32734 PyObject
* obj0
= 0 ;
32735 PyObject
* obj1
= 0 ;
32736 char * kwnames
[] = {
32737 (char *) "self",(char *) "c", NULL
32740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32742 if (!SWIG_IsOK(res1
)) {
32743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32745 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32748 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= SWIG_Py_Void();
32763 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
= 0;
32765 wxEffects
*arg1
= (wxEffects
*) 0 ;
32766 wxColour
*arg2
= 0 ;
32770 PyObject
* obj0
= 0 ;
32771 PyObject
* obj1
= 0 ;
32772 char * kwnames
[] = {
32773 (char *) "self",(char *) "c", NULL
32776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32778 if (!SWIG_IsOK(res1
)) {
32779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32781 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32784 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32788 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
32789 wxPyEndAllowThreads(__tstate
);
32790 if (PyErr_Occurred()) SWIG_fail
;
32792 resultobj
= SWIG_Py_Void();
32799 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32800 PyObject
*resultobj
= 0;
32801 wxEffects
*arg1
= (wxEffects
*) 0 ;
32802 wxColour
*arg2
= 0 ;
32803 wxColour
*arg3
= 0 ;
32804 wxColour
*arg4
= 0 ;
32805 wxColour
*arg5
= 0 ;
32806 wxColour
*arg6
= 0 ;
32814 PyObject
* obj0
= 0 ;
32815 PyObject
* obj1
= 0 ;
32816 PyObject
* obj2
= 0 ;
32817 PyObject
* obj3
= 0 ;
32818 PyObject
* obj4
= 0 ;
32819 PyObject
* obj5
= 0 ;
32820 char * kwnames
[] = {
32821 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
32824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32826 if (!SWIG_IsOK(res1
)) {
32827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
32829 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32836 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32840 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32844 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
32848 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= SWIG_Py_Void();
32863 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32864 PyObject
*resultobj
= 0;
32865 wxEffects
*arg1
= (wxEffects
*) 0 ;
32868 int arg4
= (int) 1 ;
32876 PyObject
* obj0
= 0 ;
32877 PyObject
* obj1
= 0 ;
32878 PyObject
* obj2
= 0 ;
32879 PyObject
* obj3
= 0 ;
32880 char * kwnames
[] = {
32881 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
32884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32886 if (!SWIG_IsOK(res1
)) {
32887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
32889 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
32891 if (!SWIG_IsOK(res2
)) {
32892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32897 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32900 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32903 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32904 if (!SWIG_IsOK(ecode4
)) {
32905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
32907 arg4
= static_cast< int >(val4
);
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 resultobj
= SWIG_Py_Void();
32922 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
= 0;
32924 wxEffects
*arg1
= (wxEffects
*) 0 ;
32927 wxBitmap
*arg4
= 0 ;
32936 PyObject
* obj0
= 0 ;
32937 PyObject
* obj1
= 0 ;
32938 PyObject
* obj2
= 0 ;
32939 PyObject
* obj3
= 0 ;
32940 char * kwnames
[] = {
32941 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
32944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32946 if (!SWIG_IsOK(res1
)) {
32947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
32949 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32952 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32954 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32955 if (!SWIG_IsOK(res3
)) {
32956 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
32959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
32961 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32962 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
32963 if (!SWIG_IsOK(res4
)) {
32964 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
32967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
32969 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32985 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32988 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
32989 return SWIG_Py_Void();
32992 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32993 return SWIG_Python_InitShadowInstance(args
);
32996 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32997 PyObject
*resultobj
= 0;
33001 wxSplitterRenderParams
*result
= 0 ;
33008 PyObject
* obj0
= 0 ;
33009 PyObject
* obj1
= 0 ;
33010 PyObject
* obj2
= 0 ;
33011 char * kwnames
[] = {
33012 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33017 if (!SWIG_IsOK(ecode1
)) {
33018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33020 arg1
= static_cast< int >(val1
);
33021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33022 if (!SWIG_IsOK(ecode2
)) {
33023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33025 arg2
= static_cast< int >(val2
);
33026 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33027 if (!SWIG_IsOK(ecode3
)) {
33028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33030 arg3
= static_cast< bool >(val3
);
33032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33033 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33044 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33045 PyObject
*resultobj
= 0;
33046 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33049 PyObject
*swig_obj
[1] ;
33051 if (!args
) SWIG_fail
;
33052 swig_obj
[0] = args
;
33053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33054 if (!SWIG_IsOK(res1
)) {
33055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33057 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33065 resultobj
= SWIG_Py_Void();
33072 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33073 PyObject
*resultobj
= 0;
33074 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33078 PyObject
*swig_obj
[1] ;
33080 if (!args
) SWIG_fail
;
33081 swig_obj
[0] = args
;
33082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33086 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33087 result
= (int)(int) ((arg1
)->widthSash
);
33088 resultobj
= SWIG_From_int(static_cast< int >(result
));
33095 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33096 PyObject
*resultobj
= 0;
33097 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33101 PyObject
*swig_obj
[1] ;
33103 if (!args
) SWIG_fail
;
33104 swig_obj
[0] = args
;
33105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33106 if (!SWIG_IsOK(res1
)) {
33107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33109 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33110 result
= (int)(int) ((arg1
)->border
);
33111 resultobj
= SWIG_From_int(static_cast< int >(result
));
33118 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33119 PyObject
*resultobj
= 0;
33120 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33124 PyObject
*swig_obj
[1] ;
33126 if (!args
) SWIG_fail
;
33127 swig_obj
[0] = args
;
33128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33129 if (!SWIG_IsOK(res1
)) {
33130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33132 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33133 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33134 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33141 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33144 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33145 return SWIG_Py_Void();
33148 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33149 return SWIG_Python_InitShadowInstance(args
);
33152 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33153 PyObject
*resultobj
= 0;
33154 wxHeaderButtonParams
*result
= 0 ;
33156 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33170 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33171 PyObject
*resultobj
= 0;
33172 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33175 PyObject
*swig_obj
[1] ;
33177 if (!args
) SWIG_fail
;
33178 swig_obj
[0] = args
;
33179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33180 if (!SWIG_IsOK(res1
)) {
33181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33183 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_Py_Void();
33198 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33199 PyObject
*resultobj
= 0;
33200 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33201 wxColour
*arg2
= (wxColour
*) 0 ;
33205 PyObject
*swig_obj
[2] ;
33207 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33209 if (!SWIG_IsOK(res1
)) {
33210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33212 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33215 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33217 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33219 resultobj
= SWIG_Py_Void();
33226 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33227 PyObject
*resultobj
= 0;
33228 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33229 wxColour
*result
= 0 ;
33232 PyObject
*swig_obj
[1] ;
33234 if (!args
) SWIG_fail
;
33235 swig_obj
[0] = args
;
33236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33237 if (!SWIG_IsOK(res1
)) {
33238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33240 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33241 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33249 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33250 PyObject
*resultobj
= 0;
33251 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33252 wxColour
*arg2
= (wxColour
*) 0 ;
33256 PyObject
*swig_obj
[2] ;
33258 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33260 if (!SWIG_IsOK(res1
)) {
33261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33263 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33266 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33268 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33270 resultobj
= SWIG_Py_Void();
33277 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33278 PyObject
*resultobj
= 0;
33279 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33280 wxColour
*result
= 0 ;
33283 PyObject
*swig_obj
[1] ;
33285 if (!args
) SWIG_fail
;
33286 swig_obj
[0] = args
;
33287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33288 if (!SWIG_IsOK(res1
)) {
33289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33291 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33292 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33300 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33301 PyObject
*resultobj
= 0;
33302 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33303 wxString
*arg2
= (wxString
*) 0 ;
33306 bool temp2
= false ;
33307 PyObject
*swig_obj
[2] ;
33309 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33311 if (!SWIG_IsOK(res1
)) {
33312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33314 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33316 arg2
= wxString_in_helper(swig_obj
[1]);
33317 if (arg2
== NULL
) SWIG_fail
;
33320 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33322 resultobj
= SWIG_Py_Void();
33337 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33338 PyObject
*resultobj
= 0;
33339 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33340 wxString
*result
= 0 ;
33343 PyObject
*swig_obj
[1] ;
33345 if (!args
) SWIG_fail
;
33346 swig_obj
[0] = args
;
33347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33348 if (!SWIG_IsOK(res1
)) {
33349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33351 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33352 result
= (wxString
*)& ((arg1
)->m_labelText
);
33355 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33357 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33366 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33367 PyObject
*resultobj
= 0;
33368 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33369 wxFont
*arg2
= (wxFont
*) 0 ;
33374 PyObject
*swig_obj
[2] ;
33376 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33378 if (!SWIG_IsOK(res1
)) {
33379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33381 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33382 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33383 if (!SWIG_IsOK(res2
)) {
33384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33386 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33387 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33389 resultobj
= SWIG_Py_Void();
33396 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33397 PyObject
*resultobj
= 0;
33398 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33399 wxFont
*result
= 0 ;
33402 PyObject
*swig_obj
[1] ;
33404 if (!args
) SWIG_fail
;
33405 swig_obj
[0] = args
;
33406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33407 if (!SWIG_IsOK(res1
)) {
33408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33410 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33411 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33419 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33420 PyObject
*resultobj
= 0;
33421 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33422 wxColour
*arg2
= (wxColour
*) 0 ;
33426 PyObject
*swig_obj
[2] ;
33428 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33430 if (!SWIG_IsOK(res1
)) {
33431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33433 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33436 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33438 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33440 resultobj
= SWIG_Py_Void();
33447 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33448 PyObject
*resultobj
= 0;
33449 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33450 wxColour
*result
= 0 ;
33453 PyObject
*swig_obj
[1] ;
33455 if (!args
) SWIG_fail
;
33456 swig_obj
[0] = args
;
33457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33458 if (!SWIG_IsOK(res1
)) {
33459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33461 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33462 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33470 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33471 PyObject
*resultobj
= 0;
33472 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33473 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33478 PyObject
*swig_obj
[2] ;
33480 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33482 if (!SWIG_IsOK(res1
)) {
33483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33485 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33486 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33487 if (!SWIG_IsOK(res2
)) {
33488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33490 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33491 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33493 resultobj
= SWIG_Py_Void();
33500 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33501 PyObject
*resultobj
= 0;
33502 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33503 wxBitmap
*result
= 0 ;
33506 PyObject
*swig_obj
[1] ;
33508 if (!args
) SWIG_fail
;
33509 swig_obj
[0] = args
;
33510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33511 if (!SWIG_IsOK(res1
)) {
33512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33514 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33515 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33523 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33524 PyObject
*resultobj
= 0;
33525 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33531 PyObject
*swig_obj
[2] ;
33533 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33535 if (!SWIG_IsOK(res1
)) {
33536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33538 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33539 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33540 if (!SWIG_IsOK(ecode2
)) {
33541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33543 arg2
= static_cast< int >(val2
);
33544 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33546 resultobj
= SWIG_Py_Void();
33553 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33554 PyObject
*resultobj
= 0;
33555 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33559 PyObject
*swig_obj
[1] ;
33561 if (!args
) SWIG_fail
;
33562 swig_obj
[0] = args
;
33563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33564 if (!SWIG_IsOK(res1
)) {
33565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33567 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33568 result
= (int) ((arg1
)->m_labelAlignment
);
33569 resultobj
= SWIG_From_int(static_cast< int >(result
));
33576 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33579 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33580 return SWIG_Py_Void();
33583 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33584 return SWIG_Python_InitShadowInstance(args
);
33587 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
= 0;
33591 wxRendererVersion
*result
= 0 ;
33596 PyObject
* obj0
= 0 ;
33597 PyObject
* obj1
= 0 ;
33598 char * kwnames
[] = {
33599 (char *) "version_",(char *) "age_", NULL
33602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33603 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33604 if (!SWIG_IsOK(ecode1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33607 arg1
= static_cast< int >(val1
);
33608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33609 if (!SWIG_IsOK(ecode2
)) {
33610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33612 arg2
= static_cast< int >(val2
);
33614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33615 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33626 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33627 PyObject
*resultobj
= 0;
33628 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33631 PyObject
*swig_obj
[1] ;
33633 if (!args
) SWIG_fail
;
33634 swig_obj
[0] = args
;
33635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33636 if (!SWIG_IsOK(res1
)) {
33637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33639 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= SWIG_Py_Void();
33654 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
= 0;
33656 wxRendererVersion
*arg1
= 0 ;
33660 PyObject
* obj0
= 0 ;
33661 char * kwnames
[] = {
33662 (char *) "ver", NULL
33665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33666 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33667 if (!SWIG_IsOK(res1
)) {
33668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33673 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33689 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33690 PyObject
*resultobj
= 0;
33691 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33695 PyObject
*swig_obj
[1] ;
33697 if (!args
) SWIG_fail
;
33698 swig_obj
[0] = args
;
33699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33703 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33704 result
= (int)(int) ((arg1
)->version
);
33705 resultobj
= SWIG_From_int(static_cast< int >(result
));
33712 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33713 PyObject
*resultobj
= 0;
33714 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33718 PyObject
*swig_obj
[1] ;
33720 if (!args
) SWIG_fail
;
33721 swig_obj
[0] = args
;
33722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33723 if (!SWIG_IsOK(res1
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33726 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33727 result
= (int)(int) ((arg1
)->age
);
33728 resultobj
= SWIG_From_int(static_cast< int >(result
));
33735 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33738 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33739 return SWIG_Py_Void();
33742 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33743 return SWIG_Python_InitShadowInstance(args
);
33746 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33747 PyObject
*resultobj
= 0;
33748 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33749 wxWindow
*arg2
= (wxWindow
*) 0 ;
33752 int arg5
= (int) 0 ;
33753 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33754 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33768 PyObject
* obj0
= 0 ;
33769 PyObject
* obj1
= 0 ;
33770 PyObject
* obj2
= 0 ;
33771 PyObject
* obj3
= 0 ;
33772 PyObject
* obj4
= 0 ;
33773 PyObject
* obj5
= 0 ;
33774 PyObject
* obj6
= 0 ;
33775 char * kwnames
[] = {
33776 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33781 if (!SWIG_IsOK(res1
)) {
33782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33784 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33786 if (!SWIG_IsOK(res2
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33789 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33790 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33791 if (!SWIG_IsOK(res3
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33797 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33800 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33803 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33804 if (!SWIG_IsOK(ecode5
)) {
33805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
33807 arg5
= static_cast< int >(val5
);
33810 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33811 if (!SWIG_IsOK(ecode6
)) {
33812 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33814 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33817 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33818 if (!SWIG_IsOK(res7
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33821 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= SWIG_Py_Void();
33836 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33837 PyObject
*resultobj
= 0;
33838 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33839 wxWindow
*arg2
= (wxWindow
*) 0 ;
33842 int arg5
= (int) 0 ;
33843 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33844 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33858 PyObject
* obj0
= 0 ;
33859 PyObject
* obj1
= 0 ;
33860 PyObject
* obj2
= 0 ;
33861 PyObject
* obj3
= 0 ;
33862 PyObject
* obj4
= 0 ;
33863 PyObject
* obj5
= 0 ;
33864 PyObject
* obj6
= 0 ;
33865 char * kwnames
[] = {
33866 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33871 if (!SWIG_IsOK(res1
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33874 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33876 if (!SWIG_IsOK(res2
)) {
33877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
33879 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33880 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33881 if (!SWIG_IsOK(res3
)) {
33882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33887 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33890 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33893 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33894 if (!SWIG_IsOK(ecode5
)) {
33895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
33897 arg5
= static_cast< int >(val5
);
33900 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33901 if (!SWIG_IsOK(ecode6
)) {
33902 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33904 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33907 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33908 if (!SWIG_IsOK(res7
)) {
33909 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33911 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33915 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 resultobj
= SWIG_Py_Void();
33926 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33927 PyObject
*resultobj
= 0;
33928 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33929 wxWindow
*arg2
= (wxWindow
*) 0 ;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 char * kwnames
[] = {
33938 (char *) "self",(char *) "win", NULL
33941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33943 if (!SWIG_IsOK(res1
)) {
33944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33946 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33948 if (!SWIG_IsOK(res2
)) {
33949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
33951 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33954 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
33955 wxPyEndAllowThreads(__tstate
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33958 resultobj
= SWIG_From_int(static_cast< int >(result
));
33965 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33966 PyObject
*resultobj
= 0;
33967 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33968 wxWindow
*arg2
= (wxWindow
*) 0 ;
33971 int arg5
= (int) 0 ;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 PyObject
* obj2
= 0 ;
33984 PyObject
* obj3
= 0 ;
33985 PyObject
* obj4
= 0 ;
33986 char * kwnames
[] = {
33987 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
33990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33992 if (!SWIG_IsOK(res1
)) {
33993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33995 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33997 if (!SWIG_IsOK(res2
)) {
33998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34001 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34002 if (!SWIG_IsOK(res3
)) {
34003 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34008 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34011 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34014 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34015 if (!SWIG_IsOK(ecode5
)) {
34016 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34018 arg5
= static_cast< int >(val5
);
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= SWIG_Py_Void();
34033 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
= 0;
34035 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34036 wxWindow
*arg2
= (wxWindow
*) 0 ;
34039 int arg5
= (int) 0 ;
34049 PyObject
* obj0
= 0 ;
34050 PyObject
* obj1
= 0 ;
34051 PyObject
* obj2
= 0 ;
34052 PyObject
* obj3
= 0 ;
34053 PyObject
* obj4
= 0 ;
34054 char * kwnames
[] = {
34055 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34060 if (!SWIG_IsOK(res1
)) {
34061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34063 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34065 if (!SWIG_IsOK(res2
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34069 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34070 if (!SWIG_IsOK(res3
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34076 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34079 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34083 if (!SWIG_IsOK(ecode5
)) {
34084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34086 arg5
= static_cast< int >(val5
);
34089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34090 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34091 wxPyEndAllowThreads(__tstate
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= SWIG_Py_Void();
34101 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34102 PyObject
*resultobj
= 0;
34103 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34104 wxWindow
*arg2
= (wxWindow
*) 0 ;
34108 wxOrientation arg6
;
34109 int arg7
= (int) 0 ;
34123 PyObject
* obj0
= 0 ;
34124 PyObject
* obj1
= 0 ;
34125 PyObject
* obj2
= 0 ;
34126 PyObject
* obj3
= 0 ;
34127 PyObject
* obj4
= 0 ;
34128 PyObject
* obj5
= 0 ;
34129 PyObject
* obj6
= 0 ;
34130 char * kwnames
[] = {
34131 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34136 if (!SWIG_IsOK(res1
)) {
34137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34139 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34141 if (!SWIG_IsOK(res2
)) {
34142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34144 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34145 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34146 if (!SWIG_IsOK(res3
)) {
34147 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34152 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34155 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34157 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34158 if (!SWIG_IsOK(ecode5
)) {
34159 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34161 arg5
= static_cast< int >(val5
);
34162 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34163 if (!SWIG_IsOK(ecode6
)) {
34164 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34166 arg6
= static_cast< wxOrientation
>(val6
);
34168 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34169 if (!SWIG_IsOK(ecode7
)) {
34170 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34172 arg7
= static_cast< int >(val7
);
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34180 resultobj
= SWIG_Py_Void();
34187 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
= 0;
34189 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34190 wxWindow
*arg2
= (wxWindow
*) 0 ;
34193 int arg5
= (int) 0 ;
34203 PyObject
* obj0
= 0 ;
34204 PyObject
* obj1
= 0 ;
34205 PyObject
* obj2
= 0 ;
34206 PyObject
* obj3
= 0 ;
34207 PyObject
* obj4
= 0 ;
34208 char * kwnames
[] = {
34209 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34214 if (!SWIG_IsOK(res1
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34217 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34219 if (!SWIG_IsOK(res2
)) {
34220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34222 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34223 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34224 if (!SWIG_IsOK(res3
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34230 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34233 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34236 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34237 if (!SWIG_IsOK(ecode5
)) {
34238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34240 arg5
= static_cast< int >(val5
);
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 resultobj
= SWIG_Py_Void();
34255 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
= 0;
34257 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34258 wxWindow
*arg2
= (wxWindow
*) 0 ;
34261 int arg5
= (int) 0 ;
34271 PyObject
* obj0
= 0 ;
34272 PyObject
* obj1
= 0 ;
34273 PyObject
* obj2
= 0 ;
34274 PyObject
* obj3
= 0 ;
34275 PyObject
* obj4
= 0 ;
34276 char * kwnames
[] = {
34277 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34282 if (!SWIG_IsOK(res1
)) {
34283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34285 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34287 if (!SWIG_IsOK(res2
)) {
34288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34290 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34291 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34292 if (!SWIG_IsOK(res3
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34298 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34301 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34305 if (!SWIG_IsOK(ecode5
)) {
34306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34308 arg5
= static_cast< int >(val5
);
34311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34312 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34313 wxPyEndAllowThreads(__tstate
);
34314 if (PyErr_Occurred()) SWIG_fail
;
34316 resultobj
= SWIG_Py_Void();
34323 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34324 PyObject
*resultobj
= 0;
34325 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34326 wxWindow
*arg2
= (wxWindow
*) 0 ;
34329 int arg5
= (int) 0 ;
34339 PyObject
* obj0
= 0 ;
34340 PyObject
* obj1
= 0 ;
34341 PyObject
* obj2
= 0 ;
34342 PyObject
* obj3
= 0 ;
34343 PyObject
* obj4
= 0 ;
34344 char * kwnames
[] = {
34345 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34350 if (!SWIG_IsOK(res1
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34353 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34355 if (!SWIG_IsOK(res2
)) {
34356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34358 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34359 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34360 if (!SWIG_IsOK(res3
)) {
34361 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34366 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34369 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34373 if (!SWIG_IsOK(ecode5
)) {
34374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34376 arg5
= static_cast< int >(val5
);
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34381 wxPyEndAllowThreads(__tstate
);
34382 if (PyErr_Occurred()) SWIG_fail
;
34384 resultobj
= SWIG_Py_Void();
34391 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34392 PyObject
*resultobj
= 0;
34393 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34394 wxWindow
*arg2
= (wxWindow
*) 0 ;
34397 int arg5
= (int) 0 ;
34407 PyObject
* obj0
= 0 ;
34408 PyObject
* obj1
= 0 ;
34409 PyObject
* obj2
= 0 ;
34410 PyObject
* obj3
= 0 ;
34411 PyObject
* obj4
= 0 ;
34412 char * kwnames
[] = {
34413 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34418 if (!SWIG_IsOK(res1
)) {
34419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34421 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34422 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34423 if (!SWIG_IsOK(res2
)) {
34424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34426 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34427 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34428 if (!SWIG_IsOK(res3
)) {
34429 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34434 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34437 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34440 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34441 if (!SWIG_IsOK(ecode5
)) {
34442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34444 arg5
= static_cast< int >(val5
);
34447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34448 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34452 resultobj
= SWIG_Py_Void();
34459 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34460 PyObject
*resultobj
= 0;
34461 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34462 wxWindow
*arg2
= (wxWindow
*) 0 ;
34465 int arg5
= (int) 0 ;
34475 PyObject
* obj0
= 0 ;
34476 PyObject
* obj1
= 0 ;
34477 PyObject
* obj2
= 0 ;
34478 PyObject
* obj3
= 0 ;
34479 PyObject
* obj4
= 0 ;
34480 char * kwnames
[] = {
34481 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34486 if (!SWIG_IsOK(res1
)) {
34487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34489 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34490 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34491 if (!SWIG_IsOK(res2
)) {
34492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34494 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34495 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34496 if (!SWIG_IsOK(res3
)) {
34497 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34502 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34505 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34508 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34509 if (!SWIG_IsOK(ecode5
)) {
34510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34512 arg5
= static_cast< int >(val5
);
34515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34516 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34517 wxPyEndAllowThreads(__tstate
);
34518 if (PyErr_Occurred()) SWIG_fail
;
34520 resultobj
= SWIG_Py_Void();
34527 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34528 PyObject
*resultobj
= 0;
34529 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34530 wxWindow
*arg2
= (wxWindow
*) 0 ;
34531 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 char * kwnames
[] = {
34539 (char *) "self",(char *) "win", NULL
34542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34544 if (!SWIG_IsOK(res1
)) {
34545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34547 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34549 if (!SWIG_IsOK(res2
)) {
34550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34552 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34555 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34556 wxPyEndAllowThreads(__tstate
);
34557 if (PyErr_Occurred()) SWIG_fail
;
34559 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34566 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34567 PyObject
*resultobj
= 0;
34568 wxRendererNative
*result
= 0 ;
34570 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34572 if (!wxPyCheckForApp()) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34576 result
= (wxRendererNative
*) &_result_ref
;
34578 wxPyEndAllowThreads(__tstate
);
34579 if (PyErr_Occurred()) SWIG_fail
;
34581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34588 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34589 PyObject
*resultobj
= 0;
34590 wxRendererNative
*result
= 0 ;
34592 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34594 if (!wxPyCheckForApp()) SWIG_fail
;
34595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34597 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34598 result
= (wxRendererNative
*) &_result_ref
;
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34610 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34611 PyObject
*resultobj
= 0;
34612 wxRendererNative
*result
= 0 ;
34614 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34616 if (!wxPyCheckForApp()) SWIG_fail
;
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34620 result
= (wxRendererNative
*) &_result_ref
;
34622 wxPyEndAllowThreads(__tstate
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34632 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34633 PyObject
*resultobj
= 0;
34634 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34635 wxRendererNative
*result
= 0 ;
34638 PyObject
* obj0
= 0 ;
34639 char * kwnames
[] = {
34640 (char *) "renderer", NULL
34643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34645 if (!SWIG_IsOK(res1
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34648 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34650 if (!wxPyCheckForApp()) SWIG_fail
;
34651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34652 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34653 wxPyEndAllowThreads(__tstate
);
34654 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34663 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34664 PyObject
*resultobj
= 0;
34665 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34666 SwigValueWrapper
<wxRendererVersion
> result
;
34669 PyObject
*swig_obj
[1] ;
34671 if (!args
) SWIG_fail
;
34672 swig_obj
[0] = args
;
34673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34674 if (!SWIG_IsOK(res1
)) {
34675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34677 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34684 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34691 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34694 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34695 return SWIG_Py_Void();
34698 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34699 PyObject
*resultobj
= 0;
34700 wxPseudoDC
*result
= 0 ;
34702 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 result
= (wxPseudoDC
*)new wxPseudoDC();
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34716 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34717 PyObject
*resultobj
= 0;
34718 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34721 PyObject
*swig_obj
[1] ;
34723 if (!args
) SWIG_fail
;
34724 swig_obj
[0] = args
;
34725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34726 if (!SWIG_IsOK(res1
)) {
34727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34729 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 (arg1
)->BeginDrawing();
34733 wxPyEndAllowThreads(__tstate
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34736 resultobj
= SWIG_Py_Void();
34743 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34744 PyObject
*resultobj
= 0;
34745 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34748 PyObject
*swig_obj
[1] ;
34750 if (!args
) SWIG_fail
;
34751 swig_obj
[0] = args
;
34752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34753 if (!SWIG_IsOK(res1
)) {
34754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34756 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 (arg1
)->EndDrawing();
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 resultobj
= SWIG_Py_Void();
34770 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34771 PyObject
*resultobj
= 0;
34772 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34775 PyObject
*swig_obj
[1] ;
34777 if (!args
) SWIG_fail
;
34778 swig_obj
[0] = args
;
34779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34780 if (!SWIG_IsOK(res1
)) {
34781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34783 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34788 wxPyEndAllowThreads(__tstate
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34791 resultobj
= SWIG_Py_Void();
34798 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34799 PyObject
*resultobj
= 0;
34800 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34803 PyObject
*swig_obj
[1] ;
34805 if (!args
) SWIG_fail
;
34806 swig_obj
[0] = args
;
34807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34808 if (!SWIG_IsOK(res1
)) {
34809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34814 (arg1
)->RemoveAll();
34815 wxPyEndAllowThreads(__tstate
);
34816 if (PyErr_Occurred()) SWIG_fail
;
34818 resultobj
= SWIG_Py_Void();
34825 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34826 PyObject
*resultobj
= 0;
34827 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34831 PyObject
*swig_obj
[1] ;
34833 if (!args
) SWIG_fail
;
34834 swig_obj
[0] = args
;
34835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34836 if (!SWIG_IsOK(res1
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34839 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 result
= (int)(arg1
)->GetLen();
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34846 resultobj
= SWIG_From_int(static_cast< int >(result
));
34853 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34854 PyObject
*resultobj
= 0;
34855 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34861 PyObject
* obj0
= 0 ;
34862 PyObject
* obj1
= 0 ;
34863 char * kwnames
[] = {
34864 (char *) "self",(char *) "id", NULL
34867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34869 if (!SWIG_IsOK(res1
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34872 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34874 if (!SWIG_IsOK(ecode2
)) {
34875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
34877 arg2
= static_cast< int >(val2
);
34879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34880 (arg1
)->SetId(arg2
);
34881 wxPyEndAllowThreads(__tstate
);
34882 if (PyErr_Occurred()) SWIG_fail
;
34884 resultobj
= SWIG_Py_Void();
34891 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
= 0;
34893 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34899 PyObject
* obj0
= 0 ;
34900 PyObject
* obj1
= 0 ;
34901 char * kwnames
[] = {
34902 (char *) "self",(char *) "id", NULL
34905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34910 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34912 if (!SWIG_IsOK(ecode2
)) {
34913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
34915 arg2
= static_cast< int >(val2
);
34917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34918 (arg1
)->ClearId(arg2
);
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34922 resultobj
= SWIG_Py_Void();
34929 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34930 PyObject
*resultobj
= 0;
34931 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34937 PyObject
* obj0
= 0 ;
34938 PyObject
* obj1
= 0 ;
34939 char * kwnames
[] = {
34940 (char *) "self",(char *) "id", NULL
34943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34945 if (!SWIG_IsOK(res1
)) {
34946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34950 if (!SWIG_IsOK(ecode2
)) {
34951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
34953 arg2
= static_cast< int >(val2
);
34955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34956 (arg1
)->RemoveId(arg2
);
34957 wxPyEndAllowThreads(__tstate
);
34958 if (PyErr_Occurred()) SWIG_fail
;
34960 resultobj
= SWIG_Py_Void();
34967 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34968 PyObject
*resultobj
= 0;
34969 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34981 PyObject
* obj0
= 0 ;
34982 PyObject
* obj1
= 0 ;
34983 PyObject
* obj2
= 0 ;
34984 PyObject
* obj3
= 0 ;
34985 char * kwnames
[] = {
34986 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
34989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34991 if (!SWIG_IsOK(res1
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34996 if (!SWIG_IsOK(ecode2
)) {
34997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
34999 arg2
= static_cast< int >(val2
);
35000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35001 if (!SWIG_IsOK(ecode3
)) {
35002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35004 arg3
= static_cast< int >(val3
);
35005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35006 if (!SWIG_IsOK(ecode4
)) {
35007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35009 arg4
= static_cast< int >(val4
);
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35012 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 resultobj
= SWIG_Py_Void();
35023 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
= 0;
35025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35027 bool arg3
= (bool) true ;
35034 PyObject
* obj0
= 0 ;
35035 PyObject
* obj1
= 0 ;
35036 PyObject
* obj2
= 0 ;
35037 char * kwnames
[] = {
35038 (char *) "self",(char *) "id",(char *) "greyout", NULL
35041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35043 if (!SWIG_IsOK(res1
)) {
35044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35046 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35048 if (!SWIG_IsOK(ecode2
)) {
35049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35051 arg2
= static_cast< int >(val2
);
35053 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35054 if (!SWIG_IsOK(ecode3
)) {
35055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35057 arg3
= static_cast< bool >(val3
);
35060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35061 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35062 wxPyEndAllowThreads(__tstate
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35065 resultobj
= SWIG_Py_Void();
35072 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35073 PyObject
*resultobj
= 0;
35074 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35081 PyObject
* obj0
= 0 ;
35082 PyObject
* obj1
= 0 ;
35083 char * kwnames
[] = {
35084 (char *) "self",(char *) "id", NULL
35087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35089 if (!SWIG_IsOK(res1
)) {
35090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35092 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35094 if (!SWIG_IsOK(ecode2
)) {
35095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35097 arg2
= static_cast< int >(val2
);
35099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35100 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35113 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
= 0;
35115 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35118 int arg4
= (int) 1 ;
35119 wxColor
const &arg5_defvalue
= *wxWHITE
;
35120 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35121 PyObject
*result
= 0 ;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 PyObject
* obj2
= 0 ;
35135 PyObject
* obj3
= 0 ;
35136 PyObject
* obj4
= 0 ;
35137 char * kwnames
[] = {
35138 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35143 if (!SWIG_IsOK(res1
)) {
35144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35148 if (!SWIG_IsOK(ecode2
)) {
35149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35151 arg2
= static_cast< int >(val2
);
35152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35153 if (!SWIG_IsOK(ecode3
)) {
35154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35156 arg3
= static_cast< int >(val3
);
35158 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35159 if (!SWIG_IsOK(ecode4
)) {
35160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35162 arg4
= static_cast< int >(val4
);
35165 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35166 if (!SWIG_IsOK(res5
)) {
35167 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35172 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35175 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35176 if (PyErr_Occurred()) SWIG_fail
;
35178 resultobj
= result
;
35185 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35186 PyObject
*resultobj
= 0;
35187 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35190 PyObject
*result
= 0 ;
35197 PyObject
* obj0
= 0 ;
35198 PyObject
* obj1
= 0 ;
35199 PyObject
* obj2
= 0 ;
35200 char * kwnames
[] = {
35201 (char *) "self",(char *) "x",(char *) "y", NULL
35204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35206 if (!SWIG_IsOK(res1
)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35209 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35211 if (!SWIG_IsOK(ecode2
)) {
35212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35214 arg2
= static_cast< int >(val2
);
35215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35216 if (!SWIG_IsOK(ecode3
)) {
35217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35219 arg3
= static_cast< int >(val3
);
35221 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35222 if (PyErr_Occurred()) SWIG_fail
;
35224 resultobj
= result
;
35231 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35232 PyObject
*resultobj
= 0;
35233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35235 wxDC
*arg3
= (wxDC
*) 0 ;
35242 PyObject
* obj0
= 0 ;
35243 PyObject
* obj1
= 0 ;
35244 PyObject
* obj2
= 0 ;
35245 char * kwnames
[] = {
35246 (char *) "self",(char *) "id",(char *) "dc", NULL
35249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35251 if (!SWIG_IsOK(res1
)) {
35252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35254 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35256 if (!SWIG_IsOK(ecode2
)) {
35257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35259 arg2
= static_cast< int >(val2
);
35260 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35261 if (!SWIG_IsOK(res3
)) {
35262 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35264 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35267 (arg1
)->DrawIdToDC(arg2
,arg3
);
35268 wxPyEndAllowThreads(__tstate
);
35269 if (PyErr_Occurred()) SWIG_fail
;
35271 resultobj
= SWIG_Py_Void();
35278 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35279 PyObject
*resultobj
= 0;
35280 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35288 PyObject
* obj0
= 0 ;
35289 PyObject
* obj1
= 0 ;
35290 PyObject
* obj2
= 0 ;
35291 char * kwnames
[] = {
35292 (char *) "self",(char *) "id",(char *) "rect", NULL
35295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35297 if (!SWIG_IsOK(res1
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35300 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35302 if (!SWIG_IsOK(ecode2
)) {
35303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35305 arg2
= static_cast< int >(val2
);
35308 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 (arg1
)->SetIdBounds(arg2
,*arg3
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= SWIG_Py_Void();
35323 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35324 PyObject
*resultobj
= 0;
35325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35332 PyObject
* obj0
= 0 ;
35333 PyObject
* obj1
= 0 ;
35334 char * kwnames
[] = {
35335 (char *) "self",(char *) "id", NULL
35338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35340 if (!SWIG_IsOK(res1
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35345 if (!SWIG_IsOK(ecode2
)) {
35346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35348 arg2
= static_cast< int >(val2
);
35350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35352 wxPyEndAllowThreads(__tstate
);
35353 if (PyErr_Occurred()) SWIG_fail
;
35355 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35362 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35363 PyObject
*resultobj
= 0;
35364 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35365 wxDC
*arg2
= (wxDC
*) 0 ;
35372 PyObject
* obj0
= 0 ;
35373 PyObject
* obj1
= 0 ;
35374 PyObject
* obj2
= 0 ;
35375 char * kwnames
[] = {
35376 (char *) "self",(char *) "dc",(char *) "rect", NULL
35379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35381 if (!SWIG_IsOK(res1
)) {
35382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35384 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35386 if (!SWIG_IsOK(res2
)) {
35387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35389 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35392 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35400 resultobj
= SWIG_Py_Void();
35407 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35408 PyObject
*resultobj
= 0;
35409 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35410 wxDC
*arg2
= (wxDC
*) 0 ;
35411 wxRegion
*arg3
= 0 ;
35418 PyObject
* obj0
= 0 ;
35419 PyObject
* obj1
= 0 ;
35420 PyObject
* obj2
= 0 ;
35421 char * kwnames
[] = {
35422 (char *) "self",(char *) "dc",(char *) "region", NULL
35425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35427 if (!SWIG_IsOK(res1
)) {
35428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35430 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35432 if (!SWIG_IsOK(res2
)) {
35433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35435 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35436 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35437 if (!SWIG_IsOK(res3
)) {
35438 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35443 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35446 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35447 wxPyEndAllowThreads(__tstate
);
35448 if (PyErr_Occurred()) SWIG_fail
;
35450 resultobj
= SWIG_Py_Void();
35457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35458 PyObject
*resultobj
= 0;
35459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35460 wxDC
*arg2
= (wxDC
*) 0 ;
35465 PyObject
* obj0
= 0 ;
35466 PyObject
* obj1
= 0 ;
35467 char * kwnames
[] = {
35468 (char *) "self",(char *) "dc", NULL
35471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35473 if (!SWIG_IsOK(res1
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35476 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35478 if (!SWIG_IsOK(res2
)) {
35479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35481 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35484 (arg1
)->DrawToDC(arg2
);
35485 wxPyEndAllowThreads(__tstate
);
35486 if (PyErr_Occurred()) SWIG_fail
;
35488 resultobj
= SWIG_Py_Void();
35495 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35496 PyObject
*resultobj
= 0;
35497 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35500 wxColour
*arg4
= 0 ;
35501 int arg5
= (int) wxFLOOD_SURFACE
;
35511 PyObject
* obj0
= 0 ;
35512 PyObject
* obj1
= 0 ;
35513 PyObject
* obj2
= 0 ;
35514 PyObject
* obj3
= 0 ;
35515 PyObject
* obj4
= 0 ;
35516 char * kwnames
[] = {
35517 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35522 if (!SWIG_IsOK(res1
)) {
35523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35527 if (!SWIG_IsOK(ecode2
)) {
35528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35530 arg2
= static_cast< int >(val2
);
35531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35532 if (!SWIG_IsOK(ecode3
)) {
35533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35535 arg3
= static_cast< int >(val3
);
35538 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35542 if (!SWIG_IsOK(ecode5
)) {
35543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35545 arg5
= static_cast< int >(val5
);
35548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35549 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35550 wxPyEndAllowThreads(__tstate
);
35551 if (PyErr_Occurred()) SWIG_fail
;
35553 resultobj
= SWIG_Py_Void();
35560 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35561 PyObject
*resultobj
= 0;
35562 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35563 wxPoint
*arg2
= 0 ;
35564 wxColour
*arg3
= 0 ;
35565 int arg4
= (int) wxFLOOD_SURFACE
;
35572 PyObject
* obj0
= 0 ;
35573 PyObject
* obj1
= 0 ;
35574 PyObject
* obj2
= 0 ;
35575 PyObject
* obj3
= 0 ;
35576 char * kwnames
[] = {
35577 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35582 if (!SWIG_IsOK(res1
)) {
35583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35585 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35588 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35592 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35596 if (!SWIG_IsOK(ecode4
)) {
35597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35599 arg4
= static_cast< int >(val4
);
35602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35603 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35604 wxPyEndAllowThreads(__tstate
);
35605 if (PyErr_Occurred()) SWIG_fail
;
35607 resultobj
= SWIG_Py_Void();
35614 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35615 PyObject
*resultobj
= 0;
35616 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35631 PyObject
* obj0
= 0 ;
35632 PyObject
* obj1
= 0 ;
35633 PyObject
* obj2
= 0 ;
35634 PyObject
* obj3
= 0 ;
35635 PyObject
* obj4
= 0 ;
35636 char * kwnames
[] = {
35637 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35642 if (!SWIG_IsOK(res1
)) {
35643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35645 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35647 if (!SWIG_IsOK(ecode2
)) {
35648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35650 arg2
= static_cast< int >(val2
);
35651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35652 if (!SWIG_IsOK(ecode3
)) {
35653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35655 arg3
= static_cast< int >(val3
);
35656 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35657 if (!SWIG_IsOK(ecode4
)) {
35658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35660 arg4
= static_cast< int >(val4
);
35661 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35662 if (!SWIG_IsOK(ecode5
)) {
35663 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35665 arg5
= static_cast< int >(val5
);
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= SWIG_Py_Void();
35679 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35682 wxPoint
*arg2
= 0 ;
35683 wxPoint
*arg3
= 0 ;
35688 PyObject
* obj0
= 0 ;
35689 PyObject
* obj1
= 0 ;
35690 PyObject
* obj2
= 0 ;
35691 char * kwnames
[] = {
35692 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35697 if (!SWIG_IsOK(res1
)) {
35698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35700 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35703 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35711 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35712 wxPyEndAllowThreads(__tstate
);
35713 if (PyErr_Occurred()) SWIG_fail
;
35715 resultobj
= SWIG_Py_Void();
35722 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35723 PyObject
*resultobj
= 0;
35724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35733 PyObject
* obj0
= 0 ;
35734 PyObject
* obj1
= 0 ;
35735 PyObject
* obj2
= 0 ;
35736 char * kwnames
[] = {
35737 (char *) "self",(char *) "x",(char *) "y", NULL
35740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35742 if (!SWIG_IsOK(res1
)) {
35743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35745 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35747 if (!SWIG_IsOK(ecode2
)) {
35748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35750 arg2
= static_cast< int >(val2
);
35751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35752 if (!SWIG_IsOK(ecode3
)) {
35753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35755 arg3
= static_cast< int >(val3
);
35757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35758 (arg1
)->CrossHair(arg2
,arg3
);
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35762 resultobj
= SWIG_Py_Void();
35769 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35770 PyObject
*resultobj
= 0;
35771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35772 wxPoint
*arg2
= 0 ;
35776 PyObject
* obj0
= 0 ;
35777 PyObject
* obj1
= 0 ;
35778 char * kwnames
[] = {
35779 (char *) "self",(char *) "pt", NULL
35782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35784 if (!SWIG_IsOK(res1
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35787 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
35795 wxPyEndAllowThreads(__tstate
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35798 resultobj
= SWIG_Py_Void();
35805 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35806 PyObject
*resultobj
= 0;
35807 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35828 PyObject
* obj0
= 0 ;
35829 PyObject
* obj1
= 0 ;
35830 PyObject
* obj2
= 0 ;
35831 PyObject
* obj3
= 0 ;
35832 PyObject
* obj4
= 0 ;
35833 PyObject
* obj5
= 0 ;
35834 PyObject
* obj6
= 0 ;
35835 char * kwnames
[] = {
35836 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
35839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35841 if (!SWIG_IsOK(res1
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35844 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35846 if (!SWIG_IsOK(ecode2
)) {
35847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
35849 arg2
= static_cast< int >(val2
);
35850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35851 if (!SWIG_IsOK(ecode3
)) {
35852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
35854 arg3
= static_cast< int >(val3
);
35855 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35856 if (!SWIG_IsOK(ecode4
)) {
35857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
35859 arg4
= static_cast< int >(val4
);
35860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35861 if (!SWIG_IsOK(ecode5
)) {
35862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
35864 arg5
= static_cast< int >(val5
);
35865 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35866 if (!SWIG_IsOK(ecode6
)) {
35867 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
35869 arg6
= static_cast< int >(val6
);
35870 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35871 if (!SWIG_IsOK(ecode7
)) {
35872 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
35874 arg7
= static_cast< int >(val7
);
35876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35877 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35878 wxPyEndAllowThreads(__tstate
);
35879 if (PyErr_Occurred()) SWIG_fail
;
35881 resultobj
= SWIG_Py_Void();
35888 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
= 0;
35890 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35891 wxPoint
*arg2
= 0 ;
35892 wxPoint
*arg3
= 0 ;
35893 wxPoint
*arg4
= 0 ;
35899 PyObject
* obj0
= 0 ;
35900 PyObject
* obj1
= 0 ;
35901 PyObject
* obj2
= 0 ;
35902 PyObject
* obj3
= 0 ;
35903 char * kwnames
[] = {
35904 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
35907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35909 if (!SWIG_IsOK(res1
)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35912 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35919 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35927 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
35928 wxPyEndAllowThreads(__tstate
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35931 resultobj
= SWIG_Py_Void();
35938 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35939 PyObject
*resultobj
= 0;
35940 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35955 PyObject
* obj0
= 0 ;
35956 PyObject
* obj1
= 0 ;
35957 PyObject
* obj2
= 0 ;
35958 PyObject
* obj3
= 0 ;
35959 PyObject
* obj4
= 0 ;
35960 char * kwnames
[] = {
35961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35966 if (!SWIG_IsOK(res1
)) {
35967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35969 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35971 if (!SWIG_IsOK(ecode2
)) {
35972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
35974 arg2
= static_cast< int >(val2
);
35975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35976 if (!SWIG_IsOK(ecode3
)) {
35977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
35979 arg3
= static_cast< int >(val3
);
35980 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35981 if (!SWIG_IsOK(ecode4
)) {
35982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
35984 arg4
= static_cast< int >(val4
);
35985 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35986 if (!SWIG_IsOK(ecode5
)) {
35987 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
35989 arg5
= static_cast< int >(val5
);
35991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35992 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
35993 wxPyEndAllowThreads(__tstate
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 resultobj
= SWIG_Py_Void();
36003 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
= 0;
36005 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36010 PyObject
* obj0
= 0 ;
36011 PyObject
* obj1
= 0 ;
36012 char * kwnames
[] = {
36013 (char *) "self",(char *) "rect", NULL
36016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36018 if (!SWIG_IsOK(res1
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36021 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36024 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36028 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36032 resultobj
= SWIG_Py_Void();
36039 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36040 PyObject
*resultobj
= 0;
36041 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36062 PyObject
* obj0
= 0 ;
36063 PyObject
* obj1
= 0 ;
36064 PyObject
* obj2
= 0 ;
36065 PyObject
* obj3
= 0 ;
36066 PyObject
* obj4
= 0 ;
36067 PyObject
* obj5
= 0 ;
36068 PyObject
* obj6
= 0 ;
36069 char * kwnames
[] = {
36070 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36075 if (!SWIG_IsOK(res1
)) {
36076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36080 if (!SWIG_IsOK(ecode2
)) {
36081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36083 arg2
= static_cast< int >(val2
);
36084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36085 if (!SWIG_IsOK(ecode3
)) {
36086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36088 arg3
= static_cast< int >(val3
);
36089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36090 if (!SWIG_IsOK(ecode4
)) {
36091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36093 arg4
= static_cast< int >(val4
);
36094 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36095 if (!SWIG_IsOK(ecode5
)) {
36096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36098 arg5
= static_cast< int >(val5
);
36099 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36100 if (!SWIG_IsOK(ecode6
)) {
36101 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36103 arg6
= static_cast< double >(val6
);
36104 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36105 if (!SWIG_IsOK(ecode7
)) {
36106 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36108 arg7
= static_cast< double >(val7
);
36110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36111 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36115 resultobj
= SWIG_Py_Void();
36122 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36123 PyObject
*resultobj
= 0;
36124 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36125 wxPoint
*arg2
= 0 ;
36137 PyObject
* obj0
= 0 ;
36138 PyObject
* obj1
= 0 ;
36139 PyObject
* obj2
= 0 ;
36140 PyObject
* obj3
= 0 ;
36141 PyObject
* obj4
= 0 ;
36142 char * kwnames
[] = {
36143 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36148 if (!SWIG_IsOK(res1
)) {
36149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36151 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36158 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36160 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36161 if (!SWIG_IsOK(ecode4
)) {
36162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36164 arg4
= static_cast< double >(val4
);
36165 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36166 if (!SWIG_IsOK(ecode5
)) {
36167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36169 arg5
= static_cast< double >(val5
);
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36173 wxPyEndAllowThreads(__tstate
);
36174 if (PyErr_Occurred()) SWIG_fail
;
36176 resultobj
= SWIG_Py_Void();
36183 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36184 PyObject
*resultobj
= 0;
36185 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36194 PyObject
* obj0
= 0 ;
36195 PyObject
* obj1
= 0 ;
36196 PyObject
* obj2
= 0 ;
36197 char * kwnames
[] = {
36198 (char *) "self",(char *) "x",(char *) "y", NULL
36201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36203 if (!SWIG_IsOK(res1
)) {
36204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36206 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36208 if (!SWIG_IsOK(ecode2
)) {
36209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36211 arg2
= static_cast< int >(val2
);
36212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36213 if (!SWIG_IsOK(ecode3
)) {
36214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36216 arg3
= static_cast< int >(val3
);
36218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36219 (arg1
)->DrawPoint(arg2
,arg3
);
36220 wxPyEndAllowThreads(__tstate
);
36221 if (PyErr_Occurred()) SWIG_fail
;
36223 resultobj
= SWIG_Py_Void();
36230 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36231 PyObject
*resultobj
= 0;
36232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36233 wxPoint
*arg2
= 0 ;
36237 PyObject
* obj0
= 0 ;
36238 PyObject
* obj1
= 0 ;
36239 char * kwnames
[] = {
36240 (char *) "self",(char *) "pt", NULL
36243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36245 if (!SWIG_IsOK(res1
)) {
36246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36255 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36256 wxPyEndAllowThreads(__tstate
);
36257 if (PyErr_Occurred()) SWIG_fail
;
36259 resultobj
= SWIG_Py_Void();
36266 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36267 PyObject
*resultobj
= 0;
36268 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 PyObject
* obj2
= 0 ;
36286 PyObject
* obj3
= 0 ;
36287 PyObject
* obj4
= 0 ;
36288 char * kwnames
[] = {
36289 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36294 if (!SWIG_IsOK(res1
)) {
36295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36299 if (!SWIG_IsOK(ecode2
)) {
36300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36302 arg2
= static_cast< int >(val2
);
36303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36304 if (!SWIG_IsOK(ecode3
)) {
36305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36307 arg3
= static_cast< int >(val3
);
36308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36309 if (!SWIG_IsOK(ecode4
)) {
36310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36312 arg4
= static_cast< int >(val4
);
36313 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36314 if (!SWIG_IsOK(ecode5
)) {
36315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36317 arg5
= static_cast< int >(val5
);
36319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36320 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36321 wxPyEndAllowThreads(__tstate
);
36322 if (PyErr_Occurred()) SWIG_fail
;
36324 resultobj
= SWIG_Py_Void();
36331 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36332 PyObject
*resultobj
= 0;
36333 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36338 PyObject
* obj0
= 0 ;
36339 PyObject
* obj1
= 0 ;
36340 char * kwnames
[] = {
36341 (char *) "self",(char *) "rect", NULL
36344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36346 if (!SWIG_IsOK(res1
)) {
36347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36349 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36352 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36356 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36357 wxPyEndAllowThreads(__tstate
);
36358 if (PyErr_Occurred()) SWIG_fail
;
36360 resultobj
= SWIG_Py_Void();
36367 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
= 0;
36369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36370 wxPoint
*arg2
= 0 ;
36376 PyObject
* obj0
= 0 ;
36377 PyObject
* obj1
= 0 ;
36378 PyObject
* obj2
= 0 ;
36379 char * kwnames
[] = {
36380 (char *) "self",(char *) "pt",(char *) "sz", NULL
36383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36385 if (!SWIG_IsOK(res1
)) {
36386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36388 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36391 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36395 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36399 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36400 wxPyEndAllowThreads(__tstate
);
36401 if (PyErr_Occurred()) SWIG_fail
;
36403 resultobj
= SWIG_Py_Void();
36410 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36411 PyObject
*resultobj
= 0;
36412 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36430 PyObject
* obj0
= 0 ;
36431 PyObject
* obj1
= 0 ;
36432 PyObject
* obj2
= 0 ;
36433 PyObject
* obj3
= 0 ;
36434 PyObject
* obj4
= 0 ;
36435 PyObject
* obj5
= 0 ;
36436 char * kwnames
[] = {
36437 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36442 if (!SWIG_IsOK(res1
)) {
36443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36445 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36447 if (!SWIG_IsOK(ecode2
)) {
36448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36450 arg2
= static_cast< int >(val2
);
36451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36452 if (!SWIG_IsOK(ecode3
)) {
36453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36455 arg3
= static_cast< int >(val3
);
36456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36457 if (!SWIG_IsOK(ecode4
)) {
36458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36460 arg4
= static_cast< int >(val4
);
36461 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36462 if (!SWIG_IsOK(ecode5
)) {
36463 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36465 arg5
= static_cast< int >(val5
);
36466 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36467 if (!SWIG_IsOK(ecode6
)) {
36468 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36470 arg6
= static_cast< double >(val6
);
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 resultobj
= SWIG_Py_Void();
36484 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36485 PyObject
*resultobj
= 0;
36486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36494 PyObject
* obj0
= 0 ;
36495 PyObject
* obj1
= 0 ;
36496 PyObject
* obj2
= 0 ;
36497 char * kwnames
[] = {
36498 (char *) "self",(char *) "r",(char *) "radius", NULL
36501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36503 if (!SWIG_IsOK(res1
)) {
36504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36506 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36509 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36511 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36512 if (!SWIG_IsOK(ecode3
)) {
36513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36515 arg3
= static_cast< double >(val3
);
36517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36518 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36519 wxPyEndAllowThreads(__tstate
);
36520 if (PyErr_Occurred()) SWIG_fail
;
36522 resultobj
= SWIG_Py_Void();
36529 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36530 PyObject
*resultobj
= 0;
36531 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36532 wxPoint
*arg2
= 0 ;
36541 PyObject
* obj0
= 0 ;
36542 PyObject
* obj1
= 0 ;
36543 PyObject
* obj2
= 0 ;
36544 PyObject
* obj3
= 0 ;
36545 char * kwnames
[] = {
36546 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36551 if (!SWIG_IsOK(res1
)) {
36552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36554 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36561 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36563 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36564 if (!SWIG_IsOK(ecode4
)) {
36565 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36567 arg4
= static_cast< double >(val4
);
36569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36570 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36571 wxPyEndAllowThreads(__tstate
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 resultobj
= SWIG_Py_Void();
36581 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36582 PyObject
*resultobj
= 0;
36583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36595 PyObject
* obj0
= 0 ;
36596 PyObject
* obj1
= 0 ;
36597 PyObject
* obj2
= 0 ;
36598 PyObject
* obj3
= 0 ;
36599 char * kwnames
[] = {
36600 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36605 if (!SWIG_IsOK(res1
)) {
36606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36608 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36610 if (!SWIG_IsOK(ecode2
)) {
36611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36613 arg2
= static_cast< int >(val2
);
36614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36615 if (!SWIG_IsOK(ecode3
)) {
36616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36618 arg3
= static_cast< int >(val3
);
36619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36620 if (!SWIG_IsOK(ecode4
)) {
36621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36623 arg4
= static_cast< int >(val4
);
36625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36626 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36627 wxPyEndAllowThreads(__tstate
);
36628 if (PyErr_Occurred()) SWIG_fail
;
36630 resultobj
= SWIG_Py_Void();
36637 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36638 PyObject
*resultobj
= 0;
36639 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36640 wxPoint
*arg2
= 0 ;
36647 PyObject
* obj0
= 0 ;
36648 PyObject
* obj1
= 0 ;
36649 PyObject
* obj2
= 0 ;
36650 char * kwnames
[] = {
36651 (char *) "self",(char *) "pt",(char *) "radius", NULL
36654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36656 if (!SWIG_IsOK(res1
)) {
36657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36659 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36665 if (!SWIG_IsOK(ecode3
)) {
36666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36668 arg3
= static_cast< int >(val3
);
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 resultobj
= SWIG_Py_Void();
36682 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36683 PyObject
*resultobj
= 0;
36684 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36699 PyObject
* obj0
= 0 ;
36700 PyObject
* obj1
= 0 ;
36701 PyObject
* obj2
= 0 ;
36702 PyObject
* obj3
= 0 ;
36703 PyObject
* obj4
= 0 ;
36704 char * kwnames
[] = {
36705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36710 if (!SWIG_IsOK(res1
)) {
36711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36713 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36715 if (!SWIG_IsOK(ecode2
)) {
36716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36718 arg2
= static_cast< int >(val2
);
36719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36720 if (!SWIG_IsOK(ecode3
)) {
36721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36723 arg3
= static_cast< int >(val3
);
36724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36725 if (!SWIG_IsOK(ecode4
)) {
36726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36728 arg4
= static_cast< int >(val4
);
36729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36730 if (!SWIG_IsOK(ecode5
)) {
36731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36733 arg5
= static_cast< int >(val5
);
36735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36736 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36740 resultobj
= SWIG_Py_Void();
36747 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36748 PyObject
*resultobj
= 0;
36749 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 char * kwnames
[] = {
36757 (char *) "self",(char *) "rect", NULL
36760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36762 if (!SWIG_IsOK(res1
)) {
36763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36765 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36768 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36772 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36776 resultobj
= SWIG_Py_Void();
36783 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36784 PyObject
*resultobj
= 0;
36785 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36786 wxPoint
*arg2
= 0 ;
36792 PyObject
* obj0
= 0 ;
36793 PyObject
* obj1
= 0 ;
36794 PyObject
* obj2
= 0 ;
36795 char * kwnames
[] = {
36796 (char *) "self",(char *) "pt",(char *) "sz", NULL
36799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36801 if (!SWIG_IsOK(res1
)) {
36802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36804 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36811 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36815 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36816 wxPyEndAllowThreads(__tstate
);
36817 if (PyErr_Occurred()) SWIG_fail
;
36819 resultobj
= SWIG_Py_Void();
36826 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36827 PyObject
*resultobj
= 0;
36828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36840 PyObject
* obj0
= 0 ;
36841 PyObject
* obj1
= 0 ;
36842 PyObject
* obj2
= 0 ;
36843 PyObject
* obj3
= 0 ;
36844 char * kwnames
[] = {
36845 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
36848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36850 if (!SWIG_IsOK(res1
)) {
36851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36853 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36855 if (!SWIG_IsOK(res2
)) {
36856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36861 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36863 if (!SWIG_IsOK(ecode3
)) {
36864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
36866 arg3
= static_cast< int >(val3
);
36867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36868 if (!SWIG_IsOK(ecode4
)) {
36869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
36871 arg4
= static_cast< int >(val4
);
36873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36874 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= SWIG_Py_Void();
36885 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
= 0;
36887 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36889 wxPoint
*arg3
= 0 ;
36895 PyObject
* obj0
= 0 ;
36896 PyObject
* obj1
= 0 ;
36897 PyObject
* obj2
= 0 ;
36898 char * kwnames
[] = {
36899 (char *) "self",(char *) "icon",(char *) "pt", NULL
36902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36904 if (!SWIG_IsOK(res1
)) {
36905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36908 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36909 if (!SWIG_IsOK(res2
)) {
36910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36913 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36915 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 resultobj
= SWIG_Py_Void();
36933 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
= 0;
36935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36936 wxBitmap
*arg2
= 0 ;
36939 bool arg5
= (bool) false ;
36950 PyObject
* obj0
= 0 ;
36951 PyObject
* obj1
= 0 ;
36952 PyObject
* obj2
= 0 ;
36953 PyObject
* obj3
= 0 ;
36954 PyObject
* obj4
= 0 ;
36955 char * kwnames
[] = {
36956 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
36959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36961 if (!SWIG_IsOK(res1
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36964 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
36966 if (!SWIG_IsOK(res2
)) {
36967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
36972 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
36973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36974 if (!SWIG_IsOK(ecode3
)) {
36975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
36977 arg3
= static_cast< int >(val3
);
36978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36979 if (!SWIG_IsOK(ecode4
)) {
36980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
36982 arg4
= static_cast< int >(val4
);
36984 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
36985 if (!SWIG_IsOK(ecode5
)) {
36986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
36988 arg5
= static_cast< bool >(val5
);
36991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36992 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
36993 wxPyEndAllowThreads(__tstate
);
36994 if (PyErr_Occurred()) SWIG_fail
;
36996 resultobj
= SWIG_Py_Void();
37003 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37004 PyObject
*resultobj
= 0;
37005 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37006 wxBitmap
*arg2
= 0 ;
37007 wxPoint
*arg3
= 0 ;
37008 bool arg4
= (bool) false ;
37016 PyObject
* obj0
= 0 ;
37017 PyObject
* obj1
= 0 ;
37018 PyObject
* obj2
= 0 ;
37019 PyObject
* obj3
= 0 ;
37020 char * kwnames
[] = {
37021 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37026 if (!SWIG_IsOK(res1
)) {
37027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37029 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37030 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37031 if (!SWIG_IsOK(res2
)) {
37032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37037 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37043 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37044 if (!SWIG_IsOK(ecode4
)) {
37045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37047 arg4
= static_cast< bool >(val4
);
37050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37051 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37052 wxPyEndAllowThreads(__tstate
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37055 resultobj
= SWIG_Py_Void();
37062 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37063 PyObject
*resultobj
= 0;
37064 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37065 wxString
*arg2
= 0 ;
37070 bool temp2
= false ;
37075 PyObject
* obj0
= 0 ;
37076 PyObject
* obj1
= 0 ;
37077 PyObject
* obj2
= 0 ;
37078 PyObject
* obj3
= 0 ;
37079 char * kwnames
[] = {
37080 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37085 if (!SWIG_IsOK(res1
)) {
37086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37090 arg2
= wxString_in_helper(obj1
);
37091 if (arg2
== NULL
) SWIG_fail
;
37094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37095 if (!SWIG_IsOK(ecode3
)) {
37096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37098 arg3
= static_cast< int >(val3
);
37099 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37100 if (!SWIG_IsOK(ecode4
)) {
37101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37103 arg4
= static_cast< int >(val4
);
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37107 wxPyEndAllowThreads(__tstate
);
37108 if (PyErr_Occurred()) SWIG_fail
;
37110 resultobj
= SWIG_Py_Void();
37125 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37126 PyObject
*resultobj
= 0;
37127 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37128 wxString
*arg2
= 0 ;
37129 wxPoint
*arg3
= 0 ;
37132 bool temp2
= false ;
37134 PyObject
* obj0
= 0 ;
37135 PyObject
* obj1
= 0 ;
37136 PyObject
* obj2
= 0 ;
37137 char * kwnames
[] = {
37138 (char *) "self",(char *) "text",(char *) "pt", NULL
37141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37143 if (!SWIG_IsOK(res1
)) {
37144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37148 arg2
= wxString_in_helper(obj1
);
37149 if (arg2
== NULL
) SWIG_fail
;
37154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37158 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37159 wxPyEndAllowThreads(__tstate
);
37160 if (PyErr_Occurred()) SWIG_fail
;
37162 resultobj
= SWIG_Py_Void();
37177 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37178 PyObject
*resultobj
= 0;
37179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37180 wxString
*arg2
= 0 ;
37186 bool temp2
= false ;
37193 PyObject
* obj0
= 0 ;
37194 PyObject
* obj1
= 0 ;
37195 PyObject
* obj2
= 0 ;
37196 PyObject
* obj3
= 0 ;
37197 PyObject
* obj4
= 0 ;
37198 char * kwnames
[] = {
37199 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37204 if (!SWIG_IsOK(res1
)) {
37205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37207 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37209 arg2
= wxString_in_helper(obj1
);
37210 if (arg2
== NULL
) SWIG_fail
;
37213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37214 if (!SWIG_IsOK(ecode3
)) {
37215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37217 arg3
= static_cast< int >(val3
);
37218 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37219 if (!SWIG_IsOK(ecode4
)) {
37220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37222 arg4
= static_cast< int >(val4
);
37223 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37224 if (!SWIG_IsOK(ecode5
)) {
37225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37227 arg5
= static_cast< double >(val5
);
37229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37230 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37231 wxPyEndAllowThreads(__tstate
);
37232 if (PyErr_Occurred()) SWIG_fail
;
37234 resultobj
= SWIG_Py_Void();
37249 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37250 PyObject
*resultobj
= 0;
37251 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37252 wxString
*arg2
= 0 ;
37253 wxPoint
*arg3
= 0 ;
37257 bool temp2
= false ;
37261 PyObject
* obj0
= 0 ;
37262 PyObject
* obj1
= 0 ;
37263 PyObject
* obj2
= 0 ;
37264 PyObject
* obj3
= 0 ;
37265 char * kwnames
[] = {
37266 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37271 if (!SWIG_IsOK(res1
)) {
37272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37276 arg2
= wxString_in_helper(obj1
);
37277 if (arg2
== NULL
) SWIG_fail
;
37282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37284 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37285 if (!SWIG_IsOK(ecode4
)) {
37286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37288 arg4
= static_cast< double >(val4
);
37290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37291 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37292 wxPyEndAllowThreads(__tstate
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37295 resultobj
= SWIG_Py_Void();
37310 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37311 PyObject
*resultobj
= 0;
37312 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37314 wxPoint
*arg3
= (wxPoint
*) 0 ;
37315 int arg4
= (int) 0 ;
37316 int arg5
= (int) 0 ;
37323 PyObject
* obj0
= 0 ;
37324 PyObject
* obj1
= 0 ;
37325 PyObject
* obj2
= 0 ;
37326 PyObject
* obj3
= 0 ;
37327 char * kwnames
[] = {
37328 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37333 if (!SWIG_IsOK(res1
)) {
37334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37336 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37338 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37339 if (arg3
== NULL
) SWIG_fail
;
37342 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37343 if (!SWIG_IsOK(ecode4
)) {
37344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37346 arg4
= static_cast< int >(val4
);
37349 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37350 if (!SWIG_IsOK(ecode5
)) {
37351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37353 arg5
= static_cast< int >(val5
);
37356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37357 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37358 wxPyEndAllowThreads(__tstate
);
37359 if (PyErr_Occurred()) SWIG_fail
;
37361 resultobj
= SWIG_Py_Void();
37363 if (arg3
) delete [] arg3
;
37368 if (arg3
) delete [] arg3
;
37374 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37375 PyObject
*resultobj
= 0;
37376 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37378 wxPoint
*arg3
= (wxPoint
*) 0 ;
37379 int arg4
= (int) 0 ;
37380 int arg5
= (int) 0 ;
37381 int arg6
= (int) wxODDEVEN_RULE
;
37390 PyObject
* obj0
= 0 ;
37391 PyObject
* obj1
= 0 ;
37392 PyObject
* obj2
= 0 ;
37393 PyObject
* obj3
= 0 ;
37394 PyObject
* obj4
= 0 ;
37395 char * kwnames
[] = {
37396 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37401 if (!SWIG_IsOK(res1
)) {
37402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37406 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37407 if (arg3
== NULL
) SWIG_fail
;
37410 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37411 if (!SWIG_IsOK(ecode4
)) {
37412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37414 arg4
= static_cast< int >(val4
);
37417 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37418 if (!SWIG_IsOK(ecode5
)) {
37419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37421 arg5
= static_cast< int >(val5
);
37424 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37425 if (!SWIG_IsOK(ecode6
)) {
37426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37428 arg6
= static_cast< int >(val6
);
37431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37432 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37433 wxPyEndAllowThreads(__tstate
);
37434 if (PyErr_Occurred()) SWIG_fail
;
37436 resultobj
= SWIG_Py_Void();
37438 if (arg3
) delete [] arg3
;
37443 if (arg3
) delete [] arg3
;
37449 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37450 PyObject
*resultobj
= 0;
37451 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37452 wxString
*arg2
= 0 ;
37454 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37455 int arg5
= (int) -1 ;
37458 bool temp2
= false ;
37464 PyObject
* obj0
= 0 ;
37465 PyObject
* obj1
= 0 ;
37466 PyObject
* obj2
= 0 ;
37467 PyObject
* obj3
= 0 ;
37468 PyObject
* obj4
= 0 ;
37469 char * kwnames
[] = {
37470 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37475 if (!SWIG_IsOK(res1
)) {
37476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37478 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37480 arg2
= wxString_in_helper(obj1
);
37481 if (arg2
== NULL
) SWIG_fail
;
37486 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37490 if (!SWIG_IsOK(ecode4
)) {
37491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37493 arg4
= static_cast< int >(val4
);
37496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37497 if (!SWIG_IsOK(ecode5
)) {
37498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37500 arg5
= static_cast< int >(val5
);
37503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37504 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37505 wxPyEndAllowThreads(__tstate
);
37506 if (PyErr_Occurred()) SWIG_fail
;
37508 resultobj
= SWIG_Py_Void();
37523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37524 PyObject
*resultobj
= 0;
37525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37526 wxString
*arg2
= 0 ;
37527 wxBitmap
*arg3
= 0 ;
37529 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37530 int arg6
= (int) -1 ;
37533 bool temp2
= false ;
37541 PyObject
* obj0
= 0 ;
37542 PyObject
* obj1
= 0 ;
37543 PyObject
* obj2
= 0 ;
37544 PyObject
* obj3
= 0 ;
37545 PyObject
* obj4
= 0 ;
37546 PyObject
* obj5
= 0 ;
37547 char * kwnames
[] = {
37548 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37553 if (!SWIG_IsOK(res1
)) {
37554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37556 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37558 arg2
= wxString_in_helper(obj1
);
37559 if (arg2
== NULL
) SWIG_fail
;
37562 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37563 if (!SWIG_IsOK(res3
)) {
37564 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37569 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37572 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37575 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37576 if (!SWIG_IsOK(ecode5
)) {
37577 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37579 arg5
= static_cast< int >(val5
);
37582 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37583 if (!SWIG_IsOK(ecode6
)) {
37584 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37586 arg6
= static_cast< int >(val6
);
37589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37590 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37594 resultobj
= SWIG_Py_Void();
37609 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37610 PyObject
*resultobj
= 0;
37611 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37613 wxPoint
*arg3
= (wxPoint
*) 0 ;
37616 PyObject
* obj0
= 0 ;
37617 PyObject
* obj1
= 0 ;
37618 char * kwnames
[] = {
37619 (char *) "self",(char *) "points", NULL
37622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37624 if (!SWIG_IsOK(res1
)) {
37625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37627 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37629 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37630 if (arg3
== NULL
) SWIG_fail
;
37633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37634 (arg1
)->DrawSpline(arg2
,arg3
);
37635 wxPyEndAllowThreads(__tstate
);
37636 if (PyErr_Occurred()) SWIG_fail
;
37638 resultobj
= SWIG_Py_Void();
37640 if (arg3
) delete [] arg3
;
37645 if (arg3
) delete [] arg3
;
37651 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37652 PyObject
*resultobj
= 0;
37653 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37656 PyObject
*swig_obj
[1] ;
37658 if (!args
) SWIG_fail
;
37659 swig_obj
[0] = args
;
37660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37661 if (!SWIG_IsOK(res1
)) {
37662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37664 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37668 wxPyEndAllowThreads(__tstate
);
37669 if (PyErr_Occurred()) SWIG_fail
;
37671 resultobj
= SWIG_Py_Void();
37678 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37679 PyObject
*resultobj
= 0;
37680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37686 PyObject
* obj0
= 0 ;
37687 PyObject
* obj1
= 0 ;
37688 char * kwnames
[] = {
37689 (char *) "self",(char *) "font", NULL
37692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37694 if (!SWIG_IsOK(res1
)) {
37695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37697 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37699 if (!SWIG_IsOK(res2
)) {
37700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37705 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37708 (arg1
)->SetFont((wxFont
const &)*arg2
);
37709 wxPyEndAllowThreads(__tstate
);
37710 if (PyErr_Occurred()) SWIG_fail
;
37712 resultobj
= SWIG_Py_Void();
37719 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37720 PyObject
*resultobj
= 0;
37721 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37727 PyObject
* obj0
= 0 ;
37728 PyObject
* obj1
= 0 ;
37729 char * kwnames
[] = {
37730 (char *) "self",(char *) "pen", NULL
37733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37735 if (!SWIG_IsOK(res1
)) {
37736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37740 if (!SWIG_IsOK(res2
)) {
37741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37746 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37749 (arg1
)->SetPen((wxPen
const &)*arg2
);
37750 wxPyEndAllowThreads(__tstate
);
37751 if (PyErr_Occurred()) SWIG_fail
;
37753 resultobj
= SWIG_Py_Void();
37760 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37761 PyObject
*resultobj
= 0;
37762 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37763 wxBrush
*arg2
= 0 ;
37768 PyObject
* obj0
= 0 ;
37769 PyObject
* obj1
= 0 ;
37770 char * kwnames
[] = {
37771 (char *) "self",(char *) "brush", NULL
37774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37776 if (!SWIG_IsOK(res1
)) {
37777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37779 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37781 if (!SWIG_IsOK(res2
)) {
37782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37787 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
37791 wxPyEndAllowThreads(__tstate
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37794 resultobj
= SWIG_Py_Void();
37801 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37802 PyObject
*resultobj
= 0;
37803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37804 wxBrush
*arg2
= 0 ;
37809 PyObject
* obj0
= 0 ;
37810 PyObject
* obj1
= 0 ;
37811 char * kwnames
[] = {
37812 (char *) "self",(char *) "brush", NULL
37815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37817 if (!SWIG_IsOK(res1
)) {
37818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37820 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37822 if (!SWIG_IsOK(res2
)) {
37823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37828 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37831 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
37832 wxPyEndAllowThreads(__tstate
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37835 resultobj
= SWIG_Py_Void();
37842 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37843 PyObject
*resultobj
= 0;
37844 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37850 PyObject
* obj0
= 0 ;
37851 PyObject
* obj1
= 0 ;
37852 char * kwnames
[] = {
37853 (char *) "self",(char *) "mode", NULL
37856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37858 if (!SWIG_IsOK(res1
)) {
37859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37861 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37863 if (!SWIG_IsOK(ecode2
)) {
37864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
37866 arg2
= static_cast< int >(val2
);
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 (arg1
)->SetBackgroundMode(arg2
);
37870 wxPyEndAllowThreads(__tstate
);
37871 if (PyErr_Occurred()) SWIG_fail
;
37873 resultobj
= SWIG_Py_Void();
37880 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
= 0;
37882 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37883 wxPalette
*arg2
= 0 ;
37888 PyObject
* obj0
= 0 ;
37889 PyObject
* obj1
= 0 ;
37890 char * kwnames
[] = {
37891 (char *) "self",(char *) "palette", NULL
37894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37896 if (!SWIG_IsOK(res1
)) {
37897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37899 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
37901 if (!SWIG_IsOK(res2
)) {
37902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37907 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
37909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37910 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
37911 wxPyEndAllowThreads(__tstate
);
37912 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= SWIG_Py_Void();
37921 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37922 PyObject
*resultobj
= 0;
37923 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37924 wxColour
*arg2
= 0 ;
37928 PyObject
* obj0
= 0 ;
37929 PyObject
* obj1
= 0 ;
37930 char * kwnames
[] = {
37931 (char *) "self",(char *) "colour", NULL
37934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37936 if (!SWIG_IsOK(res1
)) {
37937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37939 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37942 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
37947 wxPyEndAllowThreads(__tstate
);
37948 if (PyErr_Occurred()) SWIG_fail
;
37950 resultobj
= SWIG_Py_Void();
37957 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37958 PyObject
*resultobj
= 0;
37959 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37960 wxColour
*arg2
= 0 ;
37964 PyObject
* obj0
= 0 ;
37965 PyObject
* obj1
= 0 ;
37966 char * kwnames
[] = {
37967 (char *) "self",(char *) "colour", NULL
37970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37972 if (!SWIG_IsOK(res1
)) {
37973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37975 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37978 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
37983 wxPyEndAllowThreads(__tstate
);
37984 if (PyErr_Occurred()) SWIG_fail
;
37986 resultobj
= SWIG_Py_Void();
37993 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37994 PyObject
*resultobj
= 0;
37995 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38001 PyObject
* obj0
= 0 ;
38002 PyObject
* obj1
= 0 ;
38003 char * kwnames
[] = {
38004 (char *) "self",(char *) "function", NULL
38007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38009 if (!SWIG_IsOK(res1
)) {
38010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38012 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38014 if (!SWIG_IsOK(ecode2
)) {
38015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38017 arg2
= static_cast< int >(val2
);
38019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38020 (arg1
)->SetLogicalFunction(arg2
);
38021 wxPyEndAllowThreads(__tstate
);
38022 if (PyErr_Occurred()) SWIG_fail
;
38024 resultobj
= SWIG_Py_Void();
38031 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38035 return SWIG_Py_Void();
38038 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38039 return SWIG_Python_InitShadowInstance(args
);
38042 static PyMethodDef SwigMethods
[] = {
38043 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38044 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38045 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38046 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38047 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38048 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38049 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38050 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38051 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38052 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38053 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38054 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38055 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38056 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38057 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38058 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38059 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38060 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38061 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38062 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38063 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38064 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38065 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38066 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38067 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38068 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38069 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38070 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38071 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38072 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38073 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38074 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38075 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38076 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38077 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38078 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38079 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38080 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38081 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38082 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38083 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38084 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38085 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38086 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38087 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38088 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38089 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38090 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38091 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38092 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38093 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38094 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38095 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38096 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38097 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38098 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38099 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38100 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38101 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38102 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38103 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38104 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38105 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38106 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38107 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38108 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38109 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38110 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38111 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38112 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38113 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38114 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38115 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38116 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38117 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38118 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38119 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38120 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38121 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38122 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38123 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38124 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38125 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38126 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38127 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38128 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38129 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38131 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38132 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38133 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38134 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38135 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38136 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38137 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38138 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38139 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38140 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38141 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38142 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38143 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38144 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38145 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38146 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38147 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38148 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38149 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38150 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38151 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38152 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38153 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38154 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38155 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38156 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38157 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38158 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38159 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38160 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38161 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38162 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38163 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38164 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38165 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38166 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38167 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38168 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38169 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38170 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38171 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38172 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38173 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38174 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38175 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38176 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38177 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38178 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38179 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38180 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38181 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38182 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38183 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38184 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38185 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38186 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38187 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38188 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38189 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38190 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38191 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38192 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38193 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38194 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38195 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38196 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38197 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38198 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38199 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38200 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38201 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38202 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38203 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38204 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38205 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38206 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38207 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38208 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38209 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38210 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38211 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38212 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38213 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38214 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38215 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38216 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38217 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38218 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38219 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38220 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38221 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38222 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38223 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38224 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38225 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38226 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38227 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38228 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38229 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38230 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38231 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38232 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38233 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38234 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38235 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38236 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38237 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38238 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38239 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38240 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38241 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38242 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38243 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38244 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38245 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38246 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38247 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38248 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38249 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38250 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38251 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38252 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38253 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38254 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38255 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38256 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38257 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38258 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38259 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38260 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38261 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38262 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38263 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38264 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38265 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38266 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38267 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38268 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38269 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38270 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38271 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38272 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38273 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38274 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38275 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38276 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38277 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38278 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38279 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38280 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38281 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38282 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38283 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38285 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38286 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38287 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38288 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38289 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38290 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38291 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38292 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38293 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38294 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38295 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38296 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38297 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38299 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38300 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38301 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38302 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38303 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38304 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38305 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38306 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38307 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38308 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38309 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38310 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38311 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38312 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38313 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38314 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38315 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38316 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38317 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38318 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38319 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38320 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38321 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38322 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38323 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38324 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38325 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38326 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38327 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38328 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38329 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38330 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38331 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38332 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38333 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38334 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38335 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38336 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38337 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38338 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38339 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38341 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38342 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38343 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38345 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38346 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38347 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38348 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38349 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38350 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38351 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38352 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38353 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38354 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38355 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38356 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38357 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38358 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38359 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38360 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38361 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38362 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38363 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38365 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38366 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38370 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38371 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38372 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38373 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38374 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38375 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38376 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38377 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38378 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38379 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38380 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38382 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38383 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38384 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38385 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38386 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38387 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38388 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38389 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38390 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38391 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38392 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38393 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38394 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38395 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38396 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38397 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38400 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38401 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38402 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38403 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38404 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38405 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38406 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38407 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38408 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38416 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38417 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38418 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38419 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38421 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38422 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38424 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38425 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38426 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38427 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38428 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38429 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38430 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38431 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38432 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38433 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38434 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38435 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38436 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38437 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38438 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38443 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38444 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38445 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38448 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38453 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38464 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38474 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38475 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38487 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38489 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38490 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38491 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38498 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38499 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38500 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38501 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38502 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38507 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38508 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38509 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38510 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38519 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38520 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38521 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38522 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38523 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38524 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38525 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38526 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38527 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38528 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38529 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38530 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38533 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38535 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38537 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38539 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38540 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38543 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38544 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38546 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38548 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38550 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38553 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38554 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38555 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38556 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38557 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38558 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38559 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38567 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38569 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38570 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38571 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38573 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38574 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38575 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38577 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38578 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38579 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38580 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38581 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38582 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38583 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38587 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38588 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38589 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38592 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38593 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38594 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38596 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38597 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38599 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38600 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38602 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38603 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38604 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38605 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38606 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38607 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38608 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38610 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38611 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38613 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38614 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38617 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38618 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38620 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38623 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38624 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38625 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
38627 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
38628 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
38630 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
38631 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
38632 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38633 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38634 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
38636 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38637 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38638 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38640 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38641 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38643 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38644 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38645 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38646 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38647 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38648 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38649 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38650 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38651 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38652 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38653 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38654 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38655 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38656 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38657 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38658 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38659 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38660 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38664 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38666 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38672 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38673 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38674 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38675 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38676 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38677 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38679 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38680 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38681 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38688 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38691 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38692 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38693 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38694 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38695 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38698 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38705 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38706 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38709 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38710 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38716 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38717 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38718 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38719 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38737 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38738 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38739 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38740 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38741 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38744 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38751 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38753 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38754 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38756 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38757 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38758 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38759 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38760 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38761 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38762 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38763 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38764 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38765 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38766 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38767 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38769 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38777 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38779 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38781 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38782 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38783 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
38784 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
38785 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
38786 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
38792 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
38793 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
38794 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
38795 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
38796 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
38797 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
38801 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
38805 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
38809 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
38810 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
38811 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
38816 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
38817 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
38818 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
38819 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
38820 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
38821 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
38822 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
38823 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
38824 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
38825 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
38826 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
38827 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
38836 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
38837 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
38839 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
38840 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
38841 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
38842 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
38843 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
38844 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
38845 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
38846 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
38847 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
38848 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
38849 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
38850 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
38851 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
38852 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
38853 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
38854 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
38855 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
38856 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
38857 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
38858 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
38859 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
38860 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
38861 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
38862 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
38864 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
38866 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
38867 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
38868 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
38869 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
38882 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
38883 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
38884 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
38886 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
38887 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
38888 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
38889 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
38890 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
38891 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
38892 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
38893 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
38946 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
38956 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
38957 { NULL
, NULL
, 0, NULL
}
38961 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38963 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
38964 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
38966 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
38967 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
38969 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
38970 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
38972 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
38973 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
38975 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
38976 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
38978 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
38979 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
38981 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
38982 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
38984 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
38985 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
38987 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
38988 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
38990 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
38991 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
38993 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
38994 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
38996 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
38997 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
38999 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39000 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39002 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39003 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39005 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39006 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39008 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39009 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39011 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39012 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39014 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39015 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39017 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39018 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39020 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39021 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39023 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39024 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39026 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39027 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39029 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39030 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39032 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39033 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39035 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39036 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39038 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39039 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39041 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39042 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39044 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39045 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39047 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39048 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39050 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39051 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39053 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39054 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39056 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39057 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39059 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39060 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39062 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39063 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39065 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39066 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39068 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39069 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39071 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39072 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39074 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39075 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39077 static void *_p_wxPenTo_p_wxObject(void *x
) {
39078 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39080 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39081 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39083 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39084 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39086 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39087 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39089 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39090 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39092 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39093 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39095 static void *_p_wxIconTo_p_wxObject(void *x
) {
39096 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39098 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39099 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39101 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39102 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39104 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39105 return (void *)((wxObject
*) ((wxSizer
*) x
));
39107 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39108 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39110 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39113 static void *_p_wxEventTo_p_wxObject(void *x
) {
39114 return (void *)((wxObject
*) ((wxEvent
*) x
));
39116 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39117 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39119 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39120 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39122 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39123 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39125 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39126 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39128 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39131 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39132 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39134 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39135 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39137 static void *_p_wxDCTo_p_wxObject(void *x
) {
39138 return (void *)((wxObject
*) ((wxDC
*) x
));
39140 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39141 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39143 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39144 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39146 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39147 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39149 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39150 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39152 static void *_p_wxControlTo_p_wxObject(void *x
) {
39153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39155 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39156 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39158 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39159 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39161 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39162 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39164 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39165 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39167 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39168 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39170 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39171 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39173 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39174 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39176 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39177 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39179 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39180 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39182 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39183 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39185 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39186 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39188 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39189 return (void *)((wxObject
*) ((wxEffects
*) x
));
39191 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39192 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39194 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39195 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39197 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39198 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39200 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39201 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39203 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39204 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39206 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39207 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39209 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39210 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39212 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39213 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39215 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39216 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39218 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39219 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39221 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39222 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39224 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39225 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39227 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39228 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39230 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39231 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39233 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39234 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39236 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39237 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39239 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39240 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39242 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39243 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39245 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39246 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39248 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39249 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39251 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39252 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39254 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39255 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39257 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39258 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39260 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39261 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39263 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39264 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39266 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39267 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39269 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39270 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39272 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39273 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39275 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39276 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39278 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39279 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39281 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39282 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39284 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39285 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39287 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39288 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39290 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39291 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39293 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39294 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39296 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39297 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39299 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39300 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39302 static void *_p_wxImageTo_p_wxObject(void *x
) {
39303 return (void *)((wxObject
*) ((wxImage
*) x
));
39305 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39306 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39308 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39309 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39311 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39312 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39314 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39315 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39317 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39318 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39320 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39321 return (void *)((wxObject
*) ((wxImageList
*) x
));
39323 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39324 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39326 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39327 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39329 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39330 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39332 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39333 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39335 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39336 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39338 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39339 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39341 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39342 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39344 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39345 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39347 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39348 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39350 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39351 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39353 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39354 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39356 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39357 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39359 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39360 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39362 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39363 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39365 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39366 return (void *)((wxObject
*) ((wxMask
*) x
));
39368 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39369 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39371 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39374 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39375 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39377 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39378 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39380 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39381 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39383 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39384 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39386 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39387 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39389 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39392 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39393 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39395 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39396 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39398 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39399 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39401 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39404 static void *_p_wxFontTo_p_wxObject(void *x
) {
39405 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39407 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39408 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39410 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39411 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39413 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39416 static void *_p_wxColourTo_p_wxObject(void *x
) {
39417 return (void *)((wxObject
*) ((wxColour
*) x
));
39419 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39422 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39423 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39425 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39426 return (void *)((wxWindow
*) ((wxControl
*) x
));
39428 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39429 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39431 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39432 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39434 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39435 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39437 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39438 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39440 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39441 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39442 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39443 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};
39444 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39445 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39446 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39447 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39448 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39449 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39450 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39451 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39452 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39453 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39454 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39455 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39456 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39457 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39458 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39459 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39460 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39461 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39462 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39463 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39464 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39465 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39466 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39467 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39468 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39469 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39470 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39471 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39472 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39473 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39474 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39475 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39476 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39477 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39478 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39479 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39480 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39481 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39482 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39483 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39484 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39485 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39486 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39487 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39488 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39489 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39490 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39491 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39492 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39493 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39494 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39495 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39496 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39497 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39498 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39499 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39500 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39501 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39502 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39503 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39504 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39505 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39506 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39507 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39508 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39509 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39510 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39511 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39512 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39513 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39514 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39515 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39516 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39517 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39518 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39519 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39520 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39521 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39522 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39523 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39524 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39525 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39526 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39527 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39528 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39529 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39530 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39531 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39532 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39533 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39534 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39535 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39536 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39537 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39538 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39539 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39540 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39541 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39542 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39543 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39544 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39545 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39546 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39547 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39548 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39549 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39550 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39551 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39552 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39553 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39554 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39555 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39556 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39557 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39558 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39559 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39560 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39561 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39562 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39563 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39564 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39565 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39566 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39567 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39568 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39569 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39570 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39571 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39572 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39573 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39574 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39575 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39576 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39577 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39578 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39579 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39580 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39581 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39582 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39583 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39584 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39585 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39586 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39587 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39588 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39589 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39590 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39591 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39592 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39593 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39594 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39595 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39596 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39597 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39598 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39599 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39600 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39601 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39602 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39603 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39604 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39605 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39606 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39607 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39608 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39609 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39611 static swig_type_info
*swig_type_initial
[] = {
39615 &_swigt__p_form_ops_t
,
39617 &_swigt__p_unsigned_char
,
39618 &_swigt__p_unsigned_int
,
39619 &_swigt__p_unsigned_long
,
39621 &_swigt__p_wxANIHandler
,
39622 &_swigt__p_wxAcceleratorTable
,
39623 &_swigt__p_wxActivateEvent
,
39624 &_swigt__p_wxAlphaPixelData
,
39625 &_swigt__p_wxAlphaPixelData_Accessor
,
39626 &_swigt__p_wxAutoBufferedPaintDC
,
39627 &_swigt__p_wxBMPHandler
,
39628 &_swigt__p_wxBitmap
,
39629 &_swigt__p_wxBoxSizer
,
39630 &_swigt__p_wxBrush
,
39631 &_swigt__p_wxBrushList
,
39632 &_swigt__p_wxBufferedDC
,
39633 &_swigt__p_wxBufferedPaintDC
,
39634 &_swigt__p_wxCURHandler
,
39636 &_swigt__p_wxChildFocusEvent
,
39637 &_swigt__p_wxClientDC
,
39638 &_swigt__p_wxClipboardTextEvent
,
39639 &_swigt__p_wxCloseEvent
,
39640 &_swigt__p_wxColor
,
39641 &_swigt__p_wxColour
,
39642 &_swigt__p_wxColourDatabase
,
39643 &_swigt__p_wxCommandEvent
,
39644 &_swigt__p_wxContextMenuEvent
,
39645 &_swigt__p_wxControl
,
39646 &_swigt__p_wxControlWithItems
,
39647 &_swigt__p_wxCursor
,
39649 &_swigt__p_wxDCBrushChanger
,
39650 &_swigt__p_wxDCClipper
,
39651 &_swigt__p_wxDCOverlay
,
39652 &_swigt__p_wxDCPenChanger
,
39653 &_swigt__p_wxDCTextColourChanger
,
39655 &_swigt__p_wxDateEvent
,
39656 &_swigt__p_wxDisplayChangedEvent
,
39657 &_swigt__p_wxDropFilesEvent
,
39658 &_swigt__p_wxDuplexMode
,
39659 &_swigt__p_wxEffects
,
39660 &_swigt__p_wxEncodingConverter
,
39661 &_swigt__p_wxEraseEvent
,
39662 &_swigt__p_wxEvent
,
39663 &_swigt__p_wxEvtHandler
,
39664 &_swigt__p_wxFSFile
,
39665 &_swigt__p_wxFileSystem
,
39666 &_swigt__p_wxFlexGridSizer
,
39667 &_swigt__p_wxFocusEvent
,
39669 &_swigt__p_wxFontList
,
39670 &_swigt__p_wxFontMapper
,
39671 &_swigt__p_wxGBSizerItem
,
39673 &_swigt__p_wxGDIObjListBase
,
39674 &_swigt__p_wxGDIObject
,
39675 &_swigt__p_wxGIFHandler
,
39676 &_swigt__p_wxGraphicsBrush
,
39677 &_swigt__p_wxGraphicsContext
,
39678 &_swigt__p_wxGraphicsFont
,
39679 &_swigt__p_wxGraphicsMatrix
,
39680 &_swigt__p_wxGraphicsObject
,
39681 &_swigt__p_wxGraphicsPath
,
39682 &_swigt__p_wxGraphicsPen
,
39683 &_swigt__p_wxGraphicsRenderer
,
39684 &_swigt__p_wxGridBagSizer
,
39685 &_swigt__p_wxGridSizer
,
39686 &_swigt__p_wxHeaderButtonParams
,
39687 &_swigt__p_wxICOHandler
,
39689 &_swigt__p_wxIconBundle
,
39690 &_swigt__p_wxIconLocation
,
39691 &_swigt__p_wxIconizeEvent
,
39692 &_swigt__p_wxIdleEvent
,
39693 &_swigt__p_wxImage
,
39694 &_swigt__p_wxImageHandler
,
39695 &_swigt__p_wxImageList
,
39696 &_swigt__p_wxIndividualLayoutConstraint
,
39697 &_swigt__p_wxInitDialogEvent
,
39698 &_swigt__p_wxJPEGHandler
,
39699 &_swigt__p_wxKeyEvent
,
39700 &_swigt__p_wxLanguageInfo
,
39701 &_swigt__p_wxLayoutConstraints
,
39702 &_swigt__p_wxLocale
,
39704 &_swigt__p_wxMaximizeEvent
,
39705 &_swigt__p_wxMemoryDC
,
39707 &_swigt__p_wxMenuBar
,
39708 &_swigt__p_wxMenuEvent
,
39709 &_swigt__p_wxMenuItem
,
39710 &_swigt__p_wxMetaFile
,
39711 &_swigt__p_wxMetaFileDC
,
39712 &_swigt__p_wxMirrorDC
,
39713 &_swigt__p_wxMouseCaptureChangedEvent
,
39714 &_swigt__p_wxMouseCaptureLostEvent
,
39715 &_swigt__p_wxMouseEvent
,
39716 &_swigt__p_wxMoveEvent
,
39717 &_swigt__p_wxNativeEncodingInfo
,
39718 &_swigt__p_wxNativeFontInfo
,
39719 &_swigt__p_wxNativePixelData
,
39720 &_swigt__p_wxNativePixelData_Accessor
,
39721 &_swigt__p_wxNavigationKeyEvent
,
39722 &_swigt__p_wxNcPaintEvent
,
39723 &_swigt__p_wxNotifyEvent
,
39724 &_swigt__p_wxObject
,
39725 &_swigt__p_wxOverlay
,
39726 &_swigt__p_wxPCXHandler
,
39727 &_swigt__p_wxPNGHandler
,
39728 &_swigt__p_wxPNMHandler
,
39729 &_swigt__p_wxPaintDC
,
39730 &_swigt__p_wxPaintEvent
,
39731 &_swigt__p_wxPalette
,
39732 &_swigt__p_wxPaletteChangedEvent
,
39733 &_swigt__p_wxPaperSize
,
39735 &_swigt__p_wxPenList
,
39736 &_swigt__p_wxPixelDataBase
,
39737 &_swigt__p_wxPoint
,
39738 &_swigt__p_wxPoint2D
,
39739 &_swigt__p_wxPoint2DDouble
,
39740 &_swigt__p_wxPostScriptDC
,
39741 &_swigt__p_wxPrintData
,
39742 &_swigt__p_wxPrinterDC
,
39743 &_swigt__p_wxPseudoDC
,
39744 &_swigt__p_wxPyApp
,
39745 &_swigt__p_wxPyCommandEvent
,
39746 &_swigt__p_wxPyEvent
,
39747 &_swigt__p_wxPyFontEnumerator
,
39748 &_swigt__p_wxPyImageHandler
,
39749 &_swigt__p_wxPyLocale
,
39750 &_swigt__p_wxPySizer
,
39751 &_swigt__p_wxPyValidator
,
39752 &_swigt__p_wxQueryNewPaletteEvent
,
39754 &_swigt__p_wxRect2DDouble
,
39755 &_swigt__p_wxRegion
,
39756 &_swigt__p_wxRegionIterator
,
39757 &_swigt__p_wxRendererNative
,
39758 &_swigt__p_wxRendererVersion
,
39759 &_swigt__p_wxScreenDC
,
39760 &_swigt__p_wxScrollEvent
,
39761 &_swigt__p_wxScrollWinEvent
,
39762 &_swigt__p_wxSetCursorEvent
,
39763 &_swigt__p_wxShowEvent
,
39765 &_swigt__p_wxSizeEvent
,
39766 &_swigt__p_wxSizer
,
39767 &_swigt__p_wxSizerItem
,
39768 &_swigt__p_wxSplitterRenderParams
,
39769 &_swigt__p_wxStaticBoxSizer
,
39770 &_swigt__p_wxStdDialogButtonSizer
,
39771 &_swigt__p_wxStockGDI
,
39772 &_swigt__p_wxString
,
39773 &_swigt__p_wxSysColourChangedEvent
,
39774 &_swigt__p_wxTIFFHandler
,
39775 &_swigt__p_wxUpdateUIEvent
,
39776 &_swigt__p_wxValidator
,
39777 &_swigt__p_wxWindow
,
39778 &_swigt__p_wxWindowCreateEvent
,
39779 &_swigt__p_wxWindowDC
,
39780 &_swigt__p_wxWindowDestroyEvent
,
39781 &_swigt__p_wxXPMHandler
,
39784 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
39785 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39786 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
39787 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39788 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39789 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39790 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39791 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39792 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39793 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
39794 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39795 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39796 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39797 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
39798 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
39799 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}};
39800 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39801 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39802 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}};
39803 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
39804 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39805 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
39806 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39807 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}};
39808 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
39809 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
39810 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39811 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
39812 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
39813 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
39814 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39815 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
39816 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
39817 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39818 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
39819 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
39820 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
39821 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}};
39822 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}};
39823 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
39824 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
39825 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
39826 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
39827 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}};
39828 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
39829 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
39830 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
39831 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
39832 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39833 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
39834 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
39835 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39836 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
39837 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
39838 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}};
39839 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
39840 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}};
39841 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
39842 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
39843 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
39844 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
39845 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
39846 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
39847 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39848 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39849 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39850 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39851 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39852 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39853 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39854 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39855 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39856 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39857 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39858 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39859 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
39860 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39861 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39862 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39863 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39864 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39865 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39866 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39867 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39868 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39869 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39870 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39871 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39872 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39873 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39874 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39875 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39876 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39877 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39878 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39879 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39880 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39881 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39882 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39883 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39884 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39885 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39886 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39887 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
39888 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39889 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39890 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39891 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39892 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39893 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39894 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39895 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39896 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39897 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39898 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39899 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39900 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39901 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39902 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39903 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39904 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39905 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39906 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39907 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39908 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39909 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39910 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39911 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39912 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39913 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39914 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39915 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39916 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39917 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39918 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39919 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39920 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39921 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39922 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39923 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39924 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}};
39925 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39926 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39927 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
39928 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39929 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
39930 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
39931 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}};
39932 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39933 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
39934 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39935 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
39936 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
39937 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
39938 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
39939 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
39940 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
39941 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39942 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39943 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
39944 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
39945 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
39946 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
39947 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
39948 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39949 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
39950 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
39951 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39952 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}};
39953 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}};
39955 static swig_cast_info
*swig_cast_initial
[] = {
39959 _swigc__p_form_ops_t
,
39961 _swigc__p_unsigned_char
,
39962 _swigc__p_unsigned_int
,
39963 _swigc__p_unsigned_long
,
39965 _swigc__p_wxANIHandler
,
39966 _swigc__p_wxAcceleratorTable
,
39967 _swigc__p_wxActivateEvent
,
39968 _swigc__p_wxAlphaPixelData
,
39969 _swigc__p_wxAlphaPixelData_Accessor
,
39970 _swigc__p_wxAutoBufferedPaintDC
,
39971 _swigc__p_wxBMPHandler
,
39972 _swigc__p_wxBitmap
,
39973 _swigc__p_wxBoxSizer
,
39975 _swigc__p_wxBrushList
,
39976 _swigc__p_wxBufferedDC
,
39977 _swigc__p_wxBufferedPaintDC
,
39978 _swigc__p_wxCURHandler
,
39980 _swigc__p_wxChildFocusEvent
,
39981 _swigc__p_wxClientDC
,
39982 _swigc__p_wxClipboardTextEvent
,
39983 _swigc__p_wxCloseEvent
,
39985 _swigc__p_wxColour
,
39986 _swigc__p_wxColourDatabase
,
39987 _swigc__p_wxCommandEvent
,
39988 _swigc__p_wxContextMenuEvent
,
39989 _swigc__p_wxControl
,
39990 _swigc__p_wxControlWithItems
,
39991 _swigc__p_wxCursor
,
39993 _swigc__p_wxDCBrushChanger
,
39994 _swigc__p_wxDCClipper
,
39995 _swigc__p_wxDCOverlay
,
39996 _swigc__p_wxDCPenChanger
,
39997 _swigc__p_wxDCTextColourChanger
,
39999 _swigc__p_wxDateEvent
,
40000 _swigc__p_wxDisplayChangedEvent
,
40001 _swigc__p_wxDropFilesEvent
,
40002 _swigc__p_wxDuplexMode
,
40003 _swigc__p_wxEffects
,
40004 _swigc__p_wxEncodingConverter
,
40005 _swigc__p_wxEraseEvent
,
40007 _swigc__p_wxEvtHandler
,
40008 _swigc__p_wxFSFile
,
40009 _swigc__p_wxFileSystem
,
40010 _swigc__p_wxFlexGridSizer
,
40011 _swigc__p_wxFocusEvent
,
40013 _swigc__p_wxFontList
,
40014 _swigc__p_wxFontMapper
,
40015 _swigc__p_wxGBSizerItem
,
40017 _swigc__p_wxGDIObjListBase
,
40018 _swigc__p_wxGDIObject
,
40019 _swigc__p_wxGIFHandler
,
40020 _swigc__p_wxGraphicsBrush
,
40021 _swigc__p_wxGraphicsContext
,
40022 _swigc__p_wxGraphicsFont
,
40023 _swigc__p_wxGraphicsMatrix
,
40024 _swigc__p_wxGraphicsObject
,
40025 _swigc__p_wxGraphicsPath
,
40026 _swigc__p_wxGraphicsPen
,
40027 _swigc__p_wxGraphicsRenderer
,
40028 _swigc__p_wxGridBagSizer
,
40029 _swigc__p_wxGridSizer
,
40030 _swigc__p_wxHeaderButtonParams
,
40031 _swigc__p_wxICOHandler
,
40033 _swigc__p_wxIconBundle
,
40034 _swigc__p_wxIconLocation
,
40035 _swigc__p_wxIconizeEvent
,
40036 _swigc__p_wxIdleEvent
,
40038 _swigc__p_wxImageHandler
,
40039 _swigc__p_wxImageList
,
40040 _swigc__p_wxIndividualLayoutConstraint
,
40041 _swigc__p_wxInitDialogEvent
,
40042 _swigc__p_wxJPEGHandler
,
40043 _swigc__p_wxKeyEvent
,
40044 _swigc__p_wxLanguageInfo
,
40045 _swigc__p_wxLayoutConstraints
,
40046 _swigc__p_wxLocale
,
40048 _swigc__p_wxMaximizeEvent
,
40049 _swigc__p_wxMemoryDC
,
40051 _swigc__p_wxMenuBar
,
40052 _swigc__p_wxMenuEvent
,
40053 _swigc__p_wxMenuItem
,
40054 _swigc__p_wxMetaFile
,
40055 _swigc__p_wxMetaFileDC
,
40056 _swigc__p_wxMirrorDC
,
40057 _swigc__p_wxMouseCaptureChangedEvent
,
40058 _swigc__p_wxMouseCaptureLostEvent
,
40059 _swigc__p_wxMouseEvent
,
40060 _swigc__p_wxMoveEvent
,
40061 _swigc__p_wxNativeEncodingInfo
,
40062 _swigc__p_wxNativeFontInfo
,
40063 _swigc__p_wxNativePixelData
,
40064 _swigc__p_wxNativePixelData_Accessor
,
40065 _swigc__p_wxNavigationKeyEvent
,
40066 _swigc__p_wxNcPaintEvent
,
40067 _swigc__p_wxNotifyEvent
,
40068 _swigc__p_wxObject
,
40069 _swigc__p_wxOverlay
,
40070 _swigc__p_wxPCXHandler
,
40071 _swigc__p_wxPNGHandler
,
40072 _swigc__p_wxPNMHandler
,
40073 _swigc__p_wxPaintDC
,
40074 _swigc__p_wxPaintEvent
,
40075 _swigc__p_wxPalette
,
40076 _swigc__p_wxPaletteChangedEvent
,
40077 _swigc__p_wxPaperSize
,
40079 _swigc__p_wxPenList
,
40080 _swigc__p_wxPixelDataBase
,
40082 _swigc__p_wxPoint2D
,
40083 _swigc__p_wxPoint2DDouble
,
40084 _swigc__p_wxPostScriptDC
,
40085 _swigc__p_wxPrintData
,
40086 _swigc__p_wxPrinterDC
,
40087 _swigc__p_wxPseudoDC
,
40089 _swigc__p_wxPyCommandEvent
,
40090 _swigc__p_wxPyEvent
,
40091 _swigc__p_wxPyFontEnumerator
,
40092 _swigc__p_wxPyImageHandler
,
40093 _swigc__p_wxPyLocale
,
40094 _swigc__p_wxPySizer
,
40095 _swigc__p_wxPyValidator
,
40096 _swigc__p_wxQueryNewPaletteEvent
,
40098 _swigc__p_wxRect2DDouble
,
40099 _swigc__p_wxRegion
,
40100 _swigc__p_wxRegionIterator
,
40101 _swigc__p_wxRendererNative
,
40102 _swigc__p_wxRendererVersion
,
40103 _swigc__p_wxScreenDC
,
40104 _swigc__p_wxScrollEvent
,
40105 _swigc__p_wxScrollWinEvent
,
40106 _swigc__p_wxSetCursorEvent
,
40107 _swigc__p_wxShowEvent
,
40109 _swigc__p_wxSizeEvent
,
40111 _swigc__p_wxSizerItem
,
40112 _swigc__p_wxSplitterRenderParams
,
40113 _swigc__p_wxStaticBoxSizer
,
40114 _swigc__p_wxStdDialogButtonSizer
,
40115 _swigc__p_wxStockGDI
,
40116 _swigc__p_wxString
,
40117 _swigc__p_wxSysColourChangedEvent
,
40118 _swigc__p_wxTIFFHandler
,
40119 _swigc__p_wxUpdateUIEvent
,
40120 _swigc__p_wxValidator
,
40121 _swigc__p_wxWindow
,
40122 _swigc__p_wxWindowCreateEvent
,
40123 _swigc__p_wxWindowDC
,
40124 _swigc__p_wxWindowDestroyEvent
,
40125 _swigc__p_wxXPMHandler
,
40129 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40131 static swig_const_info swig_const_table
[] = {
40132 {0, 0, 0, 0.0, 0, 0}};
40137 /* -----------------------------------------------------------------------------
40138 * Type initialization:
40139 * This problem is tough by the requirement that no dynamic
40140 * memory is used. Also, since swig_type_info structures store pointers to
40141 * swig_cast_info structures and swig_cast_info structures store pointers back
40142 * to swig_type_info structures, we need some lookup code at initialization.
40143 * The idea is that swig generates all the structures that are needed.
40144 * The runtime then collects these partially filled structures.
40145 * The SWIG_InitializeModule function takes these initial arrays out of
40146 * swig_module, and does all the lookup, filling in the swig_module.types
40147 * array with the correct data and linking the correct swig_cast_info
40148 * structures together.
40150 * The generated swig_type_info structures are assigned staticly to an initial
40151 * array. We just loop though that array, and handle each type individually.
40152 * First we lookup if this type has been already loaded, and if so, use the
40153 * loaded structure instead of the generated one. Then we have to fill in the
40154 * cast linked list. The cast data is initially stored in something like a
40155 * two-dimensional array. Each row corresponds to a type (there are the same
40156 * number of rows as there are in the swig_type_initial array). Each entry in
40157 * a column is one of the swig_cast_info structures for that type.
40158 * The cast_initial array is actually an array of arrays, because each row has
40159 * a variable number of columns. So to actually build the cast linked list,
40160 * we find the array of casts associated with the type, and loop through it
40161 * adding the casts to the list. The one last trick we need to do is making
40162 * sure the type pointer in the swig_cast_info struct is correct.
40164 * First off, we lookup the cast->type name to see if it is already loaded.
40165 * There are three cases to handle:
40166 * 1) If the cast->type has already been loaded AND the type we are adding
40167 * casting info to has not been loaded (it is in this module), THEN we
40168 * replace the cast->type pointer with the type pointer that has already
40170 * 2) If BOTH types (the one we are adding casting info to, and the
40171 * cast->type) are loaded, THEN the cast info has already been loaded by
40172 * the previous module so we just ignore it.
40173 * 3) Finally, if cast->type has not already been loaded, then we add that
40174 * swig_cast_info to the linked list (because the cast->type) pointer will
40176 * ----------------------------------------------------------------------------- */
40186 #define SWIGRUNTIME_DEBUG
40190 SWIG_InitializeModule(void *clientdata
) {
40192 swig_module_info
*module_head
;
40193 static int init_run
= 0;
40195 clientdata
= clientdata
;
40197 if (init_run
) return;
40200 /* Initialize the swig_module */
40201 swig_module
.type_initial
= swig_type_initial
;
40202 swig_module
.cast_initial
= swig_cast_initial
;
40204 /* Try and load any already created modules */
40205 module_head
= SWIG_GetModule(clientdata
);
40207 swig_module
.next
= module_head
->next
;
40208 module_head
->next
= &swig_module
;
40210 /* This is the first module loaded */
40211 swig_module
.next
= &swig_module
;
40212 SWIG_SetModule(clientdata
, &swig_module
);
40215 /* Now work on filling in swig_module.types */
40216 #ifdef SWIGRUNTIME_DEBUG
40217 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40219 for (i
= 0; i
< swig_module
.size
; ++i
) {
40220 swig_type_info
*type
= 0;
40221 swig_type_info
*ret
;
40222 swig_cast_info
*cast
;
40224 #ifdef SWIGRUNTIME_DEBUG
40225 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40228 /* if there is another module already loaded */
40229 if (swig_module
.next
!= &swig_module
) {
40230 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40233 /* Overwrite clientdata field */
40234 #ifdef SWIGRUNTIME_DEBUG
40235 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40237 if (swig_module
.type_initial
[i
]->clientdata
) {
40238 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40239 #ifdef SWIGRUNTIME_DEBUG
40240 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40244 type
= swig_module
.type_initial
[i
];
40247 /* Insert casting types */
40248 cast
= swig_module
.cast_initial
[i
];
40249 while (cast
->type
) {
40250 /* Don't need to add information already in the list */
40252 #ifdef SWIGRUNTIME_DEBUG
40253 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40255 if (swig_module
.next
!= &swig_module
) {
40256 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40257 #ifdef SWIGRUNTIME_DEBUG
40258 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40262 if (type
== swig_module
.type_initial
[i
]) {
40263 #ifdef SWIGRUNTIME_DEBUG
40264 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40269 /* Check for casting already in the list */
40270 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40271 #ifdef SWIGRUNTIME_DEBUG
40272 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40274 if (!ocast
) ret
= 0;
40279 #ifdef SWIGRUNTIME_DEBUG
40280 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40283 type
->cast
->prev
= cast
;
40284 cast
->next
= type
->cast
;
40290 /* Set entry in modules->types array equal to the type */
40291 swig_module
.types
[i
] = type
;
40293 swig_module
.types
[i
] = 0;
40295 #ifdef SWIGRUNTIME_DEBUG
40296 printf("**** SWIG_InitializeModule: Cast List ******\n");
40297 for (i
= 0; i
< swig_module
.size
; ++i
) {
40299 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40300 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40301 while (cast
->type
) {
40302 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40306 printf("---- Total casts: %d\n",j
);
40308 printf("**** SWIG_InitializeModule: Cast List ******\n");
40312 /* This function will propagate the clientdata field of type to
40313 * any new swig_type_info structures that have been added into the list
40314 * of equivalent types. It is like calling
40315 * SWIG_TypeClientData(type, clientdata) a second time.
40318 SWIG_PropagateClientData(void) {
40320 swig_cast_info
*equiv
;
40321 static int init_run
= 0;
40323 if (init_run
) return;
40326 for (i
= 0; i
< swig_module
.size
; i
++) {
40327 if (swig_module
.types
[i
]->clientdata
) {
40328 equiv
= swig_module
.types
[i
]->cast
;
40330 if (!equiv
->converter
) {
40331 if (equiv
->type
&& !equiv
->type
->clientdata
)
40332 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40334 equiv
= equiv
->next
;
40354 /* Python-specific SWIG API */
40355 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40356 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40357 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40359 /* -----------------------------------------------------------------------------
40360 * global variable support code.
40361 * ----------------------------------------------------------------------------- */
40363 typedef struct swig_globalvar
{
40364 char *name
; /* Name of global variable */
40365 PyObject
*(*get_attr
)(void); /* Return the current value */
40366 int (*set_attr
)(PyObject
*); /* Set the value */
40367 struct swig_globalvar
*next
;
40370 typedef struct swig_varlinkobject
{
40372 swig_globalvar
*vars
;
40373 } swig_varlinkobject
;
40375 SWIGINTERN PyObject
*
40376 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40377 return PyString_FromString("<Swig global variables>");
40380 SWIGINTERN PyObject
*
40381 swig_varlink_str(swig_varlinkobject
*v
) {
40382 PyObject
*str
= PyString_FromString("(");
40383 swig_globalvar
*var
;
40384 for (var
= v
->vars
; var
; var
=var
->next
) {
40385 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40386 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40388 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40393 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40394 PyObject
*str
= swig_varlink_str(v
);
40395 fprintf(fp
,"Swig global variables ");
40396 fprintf(fp
,"%s\n", PyString_AsString(str
));
40402 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40403 swig_globalvar
*var
= v
->vars
;
40405 swig_globalvar
*n
= var
->next
;
40412 SWIGINTERN PyObject
*
40413 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40414 PyObject
*res
= NULL
;
40415 swig_globalvar
*var
= v
->vars
;
40417 if (strcmp(var
->name
,n
) == 0) {
40418 res
= (*var
->get_attr
)();
40423 if (res
== NULL
&& !PyErr_Occurred()) {
40424 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40430 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40432 swig_globalvar
*var
= v
->vars
;
40434 if (strcmp(var
->name
,n
) == 0) {
40435 res
= (*var
->set_attr
)(p
);
40440 if (res
== 1 && !PyErr_Occurred()) {
40441 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40446 SWIGINTERN PyTypeObject
*
40447 swig_varlink_type(void) {
40448 static char varlink__doc__
[] = "Swig var link object";
40449 static PyTypeObject varlink_type
;
40450 static int type_init
= 0;
40452 const PyTypeObject tmp
40454 PyObject_HEAD_INIT(NULL
)
40455 0, /* Number of items in variable part (ob_size) */
40456 (char *)"swigvarlink", /* Type name (tp_name) */
40457 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40458 0, /* Itemsize (tp_itemsize) */
40459 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40460 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40461 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40462 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40463 0, /* tp_compare */
40464 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40465 0, /* tp_as_number */
40466 0, /* tp_as_sequence */
40467 0, /* tp_as_mapping */
40470 (reprfunc
)swig_varlink_str
, /* tp_str */
40471 0, /* tp_getattro */
40472 0, /* tp_setattro */
40473 0, /* tp_as_buffer */
40475 varlink__doc__
, /* tp_doc */
40476 0, /* tp_traverse */
40478 0, /* tp_richcompare */
40479 0, /* tp_weaklistoffset */
40480 #if PY_VERSION_HEX >= 0x02020000
40481 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40483 #if PY_VERSION_HEX >= 0x02030000
40486 #ifdef COUNT_ALLOCS
40487 0,0,0,0 /* tp_alloc -> tp_next */
40490 varlink_type
= tmp
;
40491 varlink_type
.ob_type
= &PyType_Type
;
40494 return &varlink_type
;
40497 /* Create a variable linking object for use later */
40498 SWIGINTERN PyObject
*
40499 SWIG_Python_newvarlink(void) {
40500 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40504 return ((PyObject
*) result
);
40508 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40509 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40510 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40512 size_t size
= strlen(name
)+1;
40513 gv
->name
= (char *)malloc(size
);
40515 strncpy(gv
->name
,name
,size
);
40516 gv
->get_attr
= get_attr
;
40517 gv
->set_attr
= set_attr
;
40518 gv
->next
= v
->vars
;
40524 SWIGINTERN PyObject
*
40526 static PyObject
*_SWIG_globals
= 0;
40527 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40528 return _SWIG_globals
;
40531 /* -----------------------------------------------------------------------------
40532 * constants/methods manipulation
40533 * ----------------------------------------------------------------------------- */
40535 /* Install Constants */
40537 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40540 for (i
= 0; constants
[i
].type
; ++i
) {
40541 switch(constants
[i
].type
) {
40542 case SWIG_PY_POINTER
:
40543 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40545 case SWIG_PY_BINARY
:
40546 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40553 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40559 /* -----------------------------------------------------------------------------*/
40560 /* Fix SwigMethods to carry the callback ptrs when needed */
40561 /* -----------------------------------------------------------------------------*/
40564 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40565 swig_const_info
*const_table
,
40566 swig_type_info
**types
,
40567 swig_type_info
**types_initial
) {
40569 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40570 const char *c
= methods
[i
].ml_doc
;
40571 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40573 swig_const_info
*ci
= 0;
40574 const char *name
= c
+ 10;
40575 for (j
= 0; const_table
[j
].type
; ++j
) {
40576 if (strncmp(const_table
[j
].name
, name
,
40577 strlen(const_table
[j
].name
)) == 0) {
40578 ci
= &(const_table
[j
]);
40583 size_t shift
= (ci
->ptype
) - types
;
40584 swig_type_info
*ty
= types_initial
[shift
];
40585 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40586 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40587 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40590 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40592 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40594 strncpy(buff
, "swig_ptr: ", 10);
40596 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40597 methods
[i
].ml_doc
= ndoc
;
40609 /* -----------------------------------------------------------------------------*
40610 * Partial Init method
40611 * -----------------------------------------------------------------------------*/
40616 SWIGEXPORT
void SWIG_init(void) {
40619 /* Fix SwigMethods to carry the callback ptrs when needed */
40620 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40622 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40623 d
= PyModule_GetDict(m
);
40625 SWIG_InitializeModule(0);
40626 SWIG_InstallConstants(d
,swig_const_table
);
40629 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40630 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40631 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40632 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40633 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40634 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40635 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40636 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40637 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40638 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40639 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40640 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40641 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40642 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40643 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40644 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40645 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40646 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40647 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40648 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40649 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40650 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40651 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40652 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40653 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40654 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40655 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40656 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40657 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40658 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40659 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40660 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40661 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40662 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40663 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40664 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40665 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40666 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40667 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40668 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40669 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40670 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40671 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40672 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40673 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40674 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40675 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40676 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40677 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40678 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40679 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40680 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40681 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40682 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40683 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40684 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40685 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40686 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40687 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40688 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40689 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40690 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40691 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40692 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40693 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40694 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40695 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40696 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40697 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40698 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40699 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40700 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40701 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40702 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40703 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40704 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40705 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40706 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40707 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40708 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40709 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40710 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40711 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40712 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40713 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40714 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40715 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40716 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40717 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40718 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40719 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40720 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40721 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40722 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40723 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40724 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40725 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40726 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40727 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40728 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40729 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40730 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40731 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40732 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40733 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40734 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40735 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40736 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40737 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40738 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40739 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40740 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40741 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40742 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40743 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40744 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40745 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40746 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40747 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40748 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40749 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40750 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40751 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40752 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40753 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40754 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40755 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40756 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40757 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40758 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40759 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40760 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40762 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40764 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40765 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40766 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40767 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
40768 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
40769 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
40770 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
40771 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
40772 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
40773 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
40774 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
40775 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
40776 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
40777 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
40778 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
40779 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
40780 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
40781 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
40782 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
40783 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
40784 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
40785 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
40786 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
40787 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
40788 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
40789 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
40790 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
40791 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
40792 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
40793 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
40794 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
40795 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
40796 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
40797 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
40798 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
40799 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
40800 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
40801 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
40802 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
40803 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
40804 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
40805 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
40806 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
40807 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
40808 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
40809 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
40810 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
40811 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
40812 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
40813 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
40814 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
40815 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
40816 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
40817 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
40818 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
40819 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
40820 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
40821 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
40822 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
40823 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
40824 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
40825 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
40826 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
40827 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
40828 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
40829 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
40830 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
40831 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
40832 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
40833 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
40834 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
40835 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
40836 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
40837 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
40838 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
40839 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
40840 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
40841 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
40842 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
40843 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
40844 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
40845 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
40846 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
40847 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
40848 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
40849 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
40850 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
40851 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
40852 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
40853 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
40854 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
40855 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
40856 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
40857 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
40858 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
40859 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
40860 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
40861 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
40862 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
40863 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
40864 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
40865 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
40866 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
40867 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
40868 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
40869 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
40870 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
40871 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
40872 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
40873 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
40874 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
40875 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
40876 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
40877 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
40878 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
40879 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
40880 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
40881 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
40882 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
40883 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
40884 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
40885 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
40886 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
40887 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
40888 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
40889 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
40890 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
40891 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
40892 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
40893 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
40894 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
40895 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
40896 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
40897 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
40898 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
40899 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
40900 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
40901 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
40902 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
40903 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
40904 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
40905 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
40906 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
40907 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
40908 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
40909 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
40910 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
40911 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
40912 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
40913 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
40914 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
40915 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
40916 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
40917 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
40918 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
40919 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
40920 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
40921 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
40922 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
40923 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
40924 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
40925 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
40926 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
40927 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
40928 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
40929 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
40930 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
40931 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
40932 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
40933 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
40934 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
40935 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
40936 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
40937 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
40938 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
40939 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
40940 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
40941 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
40942 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
40943 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
40944 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
40945 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
40946 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
40947 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
40948 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
40949 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
40950 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
40951 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
40952 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
40953 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
40954 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
40955 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
40956 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
40957 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
40958 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
40959 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
40960 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
40961 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
40962 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
40963 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
40964 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
40965 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
40966 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
40967 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
40968 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
40969 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
40970 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
40971 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
40972 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
40973 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
40974 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
40975 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
40976 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
40977 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
40978 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
40979 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
40980 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
40981 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
40982 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
40983 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
40984 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
40985 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
40986 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
40987 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
40988 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
40989 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
40990 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
40991 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
40992 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
40993 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
40994 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
40995 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
40996 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
40997 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
40998 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
40999 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41000 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41001 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41002 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41003 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41004 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41005 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41006 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41007 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41008 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41009 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41010 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41011 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41012 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41013 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41014 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41015 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41016 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41017 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41018 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41019 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41020 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41021 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41022 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41023 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41024 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41025 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41026 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41027 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41028 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41029 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41030 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41031 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41032 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41033 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41034 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41035 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41036 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41037 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41038 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41039 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41040 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41041 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41042 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41043 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41044 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41045 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41046 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41047 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41048 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41049 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41050 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41051 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41052 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41053 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41054 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41055 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41056 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41057 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41058 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41059 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41060 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41061 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41062 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41063 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41064 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41065 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41066 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41067 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41068 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41069 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41070 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41071 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41072 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41073 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41074 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41075 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41076 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41077 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41078 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41079 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41080 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41081 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41082 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41083 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41084 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41085 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41086 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41087 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41089 // Work around a chicken/egg problem in drawlist.cpp
41090 wxPyDrawList_SetAPIPtr();