1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
);
3233 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3240 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3247 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3249 wxImage
img(cursorName
, type
);
3250 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3252 return new wxCursor(img
);
3254 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3259 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3262 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3263 return self
->operator bool();
3266 #include <wx/fontutil.h>
3267 #include <wx/fontmap.h>
3268 #include <wx/fontenum.h>
3270 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3271 return self
->ToString();
3274 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3275 static wxNativeEncodingInfo info
;
3276 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3283 SWIGINTERNINLINE PyObject
*
3284 SWIG_From_size_t (size_t value
)
3286 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3290 SWIGINTERNINLINE
int
3291 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3294 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3295 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxChar
*szName
, // name (for messages)
3399 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3400 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3410 const wxChar
*szDomain
= NULL
) const;
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szOrigString2
, size_t n
,
3413 const wxChar
*szDomain
= NULL
) const;
3415 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3416 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3418 const wxChar
*szOrigString2
, size_t n
,
3419 const wxChar
*szDomain
= NULL
) const;
3423 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3426 wxPyLocale::wxPyLocale() : wxLocale()
3430 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3431 const wxChar
*szShort
, // dir prefix (for msg files)
3432 const wxChar
*szLocale
, // locale (for setlocale)
3433 bool bLoadDefault
, // preload wxstd.mo?
3434 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3435 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3439 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3440 int flags
) : wxLocale(language
, flags
)
3444 wxPyLocale::~wxPyLocale()
3448 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3449 const wxChar
*szDomain
) const
3451 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3452 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3455 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3456 const wxChar
*szOrigString2
, size_t n
,
3457 const wxChar
*szDomain
) const
3459 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3460 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3463 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3464 const wxChar
*szDomain
) const
3467 static wxString str
;
3468 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.
3469 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3470 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3471 PyObject
* param1
= wx2PyString(szOrigString
);
3472 PyObject
* param2
= wx2PyString(szDomain
);
3473 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3477 str
= Py2wxString(ret
);
3481 wxPyEndBlockThreads(blocked
);
3482 return (found
? (wxChar
*)str
.c_str() : NULL
);
3485 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3486 const wxChar
*szOrigString2
, size_t n
,
3487 const wxChar
*szDomain
) const
3490 static wxString str
;
3491 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.
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szOrigString2
);
3496 PyObject
* param4
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3502 str
= Py2wxString(ret
);
3506 wxPyEndBlockThreads(blocked
);
3507 return (found
? (wxChar
*)str
.c_str() : NULL
);
3510 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3513 loc
= new wxPyLocale();
3515 loc
= new wxPyLocale(language
, flags
);
3516 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3517 // for the floating point conversions and such to work right.
3518 #if PY_VERSION_HEX < 0x02040000
3519 setlocale(LC_NUMERIC
, "C");
3524 #include "wx/wxPython/pydrawxxx.h"
3526 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3528 self
->GetPixel(x
, y
, &col
);
3531 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3533 self
->GetPixel(pt
, &col
);
3538 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3540 if (PyNumber_Check(obj
)) {
3541 if (val
) *val
= PyFloat_AsDouble(obj
);
3544 return SWIG_TypeError
;
3547 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3549 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3552 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3554 self
->GetClippingBox(rect
);
3557 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3559 self
->GetPartialTextExtents(text
, widths
);
3563 #define SWIG_From_double PyFloat_FromDouble
3565 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3566 self
->SetLogicalOrigin(point
.x
, point
.y
);
3568 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetDeviceOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->CalcBoundingBox(point
.x
, point
.y
);
3574 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3575 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3577 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3590 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3593 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3601 #include <wx/dcbuffer.h>
3604 #include <wx/dcps.h>
3607 class wxMetaFile
: public wxObject
{
3609 wxMetaFile(const wxString
&)
3610 { wxPyRaiseNotImplemented(); }
3613 class wxMetaFileDC
: public wxClientDC
{
3615 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3616 { wxPyRaiseNotImplemented(); }
3621 class wxPrinterDC
: public wxClientDC
{
3623 wxPrinterDC(const wxPrintData
&)
3624 { wxPyRaiseNotImplemented(); }
3629 #include <wx/graphics.h>
3632 #if !wxUSE_GRAPHICS_CONTEXT
3633 // C++ stub classes for platforms or build configurations that don't have
3634 // wxGraphicsContext yet.
3637 class wxGraphicsObject
: public wxObject
3640 wxGraphicsObject( wxGraphicsRenderer
* ) {
3641 PyErr_SetString(PyExc_NotImplementedError
,
3642 "wx.GraphicsObject is not available on this platform.");
3644 wxGraphicsObject( const wxGraphicsObject
& ) {}
3645 virtual ~wxGraphicsObject() {}
3646 bool IsNull() const { return false; }
3647 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3652 class wxGraphicsPen
: public wxGraphicsObject
3655 virtual ~wxGraphicsPen() {}
3657 wxGraphicsPen wxNullGraphicsPen
;
3661 class wxGraphicsBrush
: public wxGraphicsObject
3664 wxGraphicsBrush() {}
3665 virtual ~wxGraphicsBrush() {}
3667 wxGraphicsBrush wxNullGraphicsBrush
;
3671 class wxGraphicsFont
: public wxGraphicsObject
3675 virtual ~wxGraphicsFont() {}
3677 wxGraphicsFont wxNullGraphicsFont
;
3681 class wxGraphicsPath
: public wxGraphicsObject
3684 wxGraphicsPath(wxGraphicsRenderer
* ) {
3685 PyErr_SetString(PyExc_NotImplementedError
,
3686 "wx.GraphicsPath is not available on this platform.");
3688 virtual ~wxGraphicsPath() {}
3690 void MoveToPoint( wxDouble
, wxDouble
) {}
3691 void MoveToPoint( const wxPoint2DDouble
& ) {}
3692 void AddLineToPoint( wxDouble
, wxDouble
) {}
3693 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3694 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3695 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3696 void AddPath( const wxGraphicsPath
* ) {}
3697 void CloseSubpath() {}
3698 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3699 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3700 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3701 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3703 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3704 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3705 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3706 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3708 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void * GetNativePath() const { return NULL
; }
3711 void UnGetNativePath(void *) {}
3712 void Transform( wxGraphicsMatrix
* ) {}
3713 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3714 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3716 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3717 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3719 wxGraphicsPath wxNullGraphicsPath
;
3722 class wxGraphicsMatrix
: public wxGraphicsObject
3725 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3726 PyErr_SetString(PyExc_NotImplementedError
,
3727 "wx.GraphicsMatrix is not available on this platform.");
3729 virtual ~wxGraphicsMatrix() {}
3730 virtual void Concat( const wxGraphicsMatrix
* ) {}
3731 virtual void Copy( const wxGraphicsMatrix
* ) {}
3732 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3733 wxDouble
, wxDouble
) {}
3734 virtual void Invert() {}
3735 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3736 virtual bool IsIdentity() { return false; }
3737 virtual void Translate( wxDouble
, wxDouble
) {}
3738 virtual void Scale( wxDouble
, wxDouble
) {}
3739 virtual void Rotate( wxDouble
) {}
3740 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3741 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3742 virtual void * GetNativeMatrix() const { return NULL
; }
3744 wxGraphicsMatrix wxNullGraphicsMatrix
;
3747 class wxGraphicsContext
: public wxGraphicsObject
3751 wxGraphicsContext(wxGraphicsRenderer
* ) {
3752 PyErr_SetString(PyExc_NotImplementedError
,
3753 "wx.GraphicsContext is not available on this platform.");
3756 virtual ~wxGraphicsContext() {}
3758 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3759 PyErr_SetString(PyExc_NotImplementedError
,
3760 "wx.GraphicsContext is not available on this platform.");
3763 static wxGraphicsContext
* CreateFromNative( void * ) {
3764 PyErr_SetString(PyExc_NotImplementedError
,
3765 "wx.GraphicsContext is not available on this platform.");
3768 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3769 PyErr_SetString(PyExc_NotImplementedError
,
3770 "wx.GraphicsContext is not available on this platform.");
3773 static wxGraphicsContext
* Create( wxWindow
* ) {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3778 wxGraphicsPath
* CreatePath() { return NULL
; }
3780 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3782 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3784 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3785 const wxColour
&, const wxColour
&) { return NULL
; }
3787 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3788 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3789 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3791 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3793 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3794 wxDouble
, wxDouble
) { return NULL
; }
3796 virtual void PushState() {}
3797 virtual void PopState() {}
3798 virtual void Clip( const wxRegion
& ) {}
3799 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3800 virtual void ResetClip() {}
3801 virtual void * GetNativeContext() { return NULL
; }
3802 virtual void Translate( wxDouble
, wxDouble
) {}
3803 virtual void Scale( wxDouble
, wxDouble
) {}
3804 virtual void Rotate( wxDouble
) {}
3805 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3806 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3807 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3809 virtual void SetPen( const wxGraphicsPen
& ) {}
3810 void SetPen( const wxPen
& ) {}
3812 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3813 void SetBrush( const wxBrush
& ) {}
3815 virtual void SetFont( const wxGraphicsFont
& ) {}
3816 void SetFont( const wxFont
&, const wxColour
& ) {}
3818 virtual void StrokePath( const wxGraphicsPath
* ) {}
3819 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3820 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3822 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3823 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3824 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3825 wxDouble
*, wxDouble
* ) const {}
3826 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3828 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3829 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3831 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3832 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3833 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3834 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3835 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3836 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3838 virtual bool ShouldOffset() const { return false; }
3842 class wxGraphicsRenderer
: public wxObject
3845 wxGraphicsRenderer() {
3846 PyErr_SetString(PyExc_NotImplementedError
,
3847 "wx.GraphicsRenderer is not available on this platform.");
3850 virtual ~wxGraphicsRenderer() {}
3852 static wxGraphicsRenderer
* GetDefaultRenderer(
3853 PyErr_SetString(PyExc_NotImplementedError
,
3854 "wx.GraphicsRenderer is not available on this platform.");
3857 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3858 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3859 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3860 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3862 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3864 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3865 wxDouble
, wxDouble
) { return NULL
; }
3867 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3868 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3869 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3870 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3871 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3872 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3873 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3878 class wxGCDC
: public wxWindowDC
3881 wxGCDC(const wxWindowDC
&) {
3882 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3883 PyErr_SetString(PyExc_NotImplementedError
,
3884 "wxGCDC is not available on this platform.");
3885 wxPyEndBlockThreads(blocked
);
3889 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3890 PyErr_SetString(PyExc_NotImplementedError
,
3891 "wxGCDC is not available on this platform.");
3892 wxPyEndBlockThreads(blocked
);
3895 virtual ~wxGCDC() {}
3897 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3898 void SetGraphicsContext( wxGraphicsContext
* ) {}
3903 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3906 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3907 wxDouble width
= 0.0,
3909 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3910 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3911 PyObject
* rv
= PyTuple_New(2);
3912 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3913 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3916 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3917 wxArrayDouble widths
;
3918 self
->GetPartialTextExtents(text
, widths
);
3921 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3922 size_t c1
, c2
, count
;
3923 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3924 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3926 if ( beginP
!= NULL
&& endP
!= NULL
)
3928 count
= wxMin(c1
, c2
);
3929 self
->StrokeLines(count
, beginP
, endP
);
3935 #include "wx/dcgraph.h"
3938 #include <wx/overlay.h>
3942 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3943 self
->AddColour(name
, wxColour(red
, green
, blue
));
3946 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3947 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3948 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3949 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3952 #include <wx/effects.h>
3955 #include "wx/renderer.h"
3958 SWIGINTERNINLINE PyObject
*
3959 SWIG_From_bool (bool value
)
3961 return PyBool_FromLong(value
? 1 : 0);
3965 #include "wx/wxPython/pseudodc.h"
3967 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3969 self
->GetIdBounds(id
, rect
);
3975 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3976 PyObject
*resultobj
= 0;
3977 wxGDIObject
*result
= 0 ;
3979 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3981 if (!wxPyCheckForApp()) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 result
= (wxGDIObject
*)new wxGDIObject();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3994 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3995 PyObject
*resultobj
= 0;
3996 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3999 PyObject
*swig_obj
[1] ;
4001 if (!args
) SWIG_fail
;
4003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4004 if (!SWIG_IsOK(res1
)) {
4005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4007 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_Py_Void();
4022 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 PyObject
*resultobj
= 0;
4024 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4028 PyObject
*swig_obj
[1] ;
4030 if (!args
) SWIG_fail
;
4032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4033 if (!SWIG_IsOK(res1
)) {
4034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4036 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (bool)(arg1
)->IsNull();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4052 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4055 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4056 return SWIG_Py_Void();
4059 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4060 return SWIG_Python_InitShadowInstance(args
);
4063 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
*resultobj
= 0;
4065 byte arg1
= (byte
) 0 ;
4066 byte arg2
= (byte
) 0 ;
4067 byte arg3
= (byte
) 0 ;
4068 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4069 wxColour
*result
= 0 ;
4070 unsigned char val1
;
4072 unsigned char val2
;
4074 unsigned char val3
;
4076 unsigned char val4
;
4078 PyObject
* obj0
= 0 ;
4079 PyObject
* obj1
= 0 ;
4080 PyObject
* obj2
= 0 ;
4081 PyObject
* obj3
= 0 ;
4082 char * kwnames
[] = {
4083 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4088 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4089 if (!SWIG_IsOK(ecode1
)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4092 arg1
= static_cast< byte
>(val1
);
4095 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4096 if (!SWIG_IsOK(ecode2
)) {
4097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4099 arg2
= static_cast< byte
>(val2
);
4102 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4103 if (!SWIG_IsOK(ecode3
)) {
4104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4106 arg3
= static_cast< byte
>(val3
);
4109 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4110 if (!SWIG_IsOK(ecode4
)) {
4111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4113 arg4
= static_cast< byte
>(val4
);
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4128 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
= 0;
4130 wxString
*arg1
= 0 ;
4131 wxColour
*result
= 0 ;
4132 bool temp1
= false ;
4133 PyObject
* obj0
= 0 ;
4134 char * kwnames
[] = {
4135 (char *) "colorName", NULL
4138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4140 arg1
= wxString_in_helper(obj0
);
4141 if (arg1
== NULL
) SWIG_fail
;
4145 if (!wxPyCheckForApp()) SWIG_fail
;
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4166 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
= 0;
4168 unsigned long arg1
;
4169 wxColour
*result
= 0 ;
4170 unsigned long val1
;
4172 PyObject
* obj0
= 0 ;
4173 char * kwnames
[] = {
4174 (char *) "colRGB", NULL
4177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4178 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4179 if (!SWIG_IsOK(ecode1
)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4182 arg1
= static_cast< unsigned long >(val1
);
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (wxColour
*)new wxColour(arg1
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4196 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4197 PyObject
*resultobj
= 0;
4198 wxColour
*arg1
= (wxColour
*) 0 ;
4201 PyObject
*swig_obj
[1] ;
4203 if (!args
) SWIG_fail
;
4205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4206 if (!SWIG_IsOK(res1
)) {
4207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4209 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 resultobj
= SWIG_Py_Void();
4224 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4225 PyObject
*resultobj
= 0;
4226 wxColour
*arg1
= (wxColour
*) 0 ;
4230 PyObject
*swig_obj
[1] ;
4232 if (!args
) SWIG_fail
;
4234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4235 if (!SWIG_IsOK(res1
)) {
4236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4238 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (byte
)(arg1
)->Red();
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4252 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4253 PyObject
*resultobj
= 0;
4254 wxColour
*arg1
= (wxColour
*) 0 ;
4258 PyObject
*swig_obj
[1] ;
4260 if (!args
) SWIG_fail
;
4262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4263 if (!SWIG_IsOK(res1
)) {
4264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4266 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (byte
)(arg1
)->Green();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4280 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4281 PyObject
*resultobj
= 0;
4282 wxColour
*arg1
= (wxColour
*) 0 ;
4286 PyObject
*swig_obj
[1] ;
4288 if (!args
) SWIG_fail
;
4290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4291 if (!SWIG_IsOK(res1
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4294 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (byte
)(arg1
)->Blue();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4308 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxColour
*arg1
= (wxColour
*) 0 ;
4314 PyObject
*swig_obj
[1] ;
4316 if (!args
) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4322 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (byte
)(arg1
)->Alpha();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4336 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 PyObject
*resultobj
= 0;
4338 wxColour
*arg1
= (wxColour
*) 0 ;
4342 PyObject
*swig_obj
[1] ;
4344 if (!args
) SWIG_fail
;
4346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4347 if (!SWIG_IsOK(res1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4350 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (bool)(arg1
)->IsOk();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4366 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
*resultobj
= 0;
4368 wxColour
*arg1
= (wxColour
*) 0 ;
4372 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4375 unsigned char val2
;
4377 unsigned char val3
;
4379 unsigned char val4
;
4381 unsigned char val5
;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4385 PyObject
* obj2
= 0 ;
4386 PyObject
* obj3
= 0 ;
4387 PyObject
* obj4
= 0 ;
4388 char * kwnames
[] = {
4389 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4397 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4398 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4399 if (!SWIG_IsOK(ecode2
)) {
4400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4402 arg2
= static_cast< byte
>(val2
);
4403 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4404 if (!SWIG_IsOK(ecode3
)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4407 arg3
= static_cast< byte
>(val3
);
4408 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4409 if (!SWIG_IsOK(ecode4
)) {
4410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4412 arg4
= static_cast< byte
>(val4
);
4414 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4415 if (!SWIG_IsOK(ecode5
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4418 arg5
= static_cast< byte
>(val5
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_Py_Void();
4433 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
= 0;
4435 wxColour
*arg1
= (wxColour
*) 0 ;
4436 unsigned long arg2
;
4439 unsigned long val2
;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 char * kwnames
[] = {
4444 (char *) "self",(char *) "colRGB", NULL
4447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4452 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4453 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4454 if (!SWIG_IsOK(ecode2
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4457 arg2
= static_cast< unsigned long >(val2
);
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_Py_Void();
4471 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
= 0;
4473 wxColour
*arg1
= (wxColour
*) 0 ;
4474 wxString
*arg2
= 0 ;
4477 bool temp2
= false ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4480 char * kwnames
[] = {
4481 (char *) "self",(char *) "colourName", NULL
4484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4486 if (!SWIG_IsOK(res1
)) {
4487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4489 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4491 arg2
= wxString_in_helper(obj1
);
4492 if (arg2
== NULL
) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 (arg1
)->Set((wxString
const &)*arg2
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= SWIG_Py_Void();
4516 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxColour
*arg1
= (wxColour
*) 0 ;
4519 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4527 char * kwnames
[] = {
4528 (char *) "self",(char *) "flags", NULL
4531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4533 if (!SWIG_IsOK(res1
)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4536 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4538 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4539 if (!SWIG_IsOK(ecode2
)) {
4540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4542 arg2
= static_cast< long >(val2
);
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4563 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4564 PyObject
*resultobj
= 0;
4565 wxColour
*arg1
= (wxColour
*) 0 ;
4569 PyObject
*swig_obj
[1] ;
4571 if (!args
) SWIG_fail
;
4573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4574 if (!SWIG_IsOK(res1
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4577 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= SWIG_From_long(static_cast< long >(result
));
4591 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
= 0;
4593 wxColour
*arg1
= (wxColour
*) 0 ;
4594 PyObject
*arg2
= (PyObject
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4600 char * kwnames
[] = {
4601 (char *) "self",(char *) "other", NULL
4604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4606 if (!SWIG_IsOK(res1
)) {
4607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4609 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4612 result
= (bool)wxColour___eq__(arg1
,arg2
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4624 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
= 0;
4626 wxColour
*arg1
= (wxColour
*) 0 ;
4627 PyObject
*arg2
= (PyObject
*) 0 ;
4631 PyObject
* obj0
= 0 ;
4632 PyObject
* obj1
= 0 ;
4633 char * kwnames
[] = {
4634 (char *) "self",(char *) "other", NULL
4637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4639 if (!SWIG_IsOK(res1
)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4642 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4645 result
= (bool)wxColour___ne__(arg1
,arg2
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4657 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
= 0;
4659 wxColour
*arg1
= (wxColour
*) 0 ;
4660 bool arg2
= (bool) false ;
4661 PyObject
*result
= 0 ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 char * kwnames
[] = {
4669 (char *) "self",(char *) "includeAlpha", NULL
4672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4674 if (!SWIG_IsOK(res1
)) {
4675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4677 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4679 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4680 if (!SWIG_IsOK(ecode2
)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4683 arg2
= static_cast< bool >(val2
);
4686 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4696 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4698 wxColour
*arg1
= (wxColour
*) 0 ;
4699 unsigned long result
;
4702 PyObject
*swig_obj
[1] ;
4704 if (!args
) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4710 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4712 result
= (unsigned long)wxColour_GetRGB(arg1
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4722 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4725 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4726 return SWIG_Py_Void();
4729 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4730 return SWIG_Python_InitShadowInstance(args
);
4733 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
= 0;
4736 unsigned char *arg2
= (unsigned char *) 0 ;
4737 unsigned char *arg3
= (unsigned char *) 0 ;
4738 unsigned char *arg4
= (unsigned char *) 0 ;
4739 wxPalette
*result
= 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4751 PyObject
* obj3
= 0 ;
4752 char * kwnames
[] = {
4753 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4757 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4758 if (!SWIG_IsOK(ecode1
)) {
4759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4761 arg1
= static_cast< int >(val1
);
4762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4763 if (!SWIG_IsOK(res2
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4766 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4767 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4768 if (!SWIG_IsOK(res3
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4771 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4772 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4773 if (!SWIG_IsOK(res4
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4776 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4778 if (!wxPyCheckForApp()) SWIG_fail
;
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4791 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4792 PyObject
*resultobj
= 0;
4793 wxPalette
*arg1
= (wxPalette
*) 0 ;
4796 PyObject
*swig_obj
[1] ;
4798 if (!args
) SWIG_fail
;
4800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4801 if (!SWIG_IsOK(res1
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4804 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= SWIG_Py_Void();
4819 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
= 0;
4821 wxPalette
*arg1
= (wxPalette
*) 0 ;
4828 unsigned char val2
;
4830 unsigned char val3
;
4832 unsigned char val4
;
4834 PyObject
* obj0
= 0 ;
4835 PyObject
* obj1
= 0 ;
4836 PyObject
* obj2
= 0 ;
4837 PyObject
* obj3
= 0 ;
4838 char * kwnames
[] = {
4839 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4844 if (!SWIG_IsOK(res1
)) {
4845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4847 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4848 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4849 if (!SWIG_IsOK(ecode2
)) {
4850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4852 arg2
= static_cast< byte
>(val2
);
4853 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4854 if (!SWIG_IsOK(ecode3
)) {
4855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4857 arg3
= static_cast< byte
>(val3
);
4858 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4859 if (!SWIG_IsOK(ecode4
)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4862 arg4
= static_cast< byte
>(val4
);
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_From_int(static_cast< int >(result
));
4876 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
= 0;
4878 wxPalette
*arg1
= (wxPalette
*) 0 ;
4880 byte
*arg3
= (byte
*) 0 ;
4881 byte
*arg4
= (byte
*) 0 ;
4882 byte
*arg5
= (byte
*) 0 ;
4889 int res3
= SWIG_TMPOBJ
;
4891 int res4
= SWIG_TMPOBJ
;
4893 int res5
= SWIG_TMPOBJ
;
4894 PyObject
* obj0
= 0 ;
4895 PyObject
* obj1
= 0 ;
4896 char * kwnames
[] = {
4897 (char *) "self",(char *) "pixel", NULL
4903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4905 if (!SWIG_IsOK(res1
)) {
4906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4908 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4910 if (!SWIG_IsOK(ecode2
)) {
4911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4913 arg2
= static_cast< int >(val2
);
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4923 if (SWIG_IsTmpObj(res3
)) {
4924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4926 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4929 if (SWIG_IsTmpObj(res4
)) {
4930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4932 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4935 if (SWIG_IsTmpObj(res5
)) {
4936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4938 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4947 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4948 PyObject
*resultobj
= 0;
4949 wxPalette
*arg1
= (wxPalette
*) 0 ;
4953 PyObject
*swig_obj
[1] ;
4955 if (!args
) SWIG_fail
;
4957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4958 if (!SWIG_IsOK(res1
)) {
4959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4961 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 resultobj
= SWIG_From_int(static_cast< int >(result
));
4975 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4976 PyObject
*resultobj
= 0;
4977 wxPalette
*arg1
= (wxPalette
*) 0 ;
4981 PyObject
*swig_obj
[1] ;
4983 if (!args
) SWIG_fail
;
4985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4986 if (!SWIG_IsOK(res1
)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4989 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (bool)(arg1
)->IsOk();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5005 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5008 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5009 return SWIG_Py_Void();
5012 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5013 return SWIG_Python_InitShadowInstance(args
);
5016 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
= 0;
5018 wxColour
*arg1
= 0 ;
5019 int arg2
= (int) 1 ;
5020 int arg3
= (int) wxSOLID
;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 PyObject
* obj2
= 0 ;
5030 char * kwnames
[] = {
5031 (char *) "colour",(char *) "width",(char *) "style", NULL
5034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5037 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5041 if (!SWIG_IsOK(ecode2
)) {
5042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5044 arg2
= static_cast< int >(val2
);
5047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5048 if (!SWIG_IsOK(ecode3
)) {
5049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5051 arg3
= static_cast< int >(val3
);
5054 if (!wxPyCheckForApp()) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5067 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5068 PyObject
*resultobj
= 0;
5069 wxPen
*arg1
= (wxPen
*) 0 ;
5072 PyObject
*swig_obj
[1] ;
5074 if (!args
) SWIG_fail
;
5076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5077 if (!SWIG_IsOK(res1
)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5080 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_Py_Void();
5095 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5096 PyObject
*resultobj
= 0;
5097 wxPen
*arg1
= (wxPen
*) 0 ;
5101 PyObject
*swig_obj
[1] ;
5103 if (!args
) SWIG_fail
;
5105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5106 if (!SWIG_IsOK(res1
)) {
5107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5109 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (int)(arg1
)->GetCap();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= SWIG_From_int(static_cast< int >(result
));
5123 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5124 PyObject
*resultobj
= 0;
5125 wxPen
*arg1
= (wxPen
*) 0 ;
5129 PyObject
*swig_obj
[1] ;
5131 if (!args
) SWIG_fail
;
5133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5134 if (!SWIG_IsOK(res1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5137 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (arg1
)->GetColour();
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5151 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5152 PyObject
*resultobj
= 0;
5153 wxPen
*arg1
= (wxPen
*) 0 ;
5157 PyObject
*swig_obj
[1] ;
5159 if (!args
) SWIG_fail
;
5161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5162 if (!SWIG_IsOK(res1
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5165 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (int)(arg1
)->GetJoin();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= SWIG_From_int(static_cast< int >(result
));
5179 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5180 PyObject
*resultobj
= 0;
5181 wxPen
*arg1
= (wxPen
*) 0 ;
5185 PyObject
*swig_obj
[1] ;
5187 if (!args
) SWIG_fail
;
5189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5190 if (!SWIG_IsOK(res1
)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5193 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (int)(arg1
)->GetStyle();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_From_int(static_cast< int >(result
));
5207 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5208 PyObject
*resultobj
= 0;
5209 wxPen
*arg1
= (wxPen
*) 0 ;
5213 PyObject
*swig_obj
[1] ;
5215 if (!args
) SWIG_fail
;
5217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5218 if (!SWIG_IsOK(res1
)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5221 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (int)(arg1
)->GetWidth();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_From_int(static_cast< int >(result
));
5235 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5236 PyObject
*resultobj
= 0;
5237 wxPen
*arg1
= (wxPen
*) 0 ;
5241 PyObject
*swig_obj
[1] ;
5243 if (!args
) SWIG_fail
;
5245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5246 if (!SWIG_IsOK(res1
)) {
5247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5249 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (bool)(arg1
)->IsOk();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5265 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
= 0;
5267 wxPen
*arg1
= (wxPen
*) 0 ;
5273 PyObject
* obj0
= 0 ;
5274 PyObject
* obj1
= 0 ;
5275 char * kwnames
[] = {
5276 (char *) "self",(char *) "cap_style", NULL
5279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5281 if (!SWIG_IsOK(res1
)) {
5282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5284 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5286 if (!SWIG_IsOK(ecode2
)) {
5287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5289 arg2
= static_cast< int >(val2
);
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 (arg1
)->SetCap(arg2
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= SWIG_Py_Void();
5303 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= 0;
5305 wxPen
*arg1
= (wxPen
*) 0 ;
5306 wxColour
*arg2
= 0 ;
5310 PyObject
* obj0
= 0 ;
5311 PyObject
* obj1
= 0 ;
5312 char * kwnames
[] = {
5313 (char *) "self",(char *) "colour", NULL
5316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5318 if (!SWIG_IsOK(res1
)) {
5319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5321 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 (arg1
)->SetColour(*arg2
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5332 resultobj
= SWIG_Py_Void();
5339 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
= 0;
5341 wxPen
*arg1
= (wxPen
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5349 char * kwnames
[] = {
5350 (char *) "self",(char *) "join_style", NULL
5353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5355 if (!SWIG_IsOK(res1
)) {
5356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5358 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5360 if (!SWIG_IsOK(ecode2
)) {
5361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5363 arg2
= static_cast< int >(val2
);
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 (arg1
)->SetJoin(arg2
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= SWIG_Py_Void();
5377 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
= 0;
5379 wxPen
*arg1
= (wxPen
*) 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 char * kwnames
[] = {
5388 (char *) "self",(char *) "style", NULL
5391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5393 if (!SWIG_IsOK(res1
)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5396 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5398 if (!SWIG_IsOK(ecode2
)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5401 arg2
= static_cast< int >(val2
);
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->SetStyle(arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_Py_Void();
5415 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
= 0;
5417 wxPen
*arg1
= (wxPen
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "self",(char *) "width", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5431 if (!SWIG_IsOK(res1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5434 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5436 if (!SWIG_IsOK(ecode2
)) {
5437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5439 arg2
= static_cast< int >(val2
);
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 (arg1
)->SetWidth(arg2
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= SWIG_Py_Void();
5453 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
= 0;
5455 wxPen
*arg1
= (wxPen
*) 0 ;
5457 wxDash
*arg3
= (wxDash
*) 0 ;
5460 PyObject
* obj0
= 0 ;
5461 PyObject
* obj1
= 0 ;
5462 char * kwnames
[] = {
5463 (char *) "self",(char *) "dashes", NULL
5466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5468 if (!SWIG_IsOK(res1
)) {
5469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5471 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5473 arg2
= PyList_Size(obj1
);
5474 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5475 if (arg3
== NULL
) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 (arg1
)->SetDashes(arg2
,arg3
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= SWIG_Py_Void();
5485 if (arg3
) delete [] arg3
;
5490 if (arg3
) delete [] arg3
;
5496 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5497 PyObject
*resultobj
= 0;
5498 wxPen
*arg1
= (wxPen
*) 0 ;
5499 PyObject
*result
= 0 ;
5502 PyObject
*swig_obj
[1] ;
5504 if (!args
) SWIG_fail
;
5506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5507 if (!SWIG_IsOK(res1
)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5510 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5524 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
= 0;
5526 wxPen
*arg1
= (wxPen
*) 0 ;
5527 PyObject
*arg2
= (PyObject
*) 0 ;
5528 PyObject
*arg3
= (PyObject
*) 0 ;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5533 PyObject
* obj2
= 0 ;
5534 char * kwnames
[] = {
5535 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5540 if (!SWIG_IsOK(res1
)) {
5541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5543 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 wxPen__SetDashes(arg1
,arg2
,arg3
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_Py_Void();
5559 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5560 PyObject
*resultobj
= 0;
5561 wxPen
*arg1
= (wxPen
*) 0 ;
5565 PyObject
*swig_obj
[1] ;
5567 if (!args
) SWIG_fail
;
5569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5570 if (!SWIG_IsOK(res1
)) {
5571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5573 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_From_int(static_cast< int >(result
));
5587 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
= 0;
5589 wxPen
*arg1
= (wxPen
*) 0 ;
5590 wxPen
*arg2
= (wxPen
*) 0 ;
5596 PyObject
* obj0
= 0 ;
5597 PyObject
* obj1
= 0 ;
5598 char * kwnames
[] = {
5599 (char *) "self",(char *) "other", NULL
5602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5604 if (!SWIG_IsOK(res1
)) {
5605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5607 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5609 if (!SWIG_IsOK(res2
)) {
5610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5612 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5628 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
= 0;
5630 wxPen
*arg1
= (wxPen
*) 0 ;
5631 wxPen
*arg2
= (wxPen
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5639 char * kwnames
[] = {
5640 (char *) "self",(char *) "other", NULL
5643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5645 if (!SWIG_IsOK(res1
)) {
5646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5648 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5650 if (!SWIG_IsOK(res2
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5653 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5669 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5672 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5673 return SWIG_Py_Void();
5676 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5677 return SWIG_Python_InitShadowInstance(args
);
5680 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
= 0;
5682 wxColour
*arg1
= 0 ;
5683 int arg2
= (int) wxSOLID
;
5684 wxBrush
*result
= 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5690 char * kwnames
[] = {
5691 (char *) "colour",(char *) "style", NULL
5694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5697 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5701 if (!SWIG_IsOK(ecode2
)) {
5702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5704 arg2
= static_cast< int >(val2
);
5707 if (!wxPyCheckForApp()) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5720 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
= 0;
5722 wxBitmap
*arg1
= 0 ;
5723 wxBrush
*result
= 0 ;
5726 PyObject
* obj0
= 0 ;
5727 char * kwnames
[] = {
5728 (char *) "stippleBitmap", NULL
5731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5732 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5733 if (!SWIG_IsOK(res1
)) {
5734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5739 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5741 if (!wxPyCheckForApp()) SWIG_fail
;
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5744 wxPyEndAllowThreads(__tstate
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5754 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5755 PyObject
*resultobj
= 0;
5756 wxBrush
*arg1
= (wxBrush
*) 0 ;
5759 PyObject
*swig_obj
[1] ;
5761 if (!args
) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5767 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= SWIG_Py_Void();
5782 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
= 0;
5784 wxBrush
*arg1
= (wxBrush
*) 0 ;
5785 wxColour
*arg2
= 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 char * kwnames
[] = {
5792 (char *) "self",(char *) "col", NULL
5795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5797 if (!SWIG_IsOK(res1
)) {
5798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5800 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5803 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 (arg1
)->SetColour((wxColour
const &)*arg2
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 resultobj
= SWIG_Py_Void();
5818 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
= 0;
5820 wxBrush
*arg1
= (wxBrush
*) 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5828 char * kwnames
[] = {
5829 (char *) "self",(char *) "style", NULL
5832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5834 if (!SWIG_IsOK(res1
)) {
5835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5837 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5839 if (!SWIG_IsOK(ecode2
)) {
5840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5842 arg2
= static_cast< int >(val2
);
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->SetStyle(arg2
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= SWIG_Py_Void();
5856 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
= 0;
5858 wxBrush
*arg1
= (wxBrush
*) 0 ;
5859 wxBitmap
*arg2
= 0 ;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 char * kwnames
[] = {
5867 (char *) "self",(char *) "stipple", NULL
5870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5872 if (!SWIG_IsOK(res1
)) {
5873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5875 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5877 if (!SWIG_IsOK(res2
)) {
5878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5883 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_Py_Void();
5897 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5898 PyObject
*resultobj
= 0;
5899 wxBrush
*arg1
= (wxBrush
*) 0 ;
5903 PyObject
*swig_obj
[1] ;
5905 if (!args
) SWIG_fail
;
5907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5908 if (!SWIG_IsOK(res1
)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5911 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 result
= ((wxBrush
const *)arg1
)->GetColour();
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5925 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5926 PyObject
*resultobj
= 0;
5927 wxBrush
*arg1
= (wxBrush
*) 0 ;
5931 PyObject
*swig_obj
[1] ;
5933 if (!args
) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5939 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_From_int(static_cast< int >(result
));
5953 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5954 PyObject
*resultobj
= 0;
5955 wxBrush
*arg1
= (wxBrush
*) 0 ;
5956 wxBitmap
*result
= 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5967 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5981 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 PyObject
*resultobj
= 0;
5983 wxBrush
*arg1
= (wxBrush
*) 0 ;
5987 PyObject
*swig_obj
[1] ;
5989 if (!args
) SWIG_fail
;
5991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5992 if (!SWIG_IsOK(res1
)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5995 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6012 PyObject
*resultobj
= 0;
6013 wxBrush
*arg1
= (wxBrush
*) 0 ;
6017 PyObject
*swig_obj
[1] ;
6019 if (!args
) SWIG_fail
;
6021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6022 if (!SWIG_IsOK(res1
)) {
6023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6025 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 result
= (bool)(arg1
)->IsOk();
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6041 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6044 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6045 return SWIG_Py_Void();
6048 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6049 return SWIG_Python_InitShadowInstance(args
);
6052 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
*resultobj
= 0;
6054 wxString
*arg1
= 0 ;
6055 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6056 wxBitmap
*result
= 0 ;
6057 bool temp1
= false ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 char * kwnames
[] = {
6063 (char *) "name",(char *) "type", NULL
6066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6068 arg1
= wxString_in_helper(obj0
);
6069 if (arg1
== NULL
) SWIG_fail
;
6073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6074 if (!SWIG_IsOK(ecode2
)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6077 arg2
= static_cast< wxBitmapType
>(val2
);
6080 if (!wxPyCheckForApp()) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6101 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 PyObject
*resultobj
= 0;
6103 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6106 PyObject
*swig_obj
[1] ;
6108 if (!args
) SWIG_fail
;
6110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6111 if (!SWIG_IsOK(res1
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6114 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_Py_Void();
6127 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
= 0;
6131 int arg3
= (int) -1 ;
6132 wxBitmap
*result
= 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 PyObject
* obj2
= 0 ;
6142 char * kwnames
[] = {
6143 (char *) "width",(char *) "height",(char *) "depth", NULL
6146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6148 if (!SWIG_IsOK(ecode1
)) {
6149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6151 arg1
= static_cast< int >(val1
);
6152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6153 if (!SWIG_IsOK(ecode2
)) {
6154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6156 arg2
= static_cast< int >(val2
);
6158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6159 if (!SWIG_IsOK(ecode3
)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6162 arg3
= static_cast< int >(val3
);
6165 if (!wxPyCheckForApp()) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6178 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
= 0;
6181 wxBitmap
*result
= 0 ;
6184 PyObject
* obj0
= 0 ;
6185 char * kwnames
[] = {
6186 (char *) "icon", NULL
6189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6190 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6191 if (!SWIG_IsOK(res1
)) {
6192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6197 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6199 if (!wxPyCheckForApp()) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6212 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
= 0;
6215 int arg2
= (int) -1 ;
6216 wxBitmap
*result
= 0 ;
6221 PyObject
* obj0
= 0 ;
6222 PyObject
* obj1
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "image",(char *) "depth", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6235 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6238 if (!SWIG_IsOK(ecode2
)) {
6239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6241 arg2
= static_cast< int >(val2
);
6244 if (!wxPyCheckForApp()) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6257 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
= 0;
6259 PyObject
*arg1
= (PyObject
*) 0 ;
6260 wxBitmap
*result
= 0 ;
6261 PyObject
* obj0
= 0 ;
6262 char * kwnames
[] = {
6263 (char *) "listOfStrings", NULL
6266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6269 if (!wxPyCheckForApp()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6282 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
= 0;
6284 PyObject
*arg1
= (PyObject
*) 0 ;
6287 int arg4
= (int) 1 ;
6288 wxBitmap
*result
= 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6297 PyObject
* obj2
= 0 ;
6298 PyObject
* obj3
= 0 ;
6299 char * kwnames
[] = {
6300 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6306 if (!SWIG_IsOK(ecode2
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6309 arg2
= static_cast< int >(val2
);
6310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6311 if (!SWIG_IsOK(ecode3
)) {
6312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6314 arg3
= static_cast< int >(val3
);
6316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6317 if (!SWIG_IsOK(ecode4
)) {
6318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6320 arg4
= static_cast< int >(val4
);
6323 if (!wxPyCheckForApp()) SWIG_fail
;
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6336 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6337 PyObject
*resultobj
= 0;
6338 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6342 PyObject
*swig_obj
[1] ;
6344 if (!args
) SWIG_fail
;
6346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6347 if (!SWIG_IsOK(res1
)) {
6348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6350 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6352 result
= (bool)(arg1
)->IsOk();
6353 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6364 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6365 PyObject
*resultobj
= 0;
6366 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6370 PyObject
*swig_obj
[1] ;
6372 if (!args
) SWIG_fail
;
6374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6375 if (!SWIG_IsOK(res1
)) {
6376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6378 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6380 result
= (int)(arg1
)->GetWidth();
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= SWIG_From_int(static_cast< int >(result
));
6390 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6391 PyObject
*resultobj
= 0;
6392 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6396 PyObject
*swig_obj
[1] ;
6398 if (!args
) SWIG_fail
;
6400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6401 if (!SWIG_IsOK(res1
)) {
6402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6406 result
= (int)(arg1
)->GetHeight();
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= SWIG_From_int(static_cast< int >(result
));
6416 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6417 PyObject
*resultobj
= 0;
6418 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6422 PyObject
*swig_obj
[1] ;
6424 if (!args
) SWIG_fail
;
6426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6427 if (!SWIG_IsOK(res1
)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6430 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6432 result
= (int)(arg1
)->GetDepth();
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_From_int(static_cast< int >(result
));
6442 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6443 PyObject
*resultobj
= 0;
6444 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6448 PyObject
*swig_obj
[1] ;
6450 if (!args
) SWIG_fail
;
6452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6453 if (!SWIG_IsOK(res1
)) {
6454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6456 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6458 result
= wxBitmap_GetSize(arg1
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6468 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6469 PyObject
*resultobj
= 0;
6470 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6471 SwigValueWrapper
<wxImage
> result
;
6474 PyObject
*swig_obj
[1] ;
6476 if (!args
) SWIG_fail
;
6478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6479 if (!SWIG_IsOK(res1
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6482 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6484 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6494 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6495 PyObject
*resultobj
= 0;
6496 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6497 wxMask
*result
= 0 ;
6500 PyObject
*swig_obj
[1] ;
6502 if (!args
) SWIG_fail
;
6504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6505 if (!SWIG_IsOK(res1
)) {
6506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6508 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6510 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6520 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
= 0;
6522 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6523 wxMask
*arg2
= (wxMask
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 char * kwnames
[] = {
6530 (char *) "self",(char *) "mask", NULL
6533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6535 if (!SWIG_IsOK(res1
)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6538 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6539 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6540 if (!SWIG_IsOK(res2
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6544 (arg1
)->SetMask(arg2
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= SWIG_Py_Void();
6554 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
*resultobj
= 0;
6556 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6557 wxColour
*arg2
= 0 ;
6561 PyObject
* obj0
= 0 ;
6562 PyObject
* obj1
= 0 ;
6563 char * kwnames
[] = {
6564 (char *) "self",(char *) "colour", NULL
6567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6569 if (!SWIG_IsOK(res1
)) {
6570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6572 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6578 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_Py_Void();
6588 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
= 0;
6590 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6592 SwigValueWrapper
<wxBitmap
> result
;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6598 char * kwnames
[] = {
6599 (char *) "self",(char *) "rect", NULL
6602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6604 if (!SWIG_IsOK(res1
)) {
6605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6607 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6610 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6613 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6623 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
= 0;
6625 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6626 wxString
*arg2
= 0 ;
6628 wxPalette
*arg4
= (wxPalette
*) NULL
;
6632 bool temp2
= false ;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 PyObject
* obj2
= 0 ;
6640 PyObject
* obj3
= 0 ;
6641 char * kwnames
[] = {
6642 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6647 if (!SWIG_IsOK(res1
)) {
6648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6650 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6652 arg2
= wxString_in_helper(obj1
);
6653 if (arg2
== NULL
) SWIG_fail
;
6656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6657 if (!SWIG_IsOK(ecode3
)) {
6658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6660 arg3
= static_cast< wxBitmapType
>(val3
);
6662 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6663 if (!SWIG_IsOK(res4
)) {
6664 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6666 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6669 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6689 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
= 0;
6691 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6692 wxString
*arg2
= 0 ;
6697 bool temp2
= false ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 PyObject
* obj2
= 0 ;
6703 char * kwnames
[] = {
6704 (char *) "self",(char *) "name",(char *) "type", NULL
6707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6709 if (!SWIG_IsOK(res1
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6712 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6714 arg2
= wxString_in_helper(obj1
);
6715 if (arg2
== NULL
) SWIG_fail
;
6718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6719 if (!SWIG_IsOK(ecode3
)) {
6720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6722 arg3
= static_cast< wxBitmapType
>(val3
);
6724 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6744 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6745 PyObject
*resultobj
= 0;
6746 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6747 wxPalette
*result
= 0 ;
6750 PyObject
*swig_obj
[1] ;
6752 if (!args
) SWIG_fail
;
6754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6755 if (!SWIG_IsOK(res1
)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6758 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6760 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6770 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
= 0;
6772 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6781 char * kwnames
[] = {
6782 (char *) "self",(char *) "icon", NULL
6785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6787 if (!SWIG_IsOK(res1
)) {
6788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6790 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6792 if (!SWIG_IsOK(res2
)) {
6793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6798 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6800 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6812 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
= 0;
6814 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6822 char * kwnames
[] = {
6823 (char *) "self",(char *) "height", NULL
6826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6828 if (!SWIG_IsOK(res1
)) {
6829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6831 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6833 if (!SWIG_IsOK(ecode2
)) {
6834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6836 arg2
= static_cast< int >(val2
);
6838 (arg1
)->SetHeight(arg2
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_Py_Void();
6848 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
= 0;
6850 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6858 char * kwnames
[] = {
6859 (char *) "self",(char *) "width", NULL
6862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6864 if (!SWIG_IsOK(res1
)) {
6865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6867 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6869 if (!SWIG_IsOK(ecode2
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6872 arg2
= static_cast< int >(val2
);
6874 (arg1
)->SetWidth(arg2
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_Py_Void();
6884 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= 0;
6886 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6892 PyObject
* obj0
= 0 ;
6893 PyObject
* obj1
= 0 ;
6894 char * kwnames
[] = {
6895 (char *) "self",(char *) "depth", NULL
6898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6900 if (!SWIG_IsOK(res1
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6903 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6905 if (!SWIG_IsOK(ecode2
)) {
6906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6908 arg2
= static_cast< int >(val2
);
6910 (arg1
)->SetDepth(arg2
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_Py_Void();
6920 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
= 0;
6922 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "size", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6938 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6941 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6944 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= SWIG_Py_Void();
6954 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
= 0;
6956 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6964 char * kwnames
[] = {
6965 (char *) "self",(char *) "data", NULL
6968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6970 if (!SWIG_IsOK(res1
)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
6973 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6975 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
6979 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= SWIG_Py_Void();
6989 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
= 0;
6991 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
6999 char * kwnames
[] = {
7000 (char *) "self",(char *) "data", NULL
7003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7008 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7010 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7014 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= SWIG_Py_Void();
7024 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
= 0;
7026 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7027 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7035 char * kwnames
[] = {
7036 (char *) "self",(char *) "other", NULL
7039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7041 if (!SWIG_IsOK(res1
)) {
7042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7044 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7045 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7046 if (!SWIG_IsOK(res2
)) {
7047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7049 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7051 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7063 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
= 0;
7065 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7066 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "other", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7083 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7085 if (!SWIG_IsOK(res2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7088 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7090 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7091 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7102 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7105 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7106 return SWIG_Py_Void();
7109 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7110 return SWIG_Python_InitShadowInstance(args
);
7113 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
= 0;
7121 wxBitmap
*result
= 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7130 PyObject
* obj2
= 0 ;
7131 PyObject
* obj3
= 0 ;
7132 char * kwnames
[] = {
7133 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7137 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7138 if (!SWIG_IsOK(ecode1
)) {
7139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7141 arg1
= static_cast< int >(val1
);
7142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7143 if (!SWIG_IsOK(ecode2
)) {
7144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7146 arg2
= static_cast< int >(val2
);
7148 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7152 if (obj3
!= Py_None
) {
7153 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7158 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7168 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
*resultobj
= 0;
7174 wxBitmap
*result
= 0 ;
7180 PyObject
* obj0
= 0 ;
7181 PyObject
* obj1
= 0 ;
7182 PyObject
* obj2
= 0 ;
7183 char * kwnames
[] = {
7184 (char *) "width",(char *) "height",(char *) "data", NULL
7187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7189 if (!SWIG_IsOK(ecode1
)) {
7190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7192 arg1
= static_cast< int >(val1
);
7193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7194 if (!SWIG_IsOK(ecode2
)) {
7195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7197 arg2
= static_cast< int >(val2
);
7199 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7203 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7213 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
= 0;
7219 wxBitmap
*result
= 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7227 PyObject
* obj2
= 0 ;
7228 char * kwnames
[] = {
7229 (char *) "width",(char *) "height",(char *) "data", NULL
7232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7233 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7234 if (!SWIG_IsOK(ecode1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7237 arg1
= static_cast< int >(val1
);
7238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7239 if (!SWIG_IsOK(ecode2
)) {
7240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7242 arg2
= static_cast< int >(val2
);
7244 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7248 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7258 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7259 PyObject
*resultobj
= 0;
7260 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7264 PyObject
*swig_obj
[1] ;
7266 if (!args
) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7272 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7274 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7284 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7285 PyObject
*resultobj
= 0;
7286 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7290 PyObject
*swig_obj
[1] ;
7292 if (!args
) SWIG_fail
;
7294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7295 if (!SWIG_IsOK(res1
)) {
7296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7298 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7300 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_From_int(static_cast< int >(result
));
7310 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7324 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7326 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= SWIG_From_int(static_cast< int >(result
));
7336 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7337 PyObject
*resultobj
= 0;
7338 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7342 PyObject
*swig_obj
[1] ;
7344 if (!args
) SWIG_fail
;
7346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7347 if (!SWIG_IsOK(res1
)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7350 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7352 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7362 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7363 PyObject
*resultobj
= 0;
7364 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7368 PyObject
*swig_obj
[1] ;
7370 if (!args
) SWIG_fail
;
7372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7373 if (!SWIG_IsOK(res1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7376 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7378 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_From_int(static_cast< int >(result
));
7388 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7392 return SWIG_Py_Void();
7395 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7396 PyObject
*resultobj
= 0;
7397 wxBitmap
*arg1
= 0 ;
7398 wxNativePixelData
*result
= 0 ;
7402 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7404 if (!SWIG_IsOK(res1
)) {
7405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7410 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7412 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7422 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7423 PyObject
*resultobj
= 0;
7424 wxBitmap
*arg1
= 0 ;
7426 wxNativePixelData
*result
= 0 ;
7431 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7433 if (!SWIG_IsOK(res1
)) {
7434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7442 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7445 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7455 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7456 PyObject
*resultobj
= 0;
7457 wxBitmap
*arg1
= 0 ;
7460 wxNativePixelData
*result
= 0 ;
7466 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7477 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7481 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7484 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7494 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7498 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7501 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7504 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7507 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7511 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7516 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7517 PyObject
*resultobj
= 0;
7518 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7521 PyObject
*swig_obj
[1] ;
7523 if (!args
) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7529 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= SWIG_Py_Void();
7542 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7543 PyObject
*resultobj
= 0;
7544 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7545 wxNativePixelData_Accessor result
;
7548 PyObject
*swig_obj
[1] ;
7550 if (!args
) SWIG_fail
;
7552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7553 if (!SWIG_IsOK(res1
)) {
7554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7556 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7558 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7568 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7569 PyObject
*resultobj
= 0;
7570 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7573 PyObject
*swig_obj
[1] ;
7575 if (!args
) SWIG_fail
;
7577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7578 if (!SWIG_IsOK(res1
)) {
7579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7581 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_Py_Void();
7593 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7594 PyObject
*resultobj
= 0;
7595 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7599 PyObject
*swig_obj
[1] ;
7601 if (!args
) SWIG_fail
;
7603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7604 if (!SWIG_IsOK(res1
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7607 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7609 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7621 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7624 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7625 return SWIG_Py_Void();
7628 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7629 return SWIG_Python_InitShadowInstance(args
);
7632 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7633 PyObject
*resultobj
= 0;
7634 wxNativePixelData
*arg1
= 0 ;
7635 wxNativePixelData_Accessor
*result
= 0 ;
7639 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7641 if (!SWIG_IsOK(res1
)) {
7642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7647 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7649 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7659 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7660 PyObject
*resultobj
= 0;
7661 wxBitmap
*arg1
= 0 ;
7662 wxNativePixelData
*arg2
= 0 ;
7663 wxNativePixelData_Accessor
*result
= 0 ;
7669 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7671 if (!SWIG_IsOK(res1
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7677 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7678 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7679 if (!SWIG_IsOK(res2
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7685 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7687 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7697 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7698 PyObject
*resultobj
= 0;
7699 wxNativePixelData_Accessor
*result
= 0 ;
7701 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7703 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7713 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7717 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7720 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7723 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7726 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7730 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7735 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7736 PyObject
*resultobj
= 0;
7737 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7740 PyObject
*swig_obj
[1] ;
7742 if (!args
) SWIG_fail
;
7744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7745 if (!SWIG_IsOK(res1
)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7748 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_Py_Void();
7761 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
= 0;
7763 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7764 wxNativePixelData
*arg2
= 0 ;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7771 char * kwnames
[] = {
7772 (char *) "self",(char *) "data", NULL
7775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7777 if (!SWIG_IsOK(res1
)) {
7778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7780 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7782 if (!SWIG_IsOK(res2
)) {
7783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7788 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7790 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 resultobj
= SWIG_Py_Void();
7800 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 PyObject
*resultobj
= 0;
7802 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7806 PyObject
*swig_obj
[1] ;
7808 if (!args
) SWIG_fail
;
7810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7811 if (!SWIG_IsOK(res1
)) {
7812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7814 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7816 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7817 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7828 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7829 PyObject
*resultobj
= 0;
7830 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7833 PyObject
*swig_obj
[1] ;
7835 if (!args
) SWIG_fail
;
7837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7838 if (!SWIG_IsOK(res1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7841 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7843 wxNativePixelData_Accessor_nextPixel(arg1
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_Py_Void();
7853 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
= 0;
7855 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7856 wxNativePixelData
*arg2
= 0 ;
7867 PyObject
* obj0
= 0 ;
7868 PyObject
* obj1
= 0 ;
7869 PyObject
* obj2
= 0 ;
7870 PyObject
* obj3
= 0 ;
7871 char * kwnames
[] = {
7872 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7877 if (!SWIG_IsOK(res1
)) {
7878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7880 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7881 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7882 if (!SWIG_IsOK(res2
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7888 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7890 if (!SWIG_IsOK(ecode3
)) {
7891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7893 arg3
= static_cast< int >(val3
);
7894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7895 if (!SWIG_IsOK(ecode4
)) {
7896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7898 arg4
= static_cast< int >(val4
);
7900 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= SWIG_Py_Void();
7910 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
*resultobj
= 0;
7912 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7913 wxNativePixelData
*arg2
= 0 ;
7921 PyObject
* obj0
= 0 ;
7922 PyObject
* obj1
= 0 ;
7923 PyObject
* obj2
= 0 ;
7924 char * kwnames
[] = {
7925 (char *) "self",(char *) "data",(char *) "x", NULL
7928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7930 if (!SWIG_IsOK(res1
)) {
7931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7933 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7935 if (!SWIG_IsOK(res2
)) {
7936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7941 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7943 if (!SWIG_IsOK(ecode3
)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7946 arg3
= static_cast< int >(val3
);
7948 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= SWIG_Py_Void();
7958 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
*resultobj
= 0;
7960 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7961 wxNativePixelData
*arg2
= 0 ;
7969 PyObject
* obj0
= 0 ;
7970 PyObject
* obj1
= 0 ;
7971 PyObject
* obj2
= 0 ;
7972 char * kwnames
[] = {
7973 (char *) "self",(char *) "data",(char *) "y", NULL
7976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7978 if (!SWIG_IsOK(res1
)) {
7979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7981 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7983 if (!SWIG_IsOK(res2
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7989 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7991 if (!SWIG_IsOK(ecode3
)) {
7992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7994 arg3
= static_cast< int >(val3
);
7996 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_Py_Void();
8006 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
= 0;
8008 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8009 wxNativePixelData
*arg2
= 0 ;
8020 PyObject
* obj0
= 0 ;
8021 PyObject
* obj1
= 0 ;
8022 PyObject
* obj2
= 0 ;
8023 PyObject
* obj3
= 0 ;
8024 char * kwnames
[] = {
8025 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8030 if (!SWIG_IsOK(res1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8033 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8035 if (!SWIG_IsOK(res2
)) {
8036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8041 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8043 if (!SWIG_IsOK(ecode3
)) {
8044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8046 arg3
= static_cast< int >(val3
);
8047 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8048 if (!SWIG_IsOK(ecode4
)) {
8049 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8051 arg4
= static_cast< int >(val4
);
8053 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= SWIG_Py_Void();
8063 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
= 0;
8065 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8071 unsigned char val2
;
8073 unsigned char val3
;
8075 unsigned char val4
;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8079 PyObject
* obj2
= 0 ;
8080 PyObject
* obj3
= 0 ;
8081 char * kwnames
[] = {
8082 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8090 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8091 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8092 if (!SWIG_IsOK(ecode2
)) {
8093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8095 arg2
= static_cast< byte
>(val2
);
8096 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8097 if (!SWIG_IsOK(ecode3
)) {
8098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8100 arg3
= static_cast< byte
>(val3
);
8101 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8102 if (!SWIG_IsOK(ecode4
)) {
8103 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8105 arg4
= static_cast< byte
>(val4
);
8107 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= SWIG_Py_Void();
8117 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8118 PyObject
*resultobj
= 0;
8119 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8120 PyObject
*result
= 0 ;
8123 PyObject
*swig_obj
[1] ;
8125 if (!args
) SWIG_fail
;
8127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8128 if (!SWIG_IsOK(res1
)) {
8129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8131 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8133 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8143 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8146 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8147 return SWIG_Py_Void();
8150 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8151 return SWIG_Python_InitShadowInstance(args
);
8154 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8155 PyObject
*resultobj
= 0;
8156 wxBitmap
*arg1
= 0 ;
8157 wxAlphaPixelData
*result
= 0 ;
8161 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8163 if (!SWIG_IsOK(res1
)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8169 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8171 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8181 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8182 PyObject
*resultobj
= 0;
8183 wxBitmap
*arg1
= 0 ;
8185 wxAlphaPixelData
*result
= 0 ;
8190 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8192 if (!SWIG_IsOK(res1
)) {
8193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8198 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8201 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8204 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8214 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8215 PyObject
*resultobj
= 0;
8216 wxBitmap
*arg1
= 0 ;
8219 wxAlphaPixelData
*result
= 0 ;
8225 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8233 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8236 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8240 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8243 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8253 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8257 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8260 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8263 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8266 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8270 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8275 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8276 PyObject
*resultobj
= 0;
8277 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8280 PyObject
*swig_obj
[1] ;
8282 if (!args
) SWIG_fail
;
8284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8285 if (!SWIG_IsOK(res1
)) {
8286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8288 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 resultobj
= SWIG_Py_Void();
8301 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8302 PyObject
*resultobj
= 0;
8303 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8304 wxAlphaPixelData_Accessor result
;
8307 PyObject
*swig_obj
[1] ;
8309 if (!args
) SWIG_fail
;
8311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8312 if (!SWIG_IsOK(res1
)) {
8313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8315 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8317 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8327 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8328 PyObject
*resultobj
= 0;
8329 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8332 PyObject
*swig_obj
[1] ;
8334 if (!args
) SWIG_fail
;
8336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8337 if (!SWIG_IsOK(res1
)) {
8338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8340 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_Py_Void();
8352 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8353 PyObject
*resultobj
= 0;
8354 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8358 PyObject
*swig_obj
[1] ;
8360 if (!args
) SWIG_fail
;
8362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8363 if (!SWIG_IsOK(res1
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8366 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8368 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8380 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8383 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8384 return SWIG_Py_Void();
8387 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8388 return SWIG_Python_InitShadowInstance(args
);
8391 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8392 PyObject
*resultobj
= 0;
8393 wxAlphaPixelData
*arg1
= 0 ;
8394 wxAlphaPixelData_Accessor
*result
= 0 ;
8398 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8400 if (!SWIG_IsOK(res1
)) {
8401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8406 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8408 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8418 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8419 PyObject
*resultobj
= 0;
8420 wxBitmap
*arg1
= 0 ;
8421 wxAlphaPixelData
*arg2
= 0 ;
8422 wxAlphaPixelData_Accessor
*result
= 0 ;
8428 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8430 if (!SWIG_IsOK(res1
)) {
8431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8436 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8437 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8438 if (!SWIG_IsOK(res2
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8444 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8446 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8456 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8457 PyObject
*resultobj
= 0;
8458 wxAlphaPixelData_Accessor
*result
= 0 ;
8460 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8462 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8472 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8476 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8479 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8482 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8485 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8489 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8494 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8495 PyObject
*resultobj
= 0;
8496 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8499 PyObject
*swig_obj
[1] ;
8501 if (!args
) SWIG_fail
;
8503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8504 if (!SWIG_IsOK(res1
)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8507 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_Py_Void();
8520 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= 0;
8522 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8523 wxAlphaPixelData
*arg2
= 0 ;
8528 PyObject
* obj0
= 0 ;
8529 PyObject
* obj1
= 0 ;
8530 char * kwnames
[] = {
8531 (char *) "self",(char *) "data", NULL
8534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8536 if (!SWIG_IsOK(res1
)) {
8537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8539 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8541 if (!SWIG_IsOK(res2
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8547 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8549 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= SWIG_Py_Void();
8559 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8560 PyObject
*resultobj
= 0;
8561 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8565 PyObject
*swig_obj
[1] ;
8567 if (!args
) SWIG_fail
;
8569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8570 if (!SWIG_IsOK(res1
)) {
8571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8573 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8575 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8576 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8587 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8588 PyObject
*resultobj
= 0;
8589 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8592 PyObject
*swig_obj
[1] ;
8594 if (!args
) SWIG_fail
;
8596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8597 if (!SWIG_IsOK(res1
)) {
8598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8600 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8602 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= SWIG_Py_Void();
8612 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
= 0;
8614 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8615 wxAlphaPixelData
*arg2
= 0 ;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj1
= 0 ;
8628 PyObject
* obj2
= 0 ;
8629 PyObject
* obj3
= 0 ;
8630 char * kwnames
[] = {
8631 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8636 if (!SWIG_IsOK(res1
)) {
8637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8639 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8641 if (!SWIG_IsOK(res2
)) {
8642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8647 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8649 if (!SWIG_IsOK(ecode3
)) {
8650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8652 arg3
= static_cast< int >(val3
);
8653 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8654 if (!SWIG_IsOK(ecode4
)) {
8655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8657 arg4
= static_cast< int >(val4
);
8659 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= SWIG_Py_Void();
8669 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
= 0;
8671 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8672 wxAlphaPixelData
*arg2
= 0 ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8682 PyObject
* obj2
= 0 ;
8683 char * kwnames
[] = {
8684 (char *) "self",(char *) "data",(char *) "x", NULL
8687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8689 if (!SWIG_IsOK(res1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8692 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8694 if (!SWIG_IsOK(res2
)) {
8695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8700 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8702 if (!SWIG_IsOK(ecode3
)) {
8703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8705 arg3
= static_cast< int >(val3
);
8707 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 resultobj
= SWIG_Py_Void();
8717 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
= 0;
8719 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8720 wxAlphaPixelData
*arg2
= 0 ;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8730 PyObject
* obj2
= 0 ;
8731 char * kwnames
[] = {
8732 (char *) "self",(char *) "data",(char *) "y", NULL
8735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8737 if (!SWIG_IsOK(res1
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8740 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8742 if (!SWIG_IsOK(res2
)) {
8743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8748 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8750 if (!SWIG_IsOK(ecode3
)) {
8751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8753 arg3
= static_cast< int >(val3
);
8755 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= SWIG_Py_Void();
8765 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
= 0;
8767 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8768 wxAlphaPixelData
*arg2
= 0 ;
8779 PyObject
* obj0
= 0 ;
8780 PyObject
* obj1
= 0 ;
8781 PyObject
* obj2
= 0 ;
8782 PyObject
* obj3
= 0 ;
8783 char * kwnames
[] = {
8784 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8789 if (!SWIG_IsOK(res1
)) {
8790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8792 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8794 if (!SWIG_IsOK(res2
)) {
8795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8800 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8802 if (!SWIG_IsOK(ecode3
)) {
8803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8805 arg3
= static_cast< int >(val3
);
8806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8807 if (!SWIG_IsOK(ecode4
)) {
8808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8810 arg4
= static_cast< int >(val4
);
8812 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_Py_Void();
8822 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
= 0;
8824 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8831 unsigned char val2
;
8833 unsigned char val3
;
8835 unsigned char val4
;
8837 unsigned char val5
;
8839 PyObject
* obj0
= 0 ;
8840 PyObject
* obj1
= 0 ;
8841 PyObject
* obj2
= 0 ;
8842 PyObject
* obj3
= 0 ;
8843 PyObject
* obj4
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8853 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8854 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8855 if (!SWIG_IsOK(ecode2
)) {
8856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8858 arg2
= static_cast< byte
>(val2
);
8859 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8860 if (!SWIG_IsOK(ecode3
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8863 arg3
= static_cast< byte
>(val3
);
8864 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8865 if (!SWIG_IsOK(ecode4
)) {
8866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8868 arg4
= static_cast< byte
>(val4
);
8869 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8870 if (!SWIG_IsOK(ecode5
)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8873 arg5
= static_cast< byte
>(val5
);
8875 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_Py_Void();
8885 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8886 PyObject
*resultobj
= 0;
8887 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8888 PyObject
*result
= 0 ;
8891 PyObject
*swig_obj
[1] ;
8893 if (!args
) SWIG_fail
;
8895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8896 if (!SWIG_IsOK(res1
)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8899 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8901 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8911 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8914 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8915 return SWIG_Py_Void();
8918 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8919 return SWIG_Python_InitShadowInstance(args
);
8922 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
= 0;
8924 wxBitmap
*arg1
= 0 ;
8925 wxColour
const &arg2_defvalue
= wxNullColour
;
8926 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8927 wxMask
*result
= 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 char * kwnames
[] = {
8934 (char *) "bitmap",(char *) "colour", NULL
8937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8938 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8939 if (!SWIG_IsOK(res1
)) {
8940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8945 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8949 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8953 if (!wxPyCheckForApp()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8966 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8967 PyObject
*resultobj
= 0;
8968 wxMask
*arg1
= (wxMask
*) 0 ;
8971 PyObject
*swig_obj
[1] ;
8973 if (!args
) SWIG_fail
;
8975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8976 if (!SWIG_IsOK(res1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8979 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_Py_Void();
8992 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8995 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8996 return SWIG_Py_Void();
8999 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9000 return SWIG_Python_InitShadowInstance(args
);
9003 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
= 0;
9005 wxString
*arg1
= 0 ;
9007 int arg3
= (int) -1 ;
9008 int arg4
= (int) -1 ;
9009 wxIcon
*result
= 0 ;
9010 bool temp1
= false ;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9019 PyObject
* obj2
= 0 ;
9020 PyObject
* obj3
= 0 ;
9021 char * kwnames
[] = {
9022 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9027 arg1
= wxString_in_helper(obj0
);
9028 if (arg1
== NULL
) SWIG_fail
;
9031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9032 if (!SWIG_IsOK(ecode2
)) {
9033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9035 arg2
= static_cast< wxBitmapType
>(val2
);
9037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9038 if (!SWIG_IsOK(ecode3
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9041 arg3
= static_cast< int >(val3
);
9044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9045 if (!SWIG_IsOK(ecode4
)) {
9046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9048 arg4
= static_cast< int >(val4
);
9051 if (!wxPyCheckForApp()) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9072 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9073 PyObject
*resultobj
= 0;
9074 wxIcon
*arg1
= (wxIcon
*) 0 ;
9077 PyObject
*swig_obj
[1] ;
9079 if (!args
) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9085 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_Py_Void();
9100 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9101 PyObject
*resultobj
= 0;
9102 wxIcon
*result
= 0 ;
9104 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9106 if (!wxPyCheckForApp()) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (wxIcon
*)new wxIcon();
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9119 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
= 0;
9121 wxIconLocation
*arg1
= 0 ;
9122 wxIcon
*result
= 0 ;
9125 PyObject
* obj0
= 0 ;
9126 char * kwnames
[] = {
9127 (char *) "loc", NULL
9130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9138 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9140 if (!wxPyCheckForApp()) SWIG_fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9153 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
= 0;
9155 wxBitmap
*arg1
= 0 ;
9156 wxIcon
*result
= 0 ;
9159 PyObject
* obj0
= 0 ;
9160 char * kwnames
[] = {
9161 (char *) "bmp", NULL
9164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9165 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9166 if (!SWIG_IsOK(res1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9172 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9174 if (!wxPyCheckForApp()) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9187 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
= 0;
9189 PyObject
*arg1
= (PyObject
*) 0 ;
9190 wxIcon
*result
= 0 ;
9191 PyObject
* obj0
= 0 ;
9192 char * kwnames
[] = {
9193 (char *) "listOfStrings", NULL
9196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9199 if (!wxPyCheckForApp()) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (wxIcon
*)new_wxIcon(arg1
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9212 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxIcon
*arg1
= (wxIcon
*) 0 ;
9215 wxString
*arg2
= 0 ;
9220 bool temp2
= false ;
9223 PyObject
* obj0
= 0 ;
9224 PyObject
* obj1
= 0 ;
9225 PyObject
* obj2
= 0 ;
9226 char * kwnames
[] = {
9227 (char *) "self",(char *) "name",(char *) "type", NULL
9230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9232 if (!SWIG_IsOK(res1
)) {
9233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9235 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9237 arg2
= wxString_in_helper(obj1
);
9238 if (arg2
== NULL
) SWIG_fail
;
9241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9242 if (!SWIG_IsOK(ecode3
)) {
9243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9245 arg3
= static_cast< wxBitmapType
>(val3
);
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9269 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9270 PyObject
*resultobj
= 0;
9271 wxIcon
*arg1
= (wxIcon
*) 0 ;
9275 PyObject
*swig_obj
[1] ;
9277 if (!args
) SWIG_fail
;
9279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9280 if (!SWIG_IsOK(res1
)) {
9281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9283 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (bool)(arg1
)->IsOk();
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9299 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9300 PyObject
*resultobj
= 0;
9301 wxIcon
*arg1
= (wxIcon
*) 0 ;
9305 PyObject
*swig_obj
[1] ;
9307 if (!args
) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9313 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (int)(arg1
)->GetWidth();
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_From_int(static_cast< int >(result
));
9327 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9328 PyObject
*resultobj
= 0;
9329 wxIcon
*arg1
= (wxIcon
*) 0 ;
9333 PyObject
*swig_obj
[1] ;
9335 if (!args
) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9341 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (int)(arg1
)->GetHeight();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_From_int(static_cast< int >(result
));
9355 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9356 PyObject
*resultobj
= 0;
9357 wxIcon
*arg1
= (wxIcon
*) 0 ;
9361 PyObject
*swig_obj
[1] ;
9363 if (!args
) SWIG_fail
;
9365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9366 if (!SWIG_IsOK(res1
)) {
9367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9369 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (int)(arg1
)->GetDepth();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_From_int(static_cast< int >(result
));
9383 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= 0;
9385 wxIcon
*arg1
= (wxIcon
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 char * kwnames
[] = {
9394 (char *) "self",(char *) "w", NULL
9397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9399 if (!SWIG_IsOK(res1
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9402 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9404 if (!SWIG_IsOK(ecode2
)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9407 arg2
= static_cast< int >(val2
);
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 (arg1
)->SetWidth(arg2
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_Py_Void();
9421 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
= 0;
9423 wxIcon
*arg1
= (wxIcon
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 char * kwnames
[] = {
9432 (char *) "self",(char *) "h", NULL
9435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9437 if (!SWIG_IsOK(res1
)) {
9438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9440 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9442 if (!SWIG_IsOK(ecode2
)) {
9443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9445 arg2
= static_cast< int >(val2
);
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 (arg1
)->SetHeight(arg2
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_Py_Void();
9459 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
= 0;
9461 wxIcon
*arg1
= (wxIcon
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9469 char * kwnames
[] = {
9470 (char *) "self",(char *) "d", NULL
9473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9478 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9480 if (!SWIG_IsOK(ecode2
)) {
9481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9483 arg2
= static_cast< int >(val2
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->SetDepth(arg2
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_Py_Void();
9497 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxIcon
*arg1
= (wxIcon
*) 0 ;
9500 wxBitmap
*arg2
= 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 char * kwnames
[] = {
9508 (char *) "self",(char *) "bmp", NULL
9511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9516 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9518 if (!SWIG_IsOK(res2
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9524 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_Py_Void();
9538 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9541 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9542 return SWIG_Py_Void();
9545 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9546 return SWIG_Python_InitShadowInstance(args
);
9549 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
= 0;
9551 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9552 int arg2
= (int) 0 ;
9553 wxIconLocation
*result
= 0 ;
9554 bool temp1
= false ;
9557 PyObject
* obj0
= 0 ;
9558 PyObject
* obj1
= 0 ;
9559 char * kwnames
[] = {
9560 (char *) "filename",(char *) "num", NULL
9563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9566 arg1
= wxString_in_helper(obj0
);
9567 if (arg1
== NULL
) SWIG_fail
;
9572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9573 if (!SWIG_IsOK(ecode2
)) {
9574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9576 arg2
= static_cast< int >(val2
);
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9599 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9600 PyObject
*resultobj
= 0;
9601 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9604 PyObject
*swig_obj
[1] ;
9606 if (!args
) SWIG_fail
;
9608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9609 if (!SWIG_IsOK(res1
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9612 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_Py_Void();
9627 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9628 PyObject
*resultobj
= 0;
9629 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9633 PyObject
*swig_obj
[1] ;
9635 if (!args
) SWIG_fail
;
9637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9638 if (!SWIG_IsOK(res1
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9641 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9657 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
= 0;
9659 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9660 wxString
*arg2
= 0 ;
9663 bool temp2
= false ;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 char * kwnames
[] = {
9667 (char *) "self",(char *) "filename", NULL
9670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9672 if (!SWIG_IsOK(res1
)) {
9673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9675 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9677 arg2
= wxString_in_helper(obj1
);
9678 if (arg2
== NULL
) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 (arg1
)->SetFileName((wxString
const &)*arg2
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= SWIG_Py_Void();
9702 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9703 PyObject
*resultobj
= 0;
9704 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9705 wxString
*result
= 0 ;
9708 PyObject
*swig_obj
[1] ;
9710 if (!args
) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9716 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9721 result
= (wxString
*) &_result_ref
;
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9730 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9739 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
= 0;
9741 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9747 PyObject
* obj0
= 0 ;
9748 PyObject
* obj1
= 0 ;
9749 char * kwnames
[] = {
9750 (char *) "self",(char *) "num", NULL
9753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9755 if (!SWIG_IsOK(res1
)) {
9756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9758 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9760 if (!SWIG_IsOK(ecode2
)) {
9761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9763 arg2
= static_cast< int >(val2
);
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 wxIconLocation_SetIndex(arg1
,arg2
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_Py_Void();
9777 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9778 PyObject
*resultobj
= 0;
9779 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9783 PyObject
*swig_obj
[1] ;
9785 if (!args
) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9791 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (int)wxIconLocation_GetIndex(arg1
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_From_int(static_cast< int >(result
));
9805 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9808 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9809 return SWIG_Py_Void();
9812 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9813 return SWIG_Python_InitShadowInstance(args
);
9816 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9817 PyObject
*resultobj
= 0;
9818 wxIconBundle
*result
= 0 ;
9820 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (wxIconBundle
*)new wxIconBundle();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9834 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
= 0;
9836 wxString
*arg1
= 0 ;
9838 wxIconBundle
*result
= 0 ;
9839 bool temp1
= false ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 char * kwnames
[] = {
9845 (char *) "file",(char *) "type", NULL
9848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9850 arg1
= wxString_in_helper(obj0
);
9851 if (arg1
== NULL
) SWIG_fail
;
9854 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9855 if (!SWIG_IsOK(ecode2
)) {
9856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9858 arg2
= static_cast< long >(val2
);
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9880 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
= 0;
9883 wxIconBundle
*result
= 0 ;
9886 PyObject
* obj0
= 0 ;
9887 char * kwnames
[] = {
9888 (char *) "icon", NULL
9891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9892 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9893 if (!SWIG_IsOK(res1
)) {
9894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9899 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9913 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9914 PyObject
*resultobj
= 0;
9915 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9918 PyObject
*swig_obj
[1] ;
9920 if (!args
) SWIG_fail
;
9922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9923 if (!SWIG_IsOK(res1
)) {
9924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9926 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 resultobj
= SWIG_Py_Void();
9941 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
= 0;
9943 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9950 PyObject
* obj1
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "icon", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9960 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9962 if (!SWIG_IsOK(res2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9968 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_Py_Void();
9982 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
= 0;
9984 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9985 wxString
*arg2
= 0 ;
9989 bool temp2
= false ;
9992 PyObject
* obj0
= 0 ;
9993 PyObject
* obj1
= 0 ;
9994 PyObject
* obj2
= 0 ;
9995 char * kwnames
[] = {
9996 (char *) "self",(char *) "file",(char *) "type", NULL
9999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10001 if (!SWIG_IsOK(res1
)) {
10002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10004 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10006 arg2
= wxString_in_helper(obj1
);
10007 if (arg2
== NULL
) SWIG_fail
;
10010 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10011 if (!SWIG_IsOK(ecode3
)) {
10012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10014 arg3
= static_cast< long >(val3
);
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_Py_Void();
10036 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
= 0;
10038 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10040 wxIcon
*result
= 0 ;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 char * kwnames
[] = {
10047 (char *) "self",(char *) "size", NULL
10050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10052 if (!SWIG_IsOK(res1
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10055 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10058 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10064 result
= (wxIcon
*) &_result_ref
;
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10070 wxIcon
* resultptr
= new wxIcon(*result
);
10071 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10079 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10082 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10083 return SWIG_Py_Void();
10086 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10087 return SWIG_Python_InitShadowInstance(args
);
10090 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
= 0;
10092 wxString
*arg1
= 0 ;
10094 int arg3
= (int) 0 ;
10095 int arg4
= (int) 0 ;
10096 wxCursor
*result
= 0 ;
10097 bool temp1
= false ;
10104 PyObject
* obj0
= 0 ;
10105 PyObject
* obj1
= 0 ;
10106 PyObject
* obj2
= 0 ;
10107 PyObject
* obj3
= 0 ;
10108 char * kwnames
[] = {
10109 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10114 arg1
= wxString_in_helper(obj0
);
10115 if (arg1
== NULL
) SWIG_fail
;
10118 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10119 if (!SWIG_IsOK(ecode2
)) {
10120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10122 arg2
= static_cast< long >(val2
);
10124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10125 if (!SWIG_IsOK(ecode3
)) {
10126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10128 arg3
= static_cast< int >(val3
);
10131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10132 if (!SWIG_IsOK(ecode4
)) {
10133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10135 arg4
= static_cast< int >(val4
);
10138 if (!wxPyCheckForApp()) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10159 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 PyObject
*resultobj
= 0;
10161 wxCursor
*arg1
= (wxCursor
*) 0 ;
10164 PyObject
*swig_obj
[1] ;
10166 if (!args
) SWIG_fail
;
10167 swig_obj
[0] = args
;
10168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10169 if (!SWIG_IsOK(res1
)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10172 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_Py_Void();
10187 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
= 0;
10190 wxCursor
*result
= 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char * kwnames
[] = {
10195 (char *) "id", NULL
10198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10200 if (!SWIG_IsOK(ecode1
)) {
10201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10203 arg1
= static_cast< int >(val1
);
10205 if (!wxPyCheckForApp()) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (wxCursor
*)new wxCursor(arg1
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10218 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10220 wxImage
*arg1
= 0 ;
10221 wxCursor
*result
= 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "image", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10237 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10239 if (!wxPyCheckForApp()) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10252 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10253 PyObject
*resultobj
= 0;
10254 wxCursor
*arg1
= (wxCursor
*) 0 ;
10258 PyObject
*swig_obj
[1] ;
10260 if (!args
) SWIG_fail
;
10261 swig_obj
[0] = args
;
10262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10263 if (!SWIG_IsOK(res1
)) {
10264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10266 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (bool)(arg1
)->IsOk();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10282 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10285 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10286 return SWIG_Py_Void();
10289 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10290 return SWIG_Python_InitShadowInstance(args
);
10293 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
= 0;
10295 int arg1
= (int) 0 ;
10296 int arg2
= (int) 0 ;
10297 int arg3
= (int) 0 ;
10298 int arg4
= (int) 0 ;
10299 wxRegion
*result
= 0 ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 PyObject
* obj2
= 0 ;
10311 PyObject
* obj3
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10319 if (!SWIG_IsOK(ecode1
)) {
10320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10322 arg1
= static_cast< int >(val1
);
10325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10326 if (!SWIG_IsOK(ecode2
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10329 arg2
= static_cast< int >(val2
);
10332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10333 if (!SWIG_IsOK(ecode3
)) {
10334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10336 arg3
= static_cast< int >(val3
);
10339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10340 if (!SWIG_IsOK(ecode4
)) {
10341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10343 arg4
= static_cast< int >(val4
);
10346 if (!wxPyCheckForApp()) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10359 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= 0;
10361 wxBitmap
*arg1
= 0 ;
10362 wxRegion
*result
= 0 ;
10365 PyObject
* obj0
= 0 ;
10366 char * kwnames
[] = {
10367 (char *) "bmp", NULL
10370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10372 if (!SWIG_IsOK(res1
)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10378 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10380 if (!wxPyCheckForApp()) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10393 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
= 0;
10395 wxBitmap
*arg1
= 0 ;
10396 wxColour
*arg2
= 0 ;
10397 int arg3
= (int) 0 ;
10398 wxRegion
*result
= 0 ;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10406 PyObject
* obj2
= 0 ;
10407 char * kwnames
[] = {
10408 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10412 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10413 if (!SWIG_IsOK(res1
)) {
10414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10419 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10422 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10426 if (!SWIG_IsOK(ecode3
)) {
10427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10429 arg3
= static_cast< int >(val3
);
10432 if (!wxPyCheckForApp()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10445 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
= 0;
10448 wxPoint
*arg2
= (wxPoint
*) 0 ;
10449 int arg3
= (int) wxWINDING_RULE
;
10450 wxRegion
*result
= 0 ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 char * kwnames
[] = {
10456 (char *) "points",(char *) "fillStyle", NULL
10459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10461 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10462 if (arg2
== NULL
) SWIG_fail
;
10465 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10466 if (!SWIG_IsOK(ecode3
)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10469 arg3
= static_cast< int >(val3
);
10472 if (!wxPyCheckForApp()) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10480 if (arg2
) delete [] arg2
;
10485 if (arg2
) delete [] arg2
;
10491 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10492 PyObject
*resultobj
= 0;
10493 wxRegion
*arg1
= (wxRegion
*) 0 ;
10496 PyObject
*swig_obj
[1] ;
10498 if (!args
) SWIG_fail
;
10499 swig_obj
[0] = args
;
10500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10501 if (!SWIG_IsOK(res1
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10504 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_Py_Void();
10519 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxRegion
*arg1
= (wxRegion
*) 0 ;
10524 PyObject
*swig_obj
[1] ;
10526 if (!args
) SWIG_fail
;
10527 swig_obj
[0] = args
;
10528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10532 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= 0;
10548 wxRegion
*arg1
= (wxRegion
*) 0 ;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 PyObject
* obj2
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "self",(char *) "x",(char *) "y", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10570 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10572 if (!SWIG_IsOK(ecode2
)) {
10573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10575 arg2
= static_cast< int >(val2
);
10576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10577 if (!SWIG_IsOK(ecode3
)) {
10578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10580 arg3
= static_cast< int >(val3
);
10582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10584 wxPyEndAllowThreads(__tstate
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10596 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
= 0;
10598 wxRegion
*arg1
= (wxRegion
*) 0 ;
10601 wxRegionContain result
;
10608 PyObject
* obj0
= 0 ;
10609 PyObject
* obj1
= 0 ;
10610 PyObject
* obj2
= 0 ;
10611 char * kwnames
[] = {
10612 (char *) "self",(char *) "x",(char *) "y", NULL
10615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10620 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10622 if (!SWIG_IsOK(ecode2
)) {
10623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10625 arg2
= static_cast< int >(val2
);
10626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10627 if (!SWIG_IsOK(ecode3
)) {
10628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10630 arg3
= static_cast< int >(val3
);
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_From_int(static_cast< int >(result
));
10644 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
= 0;
10646 wxRegion
*arg1
= (wxRegion
*) 0 ;
10647 wxPoint
*arg2
= 0 ;
10648 wxRegionContain result
;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 char * kwnames
[] = {
10655 (char *) "self",(char *) "pt", NULL
10658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10660 if (!SWIG_IsOK(res1
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10663 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_From_int(static_cast< int >(result
));
10681 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
= 0;
10683 wxRegion
*arg1
= (wxRegion
*) 0 ;
10685 wxRegionContain result
;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 char * kwnames
[] = {
10692 (char *) "self",(char *) "rect", NULL
10695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) 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_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10700 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10703 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= SWIG_From_int(static_cast< int >(result
));
10718 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
= 0;
10720 wxRegion
*arg1
= (wxRegion
*) 0 ;
10725 wxRegionContain result
;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 PyObject
* obj2
= 0 ;
10739 PyObject
* obj3
= 0 ;
10740 PyObject
* obj4
= 0 ;
10741 char * kwnames
[] = {
10742 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10747 if (!SWIG_IsOK(res1
)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10750 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10752 if (!SWIG_IsOK(ecode2
)) {
10753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10755 arg2
= static_cast< int >(val2
);
10756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10757 if (!SWIG_IsOK(ecode3
)) {
10758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10760 arg3
= static_cast< int >(val3
);
10761 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10762 if (!SWIG_IsOK(ecode4
)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10765 arg4
= static_cast< int >(val4
);
10766 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10767 if (!SWIG_IsOK(ecode5
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10770 arg5
= static_cast< int >(val5
);
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_From_int(static_cast< int >(result
));
10784 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10785 PyObject
*resultobj
= 0;
10786 wxRegion
*arg1
= (wxRegion
*) 0 ;
10790 PyObject
*swig_obj
[1] ;
10792 if (!args
) SWIG_fail
;
10793 swig_obj
[0] = args
;
10794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10795 if (!SWIG_IsOK(res1
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10798 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (arg1
)->GetBox();
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10812 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
= 0;
10814 wxRegion
*arg1
= (wxRegion
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 PyObject
* obj2
= 0 ;
10833 PyObject
* obj3
= 0 ;
10834 PyObject
* obj4
= 0 ;
10835 char * kwnames
[] = {
10836 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10841 if (!SWIG_IsOK(res1
)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10844 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10846 if (!SWIG_IsOK(ecode2
)) {
10847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10849 arg2
= static_cast< int >(val2
);
10850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10851 if (!SWIG_IsOK(ecode3
)) {
10852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10854 arg3
= static_cast< int >(val3
);
10855 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10856 if (!SWIG_IsOK(ecode4
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10859 arg4
= static_cast< int >(val4
);
10860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10861 if (!SWIG_IsOK(ecode5
)) {
10862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10864 arg5
= static_cast< int >(val5
);
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10880 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
= 0;
10882 wxRegion
*arg1
= (wxRegion
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 PyObject
* obj1
= 0 ;
10890 char * kwnames
[] = {
10891 (char *) "self",(char *) "rect", NULL
10894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10896 if (!SWIG_IsOK(res1
)) {
10897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10899 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10902 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10919 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
= 0;
10921 wxRegion
*arg1
= (wxRegion
*) 0 ;
10922 wxRegion
*arg2
= 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "region", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10939 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10941 if (!SWIG_IsOK(res2
)) {
10942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10947 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10963 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxRegion
*arg1
= (wxRegion
*) 0 ;
10969 PyObject
*swig_obj
[1] ;
10971 if (!args
) SWIG_fail
;
10972 swig_obj
[0] = args
;
10973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10977 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)(arg1
)->IsEmpty();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
*resultobj
= 0;
10995 wxRegion
*arg1
= (wxRegion
*) 0 ;
10996 wxRegion
*arg2
= 0 ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 char * kwnames
[] = {
11005 (char *) "self",(char *) "region", NULL
11008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11013 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11015 if (!SWIG_IsOK(res2
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11021 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11037 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
= 0;
11039 wxRegion
*arg1
= (wxRegion
*) 0 ;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 PyObject
* obj2
= 0 ;
11058 PyObject
* obj3
= 0 ;
11059 PyObject
* obj4
= 0 ;
11060 char * kwnames
[] = {
11061 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11066 if (!SWIG_IsOK(res1
)) {
11067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11069 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11071 if (!SWIG_IsOK(ecode2
)) {
11072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11074 arg2
= static_cast< int >(val2
);
11075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11076 if (!SWIG_IsOK(ecode3
)) {
11077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11079 arg3
= static_cast< int >(val3
);
11080 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11081 if (!SWIG_IsOK(ecode4
)) {
11082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11084 arg4
= static_cast< int >(val4
);
11085 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11086 if (!SWIG_IsOK(ecode5
)) {
11087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11089 arg5
= static_cast< int >(val5
);
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11093 wxPyEndAllowThreads(__tstate
);
11094 if (PyErr_Occurred()) SWIG_fail
;
11097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11105 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
= 0;
11107 wxRegion
*arg1
= (wxRegion
*) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 char * kwnames
[] = {
11116 (char *) "self",(char *) "rect", NULL
11119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11121 if (!SWIG_IsOK(res1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11124 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11127 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
= 0;
11146 wxRegion
*arg1
= (wxRegion
*) 0 ;
11147 wxRegion
*arg2
= 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 char * kwnames
[] = {
11156 (char *) "self",(char *) "region", NULL
11159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11161 if (!SWIG_IsOK(res1
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11164 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11166 if (!SWIG_IsOK(res2
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11172 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
= 0;
11190 wxRegion
*arg1
= (wxRegion
*) 0 ;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 PyObject
* obj2
= 0 ;
11209 PyObject
* obj3
= 0 ;
11210 PyObject
* obj4
= 0 ;
11211 char * kwnames
[] = {
11212 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11217 if (!SWIG_IsOK(res1
)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11220 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11222 if (!SWIG_IsOK(ecode2
)) {
11223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11225 arg2
= static_cast< int >(val2
);
11226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11227 if (!SWIG_IsOK(ecode3
)) {
11228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11230 arg3
= static_cast< int >(val3
);
11231 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11232 if (!SWIG_IsOK(ecode4
)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11235 arg4
= static_cast< int >(val4
);
11236 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11237 if (!SWIG_IsOK(ecode5
)) {
11238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11240 arg5
= static_cast< int >(val5
);
11242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11243 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11256 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
= 0;
11258 wxRegion
*arg1
= (wxRegion
*) 0 ;
11264 PyObject
* obj0
= 0 ;
11265 PyObject
* obj1
= 0 ;
11266 char * kwnames
[] = {
11267 (char *) "self",(char *) "rect", NULL
11270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11272 if (!SWIG_IsOK(res1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11275 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11278 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11295 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
= 0;
11297 wxRegion
*arg1
= (wxRegion
*) 0 ;
11298 wxRegion
*arg2
= 0 ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char * kwnames
[] = {
11307 (char *) "self",(char *) "region", NULL
11310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11312 if (!SWIG_IsOK(res1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11315 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11317 if (!SWIG_IsOK(res2
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11323 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
= 0;
11341 wxRegion
*arg1
= (wxRegion
*) 0 ;
11357 PyObject
* obj0
= 0 ;
11358 PyObject
* obj1
= 0 ;
11359 PyObject
* obj2
= 0 ;
11360 PyObject
* obj3
= 0 ;
11361 PyObject
* obj4
= 0 ;
11362 char * kwnames
[] = {
11363 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11371 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11373 if (!SWIG_IsOK(ecode2
)) {
11374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11376 arg2
= static_cast< int >(val2
);
11377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11378 if (!SWIG_IsOK(ecode3
)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11381 arg3
= static_cast< int >(val3
);
11382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11383 if (!SWIG_IsOK(ecode4
)) {
11384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11386 arg4
= static_cast< int >(val4
);
11387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11388 if (!SWIG_IsOK(ecode5
)) {
11389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11391 arg5
= static_cast< int >(val5
);
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11407 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
= 0;
11409 wxRegion
*arg1
= (wxRegion
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 char * kwnames
[] = {
11418 (char *) "self",(char *) "rect", NULL
11421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11423 if (!SWIG_IsOK(res1
)) {
11424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11426 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11429 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11446 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
= 0;
11448 wxRegion
*arg1
= (wxRegion
*) 0 ;
11449 wxRegion
*arg2
= 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 char * kwnames
[] = {
11458 (char *) "self",(char *) "region", NULL
11461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11463 if (!SWIG_IsOK(res1
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11466 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11468 if (!SWIG_IsOK(res2
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11474 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11490 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11491 PyObject
*resultobj
= 0;
11492 wxRegion
*arg1
= (wxRegion
*) 0 ;
11493 SwigValueWrapper
<wxBitmap
> result
;
11496 PyObject
*swig_obj
[1] ;
11498 if (!args
) SWIG_fail
;
11499 swig_obj
[0] = args
;
11500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11504 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= (arg1
)->ConvertToBitmap();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11518 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
= 0;
11520 wxRegion
*arg1
= (wxRegion
*) 0 ;
11521 wxBitmap
*arg2
= 0 ;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 char * kwnames
[] = {
11530 (char *) "self",(char *) "bmp", NULL
11533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11535 if (!SWIG_IsOK(res1
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11538 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11540 if (!SWIG_IsOK(res2
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11546 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11550 wxPyEndAllowThreads(__tstate
);
11551 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11562 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
= 0;
11564 wxRegion
*arg1
= (wxRegion
*) 0 ;
11565 wxBitmap
*arg2
= 0 ;
11566 wxColour
*arg3
= 0 ;
11567 int arg4
= (int) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 PyObject
* obj2
= 0 ;
11579 PyObject
* obj3
= 0 ;
11580 char * kwnames
[] = {
11581 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11586 if (!SWIG_IsOK(res1
)) {
11587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11589 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11591 if (!SWIG_IsOK(res2
)) {
11592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11597 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11600 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11604 if (!SWIG_IsOK(ecode4
)) {
11605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11607 arg4
= static_cast< int >(val4
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11624 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11627 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11628 return SWIG_Py_Void();
11631 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11632 return SWIG_Python_InitShadowInstance(args
);
11635 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
= 0;
11637 wxRegion
*arg1
= 0 ;
11638 wxRegionIterator
*result
= 0 ;
11641 PyObject
* obj0
= 0 ;
11642 char * kwnames
[] = {
11643 (char *) "region", NULL
11646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11647 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11654 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11656 if (!wxPyCheckForApp()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11669 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11670 PyObject
*resultobj
= 0;
11671 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11674 PyObject
*swig_obj
[1] ;
11676 if (!args
) SWIG_fail
;
11677 swig_obj
[0] = args
;
11678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11679 if (!SWIG_IsOK(res1
)) {
11680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11682 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11690 resultobj
= SWIG_Py_Void();
11697 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11698 PyObject
*resultobj
= 0;
11699 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11703 PyObject
*swig_obj
[1] ;
11705 if (!args
) SWIG_fail
;
11706 swig_obj
[0] = args
;
11707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11708 if (!SWIG_IsOK(res1
)) {
11709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11711 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (int)(arg1
)->GetX();
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11718 resultobj
= SWIG_From_int(static_cast< int >(result
));
11725 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11726 PyObject
*resultobj
= 0;
11727 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11731 PyObject
*swig_obj
[1] ;
11733 if (!args
) SWIG_fail
;
11734 swig_obj
[0] = args
;
11735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11736 if (!SWIG_IsOK(res1
)) {
11737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11739 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (int)(arg1
)->GetY();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_From_int(static_cast< int >(result
));
11753 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11754 PyObject
*resultobj
= 0;
11755 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11759 PyObject
*swig_obj
[1] ;
11761 if (!args
) SWIG_fail
;
11762 swig_obj
[0] = args
;
11763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11764 if (!SWIG_IsOK(res1
)) {
11765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11767 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (int)(arg1
)->GetW();
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_From_int(static_cast< int >(result
));
11781 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11782 PyObject
*resultobj
= 0;
11783 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11787 PyObject
*swig_obj
[1] ;
11789 if (!args
) SWIG_fail
;
11790 swig_obj
[0] = args
;
11791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11792 if (!SWIG_IsOK(res1
)) {
11793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11795 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (int)(arg1
)->GetWidth();
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11802 resultobj
= SWIG_From_int(static_cast< int >(result
));
11809 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11810 PyObject
*resultobj
= 0;
11811 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11815 PyObject
*swig_obj
[1] ;
11817 if (!args
) SWIG_fail
;
11818 swig_obj
[0] = args
;
11819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11820 if (!SWIG_IsOK(res1
)) {
11821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11823 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (int)(arg1
)->GetH();
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= SWIG_From_int(static_cast< int >(result
));
11837 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11838 PyObject
*resultobj
= 0;
11839 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11843 PyObject
*swig_obj
[1] ;
11845 if (!args
) SWIG_fail
;
11846 swig_obj
[0] = args
;
11847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11848 if (!SWIG_IsOK(res1
)) {
11849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11851 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (int)(arg1
)->GetHeight();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_From_int(static_cast< int >(result
));
11865 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11866 PyObject
*resultobj
= 0;
11867 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11871 PyObject
*swig_obj
[1] ;
11873 if (!args
) SWIG_fail
;
11874 swig_obj
[0] = args
;
11875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11876 if (!SWIG_IsOK(res1
)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11879 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (arg1
)->GetRect();
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11893 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11894 PyObject
*resultobj
= 0;
11895 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11899 PyObject
*swig_obj
[1] ;
11901 if (!args
) SWIG_fail
;
11902 swig_obj
[0] = args
;
11903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11907 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (bool)(arg1
)->HaveRects();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11923 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11924 PyObject
*resultobj
= 0;
11925 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11928 PyObject
*swig_obj
[1] ;
11930 if (!args
) SWIG_fail
;
11931 swig_obj
[0] = args
;
11932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11933 if (!SWIG_IsOK(res1
)) {
11934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11936 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_Py_Void();
11950 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11951 PyObject
*resultobj
= 0;
11952 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11955 PyObject
*swig_obj
[1] ;
11957 if (!args
) SWIG_fail
;
11958 swig_obj
[0] = args
;
11959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11963 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 wxRegionIterator_Next(arg1
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_Py_Void();
11977 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11978 PyObject
*resultobj
= 0;
11979 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11983 PyObject
*swig_obj
[1] ;
11985 if (!args
) SWIG_fail
;
11986 swig_obj
[0] = args
;
11987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11988 if (!SWIG_IsOK(res1
)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11991 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12007 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12010 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12011 return SWIG_Py_Void();
12014 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12015 return SWIG_Python_InitShadowInstance(args
);
12018 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12019 PyObject
*resultobj
= 0;
12020 wxNativeFontInfo
*result
= 0 ;
12022 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12036 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12037 PyObject
*resultobj
= 0;
12038 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12041 PyObject
*swig_obj
[1] ;
12043 if (!args
) SWIG_fail
;
12044 swig_obj
[0] = args
;
12045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12046 if (!SWIG_IsOK(res1
)) {
12047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12049 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_Py_Void();
12064 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12065 PyObject
*resultobj
= 0;
12066 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12069 PyObject
*swig_obj
[1] ;
12071 if (!args
) SWIG_fail
;
12072 swig_obj
[0] = args
;
12073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12074 if (!SWIG_IsOK(res1
)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12077 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_Py_Void();
12091 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
= 0;
12093 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char * kwnames
[] = {
12102 (char *) "self",(char *) "font", NULL
12105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12107 if (!SWIG_IsOK(res1
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12110 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12112 if (!SWIG_IsOK(res2
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12118 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_Py_Void();
12132 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12133 PyObject
*resultobj
= 0;
12134 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12138 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12146 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_From_int(static_cast< int >(result
));
12160 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12161 PyObject
*resultobj
= 0;
12162 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12163 wxFontStyle result
;
12166 PyObject
*swig_obj
[1] ;
12168 if (!args
) SWIG_fail
;
12169 swig_obj
[0] = args
;
12170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12171 if (!SWIG_IsOK(res1
)) {
12172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12174 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= SWIG_From_int(static_cast< int >(result
));
12188 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12189 PyObject
*resultobj
= 0;
12190 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12191 wxFontWeight result
;
12194 PyObject
*swig_obj
[1] ;
12196 if (!args
) SWIG_fail
;
12197 swig_obj
[0] = args
;
12198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12199 if (!SWIG_IsOK(res1
)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12202 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= SWIG_From_int(static_cast< int >(result
));
12216 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12217 PyObject
*resultobj
= 0;
12218 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12222 PyObject
*swig_obj
[1] ;
12224 if (!args
) SWIG_fail
;
12225 swig_obj
[0] = args
;
12226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12227 if (!SWIG_IsOK(res1
)) {
12228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12230 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12246 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12247 PyObject
*resultobj
= 0;
12248 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12252 PyObject
*swig_obj
[1] ;
12254 if (!args
) SWIG_fail
;
12255 swig_obj
[0] = args
;
12256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12257 if (!SWIG_IsOK(res1
)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12260 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12280 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12281 PyObject
*resultobj
= 0;
12282 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12283 wxFontFamily result
;
12286 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12294 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_From_int(static_cast< int >(result
));
12308 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12309 PyObject
*resultobj
= 0;
12310 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12311 wxFontEncoding result
;
12314 PyObject
*swig_obj
[1] ;
12316 if (!args
) SWIG_fail
;
12317 swig_obj
[0] = args
;
12318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12319 if (!SWIG_IsOK(res1
)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12322 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_From_int(static_cast< int >(result
));
12336 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
= 0;
12338 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 char * kwnames
[] = {
12347 (char *) "self",(char *) "pointsize", NULL
12350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12352 if (!SWIG_IsOK(res1
)) {
12353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12355 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12357 if (!SWIG_IsOK(ecode2
)) {
12358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12360 arg2
= static_cast< int >(val2
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 (arg1
)->SetPointSize(arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_Py_Void();
12374 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
= 0;
12376 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char * kwnames
[] = {
12385 (char *) "self",(char *) "style", NULL
12388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12393 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12395 if (!SWIG_IsOK(ecode2
)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12398 arg2
= static_cast< wxFontStyle
>(val2
);
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->SetStyle(arg2
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_Py_Void();
12412 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= 0;
12414 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12415 wxFontWeight arg2
;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 char * kwnames
[] = {
12423 (char *) "self",(char *) "weight", NULL
12426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12431 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12433 if (!SWIG_IsOK(ecode2
)) {
12434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12436 arg2
= static_cast< wxFontWeight
>(val2
);
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->SetWeight(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_Py_Void();
12450 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
= 0;
12452 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 char * kwnames
[] = {
12461 (char *) "self",(char *) "underlined", NULL
12464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12466 if (!SWIG_IsOK(res1
)) {
12467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12469 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12470 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12471 if (!SWIG_IsOK(ecode2
)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12474 arg2
= static_cast< bool >(val2
);
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 (arg1
)->SetUnderlined(arg2
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_Py_Void();
12488 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char * kwnames
[] = {
12498 (char *) "self",(char *) "facename", NULL
12501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12503 if (!SWIG_IsOK(res1
)) {
12504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12506 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12508 wxString
* sptr
= wxString_in_helper(obj1
);
12509 if (sptr
== NULL
) SWIG_fail
;
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 result
= (bool)(arg1
)->SetFaceName(arg2
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12528 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
= 0;
12530 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12531 wxFontFamily arg2
;
12536 PyObject
* obj0
= 0 ;
12537 PyObject
* obj1
= 0 ;
12538 char * kwnames
[] = {
12539 (char *) "self",(char *) "family", NULL
12542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12544 if (!SWIG_IsOK(res1
)) {
12545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12547 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12549 if (!SWIG_IsOK(ecode2
)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12552 arg2
= static_cast< wxFontFamily
>(val2
);
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 (arg1
)->SetFamily(arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= SWIG_Py_Void();
12566 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= 0;
12568 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12569 wxFontEncoding arg2
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 char * kwnames
[] = {
12577 (char *) "self",(char *) "encoding", NULL
12580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12582 if (!SWIG_IsOK(res1
)) {
12583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12585 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12587 if (!SWIG_IsOK(ecode2
)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12590 arg2
= static_cast< wxFontEncoding
>(val2
);
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->SetEncoding(arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12607 wxString
*arg2
= 0 ;
12611 bool temp2
= false ;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char * kwnames
[] = {
12615 (char *) "self",(char *) "s", NULL
12618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12623 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12625 arg2
= wxString_in_helper(obj1
);
12626 if (arg2
== NULL
) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12652 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12653 PyObject
*resultobj
= 0;
12654 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12658 PyObject
*swig_obj
[1] ;
12660 if (!args
) SWIG_fail
;
12661 swig_obj
[0] = args
;
12662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12663 if (!SWIG_IsOK(res1
)) {
12664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12666 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12686 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12687 PyObject
*resultobj
= 0;
12688 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12692 PyObject
*swig_obj
[1] ;
12694 if (!args
) SWIG_fail
;
12695 swig_obj
[0] = args
;
12696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12697 if (!SWIG_IsOK(res1
)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12700 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 result
= wxNativeFontInfo___str__(arg1
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12720 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
= 0;
12722 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12723 wxString
*arg2
= 0 ;
12727 bool temp2
= false ;
12728 PyObject
* obj0
= 0 ;
12729 PyObject
* obj1
= 0 ;
12730 char * kwnames
[] = {
12731 (char *) "self",(char *) "s", NULL
12734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12736 if (!SWIG_IsOK(res1
)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12739 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12741 arg2
= wxString_in_helper(obj1
);
12742 if (arg2
== NULL
) SWIG_fail
;
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12768 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12769 PyObject
*resultobj
= 0;
12770 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12774 PyObject
*swig_obj
[1] ;
12776 if (!args
) SWIG_fail
;
12777 swig_obj
[0] = args
;
12778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12779 if (!SWIG_IsOK(res1
)) {
12780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12782 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12802 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12805 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12806 return SWIG_Py_Void();
12809 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12810 return SWIG_Python_InitShadowInstance(args
);
12813 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12814 PyObject
*resultobj
= 0;
12815 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12816 wxString
*arg2
= (wxString
*) 0 ;
12819 bool temp2
= false ;
12820 PyObject
*swig_obj
[2] ;
12822 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12824 if (!SWIG_IsOK(res1
)) {
12825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12827 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12829 arg2
= wxString_in_helper(swig_obj
[1]);
12830 if (arg2
== NULL
) SWIG_fail
;
12833 if (arg1
) (arg1
)->facename
= *arg2
;
12835 resultobj
= SWIG_Py_Void();
12850 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 PyObject
*resultobj
= 0;
12852 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12853 wxString
*result
= 0 ;
12856 PyObject
*swig_obj
[1] ;
12858 if (!args
) SWIG_fail
;
12859 swig_obj
[0] = args
;
12860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12861 if (!SWIG_IsOK(res1
)) {
12862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12864 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12865 result
= (wxString
*)& ((arg1
)->facename
);
12868 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12870 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12879 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12880 PyObject
*resultobj
= 0;
12881 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12882 wxFontEncoding arg2
;
12887 PyObject
*swig_obj
[2] ;
12889 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12891 if (!SWIG_IsOK(res1
)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12894 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12895 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12896 if (!SWIG_IsOK(ecode2
)) {
12897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12899 arg2
= static_cast< wxFontEncoding
>(val2
);
12900 if (arg1
) (arg1
)->encoding
= arg2
;
12902 resultobj
= SWIG_Py_Void();
12909 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12910 PyObject
*resultobj
= 0;
12911 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12912 wxFontEncoding result
;
12915 PyObject
*swig_obj
[1] ;
12917 if (!args
) SWIG_fail
;
12918 swig_obj
[0] = args
;
12919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12920 if (!SWIG_IsOK(res1
)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12923 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12924 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12925 resultobj
= SWIG_From_int(static_cast< int >(result
));
12932 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12933 PyObject
*resultobj
= 0;
12934 wxNativeEncodingInfo
*result
= 0 ;
12936 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12950 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12951 PyObject
*resultobj
= 0;
12952 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12955 PyObject
*swig_obj
[1] ;
12957 if (!args
) SWIG_fail
;
12958 swig_obj
[0] = args
;
12959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12963 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= SWIG_Py_Void();
12978 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
= 0;
12980 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12981 wxString
*arg2
= 0 ;
12985 bool temp2
= false ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 char * kwnames
[] = {
12989 (char *) "self",(char *) "s", NULL
12992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12997 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12999 arg2
= wxString_in_helper(obj1
);
13000 if (arg2
== NULL
) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13026 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13027 PyObject
*resultobj
= 0;
13028 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13032 PyObject
*swig_obj
[1] ;
13034 if (!args
) SWIG_fail
;
13035 swig_obj
[0] = args
;
13036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13037 if (!SWIG_IsOK(res1
)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13040 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13060 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13063 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13064 return SWIG_Py_Void();
13067 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13068 return SWIG_Python_InitShadowInstance(args
);
13071 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
= 0;
13073 wxFontEncoding arg1
;
13074 wxNativeEncodingInfo
*result
= 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char * kwnames
[] = {
13079 (char *) "encoding", NULL
13082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13084 if (!SWIG_IsOK(ecode1
)) {
13085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13087 arg1
= static_cast< wxFontEncoding
>(val1
);
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13101 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
= 0;
13103 wxNativeEncodingInfo
*arg1
= 0 ;
13107 PyObject
* obj0
= 0 ;
13108 char * kwnames
[] = {
13109 (char *) "info", NULL
13112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13113 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13114 if (!SWIG_IsOK(res1
)) {
13115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13120 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13136 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13137 PyObject
*resultobj
= 0;
13138 wxFontMapper
*result
= 0 ;
13140 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (wxFontMapper
*)new wxFontMapper();
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13154 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13155 PyObject
*resultobj
= 0;
13156 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13159 PyObject
*swig_obj
[1] ;
13161 if (!args
) SWIG_fail
;
13162 swig_obj
[0] = args
;
13163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13167 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_Py_Void();
13182 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13183 PyObject
*resultobj
= 0;
13184 wxFontMapper
*result
= 0 ;
13186 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (wxFontMapper
*)wxFontMapper::Get();
13190 wxPyEndAllowThreads(__tstate
);
13191 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13200 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
= 0;
13202 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13203 wxFontMapper
*result
= 0 ;
13206 PyObject
* obj0
= 0 ;
13207 char * kwnames
[] = {
13208 (char *) "mapper", NULL
13211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13213 if (!SWIG_IsOK(res1
)) {
13214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13216 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13219 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13230 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
= 0;
13232 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13233 wxString
*arg2
= 0 ;
13234 bool arg3
= (bool) true ;
13235 wxFontEncoding result
;
13238 bool temp2
= false ;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 PyObject
* obj2
= 0 ;
13244 char * kwnames
[] = {
13245 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13250 if (!SWIG_IsOK(res1
)) {
13251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13253 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13255 arg2
= wxString_in_helper(obj1
);
13256 if (arg2
== NULL
) SWIG_fail
;
13260 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13261 if (!SWIG_IsOK(ecode3
)) {
13262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13264 arg3
= static_cast< bool >(val3
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 resultobj
= SWIG_From_int(static_cast< int >(result
));
13287 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13288 PyObject
*resultobj
= 0;
13291 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13305 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
= 0;
13308 wxFontEncoding result
;
13311 PyObject
* obj0
= 0 ;
13312 char * kwnames
[] = {
13316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13317 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13318 if (!SWIG_IsOK(ecode1
)) {
13319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13321 arg1
= static_cast< size_t >(val1
);
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_From_int(static_cast< int >(result
));
13335 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
= 0;
13337 wxFontEncoding arg1
;
13341 PyObject
* obj0
= 0 ;
13342 char * kwnames
[] = {
13343 (char *) "encoding", NULL
13346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13347 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13348 if (!SWIG_IsOK(ecode1
)) {
13349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13351 arg1
= static_cast< wxFontEncoding
>(val1
);
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= wxFontMapper::GetEncodingName(arg1
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13371 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
= 0;
13373 wxFontEncoding arg1
;
13377 PyObject
* obj0
= 0 ;
13378 char * kwnames
[] = {
13379 (char *) "encoding", NULL
13382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13384 if (!SWIG_IsOK(ecode1
)) {
13385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13387 arg1
= static_cast< wxFontEncoding
>(val1
);
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= wxFontMapper::GetEncodingDescription(arg1
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13407 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
= 0;
13409 wxString
*arg1
= 0 ;
13410 wxFontEncoding result
;
13411 bool temp1
= false ;
13412 PyObject
* obj0
= 0 ;
13413 char * kwnames
[] = {
13414 (char *) "name", NULL
13417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13419 arg1
= wxString_in_helper(obj0
);
13420 if (arg1
== NULL
) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_From_int(static_cast< int >(result
));
13444 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
= 0;
13446 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13447 wxString
*arg2
= 0 ;
13450 bool temp2
= false ;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj1
= 0 ;
13453 char * kwnames
[] = {
13454 (char *) "self",(char *) "prefix", NULL
13457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) 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_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13462 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13464 arg2
= wxString_in_helper(obj1
);
13465 if (arg2
== NULL
) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= SWIG_Py_Void();
13489 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13490 PyObject
*resultobj
= 0;
13493 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= wxFontMapper::GetDefaultConfigPath();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13513 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
= 0;
13515 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13516 wxFontEncoding arg2
;
13517 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13519 bool arg4
= (bool) true ;
13520 PyObject
*result
= 0 ;
13525 bool temp3
= false ;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 PyObject
* obj2
= 0 ;
13531 PyObject
* obj3
= 0 ;
13532 char * kwnames
[] = {
13533 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13538 if (!SWIG_IsOK(res1
)) {
13539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13541 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13543 if (!SWIG_IsOK(ecode2
)) {
13544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13546 arg2
= static_cast< wxFontEncoding
>(val2
);
13549 arg3
= wxString_in_helper(obj2
);
13550 if (arg3
== NULL
) SWIG_fail
;
13555 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13556 if (!SWIG_IsOK(ecode4
)) {
13557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13559 arg4
= static_cast< bool >(val4
);
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= result
;
13582 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
= 0;
13584 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13585 wxFontEncoding arg2
;
13586 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13593 bool temp3
= false ;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 PyObject
* obj2
= 0 ;
13597 char * kwnames
[] = {
13598 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13606 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13608 if (!SWIG_IsOK(ecode2
)) {
13609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13611 arg2
= static_cast< wxFontEncoding
>(val2
);
13614 arg3
= wxString_in_helper(obj2
);
13615 if (arg3
== NULL
) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
= 0;
13644 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13645 wxWindow
*arg2
= (wxWindow
*) 0 ;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 char * kwnames
[] = {
13653 (char *) "self",(char *) "parent", NULL
13656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13661 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13663 if (!SWIG_IsOK(res2
)) {
13664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13666 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 (arg1
)->SetDialogParent(arg2
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= SWIG_Py_Void();
13680 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
= 0;
13682 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13683 wxString
*arg2
= 0 ;
13686 bool temp2
= false ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 char * kwnames
[] = {
13690 (char *) "self",(char *) "title", NULL
13693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13695 if (!SWIG_IsOK(res1
)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13698 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13700 arg2
= wxString_in_helper(obj1
);
13701 if (arg2
== NULL
) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= SWIG_Py_Void();
13725 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13728 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13729 return SWIG_Py_Void();
13732 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13733 return SWIG_Python_InitShadowInstance(args
);
13736 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
= 0;
13742 bool arg5
= (bool) false ;
13743 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13744 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13745 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13746 wxFont
*result
= 0 ;
13757 bool temp6
= false ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 PyObject
* obj2
= 0 ;
13763 PyObject
* obj3
= 0 ;
13764 PyObject
* obj4
= 0 ;
13765 PyObject
* obj5
= 0 ;
13766 PyObject
* obj6
= 0 ;
13767 char * kwnames
[] = {
13768 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13773 if (!SWIG_IsOK(ecode1
)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13776 arg1
= static_cast< int >(val1
);
13777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13778 if (!SWIG_IsOK(ecode2
)) {
13779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13781 arg2
= static_cast< int >(val2
);
13782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13783 if (!SWIG_IsOK(ecode3
)) {
13784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13786 arg3
= static_cast< int >(val3
);
13787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13788 if (!SWIG_IsOK(ecode4
)) {
13789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13791 arg4
= static_cast< int >(val4
);
13793 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13794 if (!SWIG_IsOK(ecode5
)) {
13795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13797 arg5
= static_cast< bool >(val5
);
13801 arg6
= wxString_in_helper(obj5
);
13802 if (arg6
== NULL
) SWIG_fail
;
13807 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13808 if (!SWIG_IsOK(ecode7
)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13811 arg7
= static_cast< wxFontEncoding
>(val7
);
13814 if (!wxPyCheckForApp()) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13835 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13836 PyObject
*resultobj
= 0;
13837 wxFont
*arg1
= (wxFont
*) 0 ;
13840 PyObject
*swig_obj
[1] ;
13842 if (!args
) SWIG_fail
;
13843 swig_obj
[0] = args
;
13844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13845 if (!SWIG_IsOK(res1
)) {
13846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13848 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13856 resultobj
= SWIG_Py_Void();
13863 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
= 0;
13865 wxNativeFontInfo
*arg1
= 0 ;
13866 wxFont
*result
= 0 ;
13869 PyObject
* obj0
= 0 ;
13870 char * kwnames
[] = {
13871 (char *) "info", NULL
13874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13875 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13876 if (!SWIG_IsOK(res1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13882 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13884 if (!wxPyCheckForApp()) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13897 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
= 0;
13899 wxString
*arg1
= 0 ;
13900 wxFont
*result
= 0 ;
13901 bool temp1
= false ;
13902 PyObject
* obj0
= 0 ;
13903 char * kwnames
[] = {
13904 (char *) "info", NULL
13907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13909 arg1
= wxString_in_helper(obj0
);
13910 if (arg1
== NULL
) SWIG_fail
;
13914 if (!wxPyCheckForApp()) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13935 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
= 0;
13938 wxFontFamily arg2
;
13939 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13940 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13941 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13942 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13943 wxFont
*result
= 0 ;
13950 bool temp4
= false ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 PyObject
* obj2
= 0 ;
13956 PyObject
* obj3
= 0 ;
13957 PyObject
* obj4
= 0 ;
13958 char * kwnames
[] = {
13959 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13963 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13964 if (!SWIG_IsOK(ecode1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13967 arg1
= static_cast< int >(val1
);
13968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13969 if (!SWIG_IsOK(ecode2
)) {
13970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13972 arg2
= static_cast< wxFontFamily
>(val2
);
13974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13975 if (!SWIG_IsOK(ecode3
)) {
13976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13978 arg3
= static_cast< int >(val3
);
13982 arg4
= wxString_in_helper(obj3
);
13983 if (arg4
== NULL
) SWIG_fail
;
13988 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13989 if (!SWIG_IsOK(ecode5
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13992 arg5
= static_cast< wxFontEncoding
>(val5
);
13995 if (!wxPyCheckForApp()) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14016 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
= 0;
14022 bool arg5
= (bool) false ;
14023 wxString
const &arg6_defvalue
= wxEmptyString
;
14024 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14025 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14026 wxFont
*result
= 0 ;
14036 bool temp6
= false ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 PyObject
* obj2
= 0 ;
14042 PyObject
* obj3
= 0 ;
14043 PyObject
* obj4
= 0 ;
14044 PyObject
* obj5
= 0 ;
14045 PyObject
* obj6
= 0 ;
14046 char * kwnames
[] = {
14047 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14053 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14056 if (!SWIG_IsOK(ecode2
)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14059 arg2
= static_cast< int >(val2
);
14060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14061 if (!SWIG_IsOK(ecode3
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14064 arg3
= static_cast< int >(val3
);
14065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14066 if (!SWIG_IsOK(ecode4
)) {
14067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14069 arg4
= static_cast< int >(val4
);
14071 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14072 if (!SWIG_IsOK(ecode5
)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14075 arg5
= static_cast< bool >(val5
);
14079 arg6
= wxString_in_helper(obj5
);
14080 if (arg6
== NULL
) SWIG_fail
;
14085 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14086 if (!SWIG_IsOK(ecode7
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14089 arg7
= static_cast< wxFontEncoding
>(val7
);
14092 if (!wxPyCheckForApp()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14113 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
= 0;
14116 wxFontFamily arg2
;
14117 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14118 wxString
const &arg4_defvalue
= wxEmptyString
;
14119 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14120 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14121 wxFont
*result
= 0 ;
14127 bool temp4
= false ;
14130 PyObject
* obj0
= 0 ;
14131 PyObject
* obj1
= 0 ;
14132 PyObject
* obj2
= 0 ;
14133 PyObject
* obj3
= 0 ;
14134 PyObject
* obj4
= 0 ;
14135 char * kwnames
[] = {
14136 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14142 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14145 if (!SWIG_IsOK(ecode2
)) {
14146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14148 arg2
= static_cast< wxFontFamily
>(val2
);
14150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14151 if (!SWIG_IsOK(ecode3
)) {
14152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14154 arg3
= static_cast< int >(val3
);
14158 arg4
= wxString_in_helper(obj3
);
14159 if (arg4
== NULL
) SWIG_fail
;
14164 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14165 if (!SWIG_IsOK(ecode5
)) {
14166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14168 arg5
= static_cast< wxFontEncoding
>(val5
);
14171 if (!wxPyCheckForApp()) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14192 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14193 PyObject
*resultobj
= 0;
14194 wxFont
*arg1
= (wxFont
*) 0 ;
14198 PyObject
*swig_obj
[1] ;
14200 if (!args
) SWIG_fail
;
14201 swig_obj
[0] = args
;
14202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14203 if (!SWIG_IsOK(res1
)) {
14204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14206 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14222 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
= 0;
14224 wxFont
*arg1
= (wxFont
*) 0 ;
14225 wxFont
*arg2
= (wxFont
*) 0 ;
14231 PyObject
* obj0
= 0 ;
14232 PyObject
* obj1
= 0 ;
14233 char * kwnames
[] = {
14234 (char *) "self",(char *) "other", NULL
14237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14239 if (!SWIG_IsOK(res1
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14242 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14243 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14244 if (!SWIG_IsOK(res2
)) {
14245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14247 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
= 0;
14265 wxFont
*arg1
= (wxFont
*) 0 ;
14266 wxFont
*arg2
= (wxFont
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 char * kwnames
[] = {
14275 (char *) "self",(char *) "other", NULL
14278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14280 if (!SWIG_IsOK(res1
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14283 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14285 if (!SWIG_IsOK(res2
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14288 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14305 PyObject
*resultobj
= 0;
14306 wxFont
*arg1
= (wxFont
*) 0 ;
14310 PyObject
*swig_obj
[1] ;
14312 if (!args
) SWIG_fail
;
14313 swig_obj
[0] = args
;
14314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14315 if (!SWIG_IsOK(res1
)) {
14316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14318 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= SWIG_From_int(static_cast< int >(result
));
14332 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14333 PyObject
*resultobj
= 0;
14334 wxFont
*arg1
= (wxFont
*) 0 ;
14338 PyObject
*swig_obj
[1] ;
14340 if (!args
) SWIG_fail
;
14341 swig_obj
[0] = args
;
14342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14343 if (!SWIG_IsOK(res1
)) {
14344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14346 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14360 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(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_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14374 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14390 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14391 PyObject
*resultobj
= 0;
14392 wxFont
*arg1
= (wxFont
*) 0 ;
14396 PyObject
*swig_obj
[1] ;
14398 if (!args
) SWIG_fail
;
14399 swig_obj
[0] = args
;
14400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14401 if (!SWIG_IsOK(res1
)) {
14402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14404 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_From_int(static_cast< int >(result
));
14418 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14419 PyObject
*resultobj
= 0;
14420 wxFont
*arg1
= (wxFont
*) 0 ;
14424 PyObject
*swig_obj
[1] ;
14426 if (!args
) SWIG_fail
;
14427 swig_obj
[0] = args
;
14428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14429 if (!SWIG_IsOK(res1
)) {
14430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14432 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_From_int(static_cast< int >(result
));
14446 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14447 PyObject
*resultobj
= 0;
14448 wxFont
*arg1
= (wxFont
*) 0 ;
14452 PyObject
*swig_obj
[1] ;
14454 if (!args
) SWIG_fail
;
14455 swig_obj
[0] = args
;
14456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14457 if (!SWIG_IsOK(res1
)) {
14458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14460 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_From_int(static_cast< int >(result
));
14474 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14475 PyObject
*resultobj
= 0;
14476 wxFont
*arg1
= (wxFont
*) 0 ;
14480 PyObject
*swig_obj
[1] ;
14482 if (!args
) SWIG_fail
;
14483 swig_obj
[0] = args
;
14484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14488 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14504 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14505 PyObject
*resultobj
= 0;
14506 wxFont
*arg1
= (wxFont
*) 0 ;
14510 PyObject
*swig_obj
[1] ;
14512 if (!args
) SWIG_fail
;
14513 swig_obj
[0] = args
;
14514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14515 if (!SWIG_IsOK(res1
)) {
14516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14518 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 result
= ((wxFont
const *)arg1
)->GetFaceName();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14538 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14539 PyObject
*resultobj
= 0;
14540 wxFont
*arg1
= (wxFont
*) 0 ;
14541 wxFontEncoding result
;
14544 PyObject
*swig_obj
[1] ;
14546 if (!args
) SWIG_fail
;
14547 swig_obj
[0] = args
;
14548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14552 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_From_int(static_cast< int >(result
));
14566 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14567 PyObject
*resultobj
= 0;
14568 wxFont
*arg1
= (wxFont
*) 0 ;
14569 wxNativeFontInfo
*result
= 0 ;
14572 PyObject
*swig_obj
[1] ;
14574 if (!args
) SWIG_fail
;
14575 swig_obj
[0] = args
;
14576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14580 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14594 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14595 PyObject
*resultobj
= 0;
14596 wxFont
*arg1
= (wxFont
*) 0 ;
14600 PyObject
*swig_obj
[1] ;
14602 if (!args
) SWIG_fail
;
14603 swig_obj
[0] = args
;
14604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14605 if (!SWIG_IsOK(res1
)) {
14606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14608 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14624 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14625 PyObject
*resultobj
= 0;
14626 wxFont
*arg1
= (wxFont
*) 0 ;
14630 PyObject
*swig_obj
[1] ;
14632 if (!args
) SWIG_fail
;
14633 swig_obj
[0] = args
;
14634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14635 if (!SWIG_IsOK(res1
)) {
14636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14638 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14658 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14659 PyObject
*resultobj
= 0;
14660 wxFont
*arg1
= (wxFont
*) 0 ;
14664 PyObject
*swig_obj
[1] ;
14666 if (!args
) SWIG_fail
;
14667 swig_obj
[0] = args
;
14668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14669 if (!SWIG_IsOK(res1
)) {
14670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14672 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14692 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
= 0;
14694 wxFont
*arg1
= (wxFont
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 char * kwnames
[] = {
14703 (char *) "self",(char *) "pointSize", NULL
14706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14708 if (!SWIG_IsOK(res1
)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14711 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14713 if (!SWIG_IsOK(ecode2
)) {
14714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14716 arg2
= static_cast< int >(val2
);
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 (arg1
)->SetPointSize(arg2
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= SWIG_Py_Void();
14730 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
= 0;
14732 wxFont
*arg1
= (wxFont
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 char * kwnames
[] = {
14740 (char *) "self",(char *) "pixelSize", NULL
14743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14745 if (!SWIG_IsOK(res1
)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14748 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= SWIG_Py_Void();
14766 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
= 0;
14768 wxFont
*arg1
= (wxFont
*) 0 ;
14774 PyObject
* obj0
= 0 ;
14775 PyObject
* obj1
= 0 ;
14776 char * kwnames
[] = {
14777 (char *) "self",(char *) "family", NULL
14780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14782 if (!SWIG_IsOK(res1
)) {
14783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14785 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14787 if (!SWIG_IsOK(ecode2
)) {
14788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14790 arg2
= static_cast< int >(val2
);
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->SetFamily(arg2
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_Py_Void();
14804 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
= 0;
14806 wxFont
*arg1
= (wxFont
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char * kwnames
[] = {
14815 (char *) "self",(char *) "style", NULL
14818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14820 if (!SWIG_IsOK(res1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14823 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14825 if (!SWIG_IsOK(ecode2
)) {
14826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14828 arg2
= static_cast< int >(val2
);
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 (arg1
)->SetStyle(arg2
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_Py_Void();
14842 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
= 0;
14844 wxFont
*arg1
= (wxFont
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char * kwnames
[] = {
14853 (char *) "self",(char *) "weight", NULL
14856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14861 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14863 if (!SWIG_IsOK(ecode2
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14866 arg2
= static_cast< int >(val2
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 (arg1
)->SetWeight(arg2
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_Py_Void();
14880 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
= 0;
14882 wxFont
*arg1
= (wxFont
*) 0 ;
14883 wxString
*arg2
= 0 ;
14887 bool temp2
= false ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char * kwnames
[] = {
14891 (char *) "self",(char *) "faceName", NULL
14894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14896 if (!SWIG_IsOK(res1
)) {
14897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14899 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14901 arg2
= wxString_in_helper(obj1
);
14902 if (arg2
== NULL
) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14928 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
= 0;
14930 wxFont
*arg1
= (wxFont
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char * kwnames
[] = {
14939 (char *) "self",(char *) "underlined", NULL
14942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14944 if (!SWIG_IsOK(res1
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14947 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14949 if (!SWIG_IsOK(ecode2
)) {
14950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14952 arg2
= static_cast< bool >(val2
);
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 (arg1
)->SetUnderlined(arg2
);
14956 wxPyEndAllowThreads(__tstate
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14959 resultobj
= SWIG_Py_Void();
14966 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
= 0;
14968 wxFont
*arg1
= (wxFont
*) 0 ;
14969 wxFontEncoding arg2
;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char * kwnames
[] = {
14977 (char *) "self",(char *) "encoding", NULL
14980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14985 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14987 if (!SWIG_IsOK(ecode2
)) {
14988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14990 arg2
= static_cast< wxFontEncoding
>(val2
);
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 (arg1
)->SetEncoding(arg2
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_Py_Void();
15004 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
= 0;
15006 wxFont
*arg1
= (wxFont
*) 0 ;
15007 wxNativeFontInfo
*arg2
= 0 ;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char * kwnames
[] = {
15015 (char *) "self",(char *) "info", NULL
15018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15020 if (!SWIG_IsOK(res1
)) {
15021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15023 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15025 if (!SWIG_IsOK(res2
)) {
15026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15031 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_Py_Void();
15045 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
= 0;
15047 wxFont
*arg1
= (wxFont
*) 0 ;
15048 wxString
*arg2
= 0 ;
15052 bool temp2
= false ;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 char * kwnames
[] = {
15056 (char *) "self",(char *) "info", NULL
15059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15064 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15066 arg2
= wxString_in_helper(obj1
);
15067 if (arg2
== NULL
) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15093 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
= 0;
15095 wxFont
*arg1
= (wxFont
*) 0 ;
15096 wxString
*arg2
= 0 ;
15100 bool temp2
= false ;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char * kwnames
[] = {
15104 (char *) "self",(char *) "info", NULL
15107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15109 if (!SWIG_IsOK(res1
)) {
15110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15112 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15114 arg2
= wxString_in_helper(obj1
);
15115 if (arg2
== NULL
) SWIG_fail
;
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15141 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15142 PyObject
*resultobj
= 0;
15143 wxFont
*arg1
= (wxFont
*) 0 ;
15147 PyObject
*swig_obj
[1] ;
15149 if (!args
) SWIG_fail
;
15150 swig_obj
[0] = args
;
15151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15152 if (!SWIG_IsOK(res1
)) {
15153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15155 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15175 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15176 PyObject
*resultobj
= 0;
15177 wxFont
*arg1
= (wxFont
*) 0 ;
15181 PyObject
*swig_obj
[1] ;
15183 if (!args
) SWIG_fail
;
15184 swig_obj
[0] = args
;
15185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15186 if (!SWIG_IsOK(res1
)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15189 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= ((wxFont
const *)arg1
)->GetStyleString();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15209 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15210 PyObject
*resultobj
= 0;
15211 wxFont
*arg1
= (wxFont
*) 0 ;
15215 PyObject
*swig_obj
[1] ;
15217 if (!args
) SWIG_fail
;
15218 swig_obj
[0] = args
;
15219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15220 if (!SWIG_IsOK(res1
)) {
15221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15223 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= ((wxFont
const *)arg1
)->GetWeightString();
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15243 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
= 0;
15245 wxFont
*arg1
= (wxFont
*) 0 ;
15246 bool arg2
= (bool) true ;
15251 PyObject
* obj0
= 0 ;
15252 PyObject
* obj1
= 0 ;
15253 char * kwnames
[] = {
15254 (char *) "self",(char *) "no", NULL
15257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15259 if (!SWIG_IsOK(res1
)) {
15260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15262 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15264 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15265 if (!SWIG_IsOK(ecode2
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15268 arg2
= static_cast< bool >(val2
);
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 (arg1
)->SetNoAntiAliasing(arg2
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= SWIG_Py_Void();
15283 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15284 PyObject
*resultobj
= 0;
15285 wxFont
*arg1
= (wxFont
*) 0 ;
15289 PyObject
*swig_obj
[1] ;
15291 if (!args
) SWIG_fail
;
15292 swig_obj
[0] = args
;
15293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15294 if (!SWIG_IsOK(res1
)) {
15295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15297 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15300 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15313 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15314 PyObject
*resultobj
= 0;
15315 wxFontEncoding result
;
15317 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15319 if (!wxPyCheckForApp()) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_From_int(static_cast< int >(result
));
15332 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
= 0;
15334 wxFontEncoding arg1
;
15337 PyObject
* obj0
= 0 ;
15338 char * kwnames
[] = {
15339 (char *) "encoding", NULL
15342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15343 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15344 if (!SWIG_IsOK(ecode1
)) {
15345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15347 arg1
= static_cast< wxFontEncoding
>(val1
);
15349 if (!wxPyCheckForApp()) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 wxFont::SetDefaultEncoding(arg1
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= SWIG_Py_Void();
15362 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15365 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15366 return SWIG_Py_Void();
15369 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15370 return SWIG_Python_InitShadowInstance(args
);
15373 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15374 PyObject
*resultobj
= 0;
15375 wxPyFontEnumerator
*result
= 0 ;
15377 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15379 if (!wxPyCheckForApp()) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15392 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15393 PyObject
*resultobj
= 0;
15394 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15397 PyObject
*swig_obj
[1] ;
15399 if (!args
) SWIG_fail
;
15400 swig_obj
[0] = args
;
15401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15402 if (!SWIG_IsOK(res1
)) {
15403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15405 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= SWIG_Py_Void();
15420 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
= 0;
15422 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15423 PyObject
*arg2
= (PyObject
*) 0 ;
15424 PyObject
*arg3
= (PyObject
*) 0 ;
15430 PyObject
* obj0
= 0 ;
15431 PyObject
* obj1
= 0 ;
15432 PyObject
* obj2
= 0 ;
15433 PyObject
* obj3
= 0 ;
15434 char * kwnames
[] = {
15435 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15440 if (!SWIG_IsOK(res1
)) {
15441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15443 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15446 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15447 if (!SWIG_IsOK(ecode4
)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15450 arg4
= static_cast< bool >(val4
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_Py_Void();
15464 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
= 0;
15466 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15467 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15468 bool arg3
= (bool) false ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 PyObject
* obj2
= 0 ;
15479 char * kwnames
[] = {
15480 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15485 if (!SWIG_IsOK(res1
)) {
15486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15488 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15491 if (!SWIG_IsOK(ecode2
)) {
15492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15494 arg2
= static_cast< wxFontEncoding
>(val2
);
15497 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15498 if (!SWIG_IsOK(ecode3
)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15501 arg3
= static_cast< bool >(val3
);
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15518 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
= 0;
15520 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15521 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15522 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15526 bool temp2
= false ;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 char * kwnames
[] = {
15530 (char *) "self",(char *) "facename", NULL
15533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15535 if (!SWIG_IsOK(res1
)) {
15536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15538 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15541 arg2
= wxString_in_helper(obj1
);
15542 if (arg2
== NULL
) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15569 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15570 PyObject
*resultobj
= 0;
15571 PyObject
*result
= 0 ;
15573 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= result
;
15587 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15588 PyObject
*resultobj
= 0;
15589 PyObject
*result
= 0 ;
15591 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= result
;
15605 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
= 0;
15607 wxString
*arg1
= 0 ;
15609 bool temp1
= false ;
15610 PyObject
* obj0
= 0 ;
15611 char * kwnames
[] = {
15612 (char *) "str", NULL
15615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15617 arg1
= wxString_in_helper(obj0
);
15618 if (arg1
== NULL
) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15644 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15647 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15648 return SWIG_Py_Void();
15651 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15652 return SWIG_Python_InitShadowInstance(args
);
15655 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15656 PyObject
*resultobj
= 0;
15657 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15663 PyObject
*swig_obj
[2] ;
15665 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15667 if (!SWIG_IsOK(res1
)) {
15668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15670 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15671 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15672 if (!SWIG_IsOK(ecode2
)) {
15673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15675 arg2
= static_cast< int >(val2
);
15676 if (arg1
) (arg1
)->Language
= arg2
;
15678 resultobj
= SWIG_Py_Void();
15685 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15686 PyObject
*resultobj
= 0;
15687 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15691 PyObject
*swig_obj
[1] ;
15693 if (!args
) SWIG_fail
;
15694 swig_obj
[0] = args
;
15695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15696 if (!SWIG_IsOK(res1
)) {
15697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15699 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15700 result
= (int) ((arg1
)->Language
);
15701 resultobj
= SWIG_From_int(static_cast< int >(result
));
15708 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15709 PyObject
*resultobj
= 0;
15710 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15711 wxString
*arg2
= (wxString
*) 0 ;
15714 bool temp2
= false ;
15715 PyObject
*swig_obj
[2] ;
15717 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15722 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15724 arg2
= wxString_in_helper(swig_obj
[1]);
15725 if (arg2
== NULL
) SWIG_fail
;
15728 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15730 resultobj
= SWIG_Py_Void();
15745 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15746 PyObject
*resultobj
= 0;
15747 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15748 wxString
*result
= 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_wxLanguageInfo
, 0 | 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15759 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15760 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15763 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15765 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15774 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15775 PyObject
*resultobj
= 0;
15776 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15777 wxString
*arg2
= (wxString
*) 0 ;
15780 bool temp2
= false ;
15781 PyObject
*swig_obj
[2] ;
15783 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15785 if (!SWIG_IsOK(res1
)) {
15786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15788 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15790 arg2
= wxString_in_helper(swig_obj
[1]);
15791 if (arg2
== NULL
) SWIG_fail
;
15794 if (arg1
) (arg1
)->Description
= *arg2
;
15796 resultobj
= SWIG_Py_Void();
15811 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15812 PyObject
*resultobj
= 0;
15813 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15814 wxString
*result
= 0 ;
15817 PyObject
*swig_obj
[1] ;
15819 if (!args
) SWIG_fail
;
15820 swig_obj
[0] = args
;
15821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15825 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15826 result
= (wxString
*)& ((arg1
)->Description
);
15829 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15831 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15840 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15843 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15844 return SWIG_Py_Void();
15847 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
= 0;
15849 int arg1
= (int) -1 ;
15850 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15851 wxLocale
*result
= 0 ;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 char * kwnames
[] = {
15859 (char *) "language",(char *) "flags", NULL
15862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15864 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15865 if (!SWIG_IsOK(ecode1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15868 arg1
= static_cast< int >(val1
);
15871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15872 if (!SWIG_IsOK(ecode2
)) {
15873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15875 arg2
= static_cast< int >(val2
);
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15890 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15891 PyObject
*resultobj
= 0;
15892 wxLocale
*arg1
= (wxLocale
*) 0 ;
15895 PyObject
*swig_obj
[1] ;
15897 if (!args
) SWIG_fail
;
15898 swig_obj
[0] = args
;
15899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15900 if (!SWIG_IsOK(res1
)) {
15901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15903 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_Py_Void();
15918 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
= 0;
15920 wxLocale
*arg1
= (wxLocale
*) 0 ;
15921 wxString
*arg2
= 0 ;
15922 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15923 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15924 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15925 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15926 bool arg5
= (bool) true ;
15927 bool arg6
= (bool) false ;
15931 bool temp2
= false ;
15932 bool temp3
= false ;
15933 bool temp4
= false ;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 PyObject
* obj2
= 0 ;
15941 PyObject
* obj3
= 0 ;
15942 PyObject
* obj4
= 0 ;
15943 PyObject
* obj5
= 0 ;
15944 char * kwnames
[] = {
15945 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15950 if (!SWIG_IsOK(res1
)) {
15951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15953 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15955 arg2
= wxString_in_helper(obj1
);
15956 if (arg2
== NULL
) SWIG_fail
;
15961 arg3
= wxString_in_helper(obj2
);
15962 if (arg3
== NULL
) SWIG_fail
;
15968 arg4
= wxString_in_helper(obj3
);
15969 if (arg4
== NULL
) SWIG_fail
;
15974 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15975 if (!SWIG_IsOK(ecode5
)) {
15976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15978 arg5
= static_cast< bool >(val5
);
15981 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15982 if (!SWIG_IsOK(ecode6
)) {
15983 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15985 arg6
= static_cast< bool >(val6
);
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16026 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
= 0;
16028 wxLocale
*arg1
= (wxLocale
*) 0 ;
16029 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16030 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16038 PyObject
* obj0
= 0 ;
16039 PyObject
* obj1
= 0 ;
16040 PyObject
* obj2
= 0 ;
16041 char * kwnames
[] = {
16042 (char *) "self",(char *) "language",(char *) "flags", NULL
16045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16047 if (!SWIG_IsOK(res1
)) {
16048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16050 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16053 if (!SWIG_IsOK(ecode2
)) {
16054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16056 arg2
= static_cast< int >(val2
);
16059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16060 if (!SWIG_IsOK(ecode3
)) {
16061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16063 arg3
= static_cast< int >(val3
);
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16080 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16081 PyObject
*resultobj
= 0;
16084 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (int)wxLocale::GetSystemLanguage();
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_From_int(static_cast< int >(result
));
16098 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16099 PyObject
*resultobj
= 0;
16100 wxFontEncoding result
;
16102 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_From_int(static_cast< int >(result
));
16116 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16117 PyObject
*resultobj
= 0;
16120 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 result
= wxLocale::GetSystemEncodingName();
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16140 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16141 PyObject
*resultobj
= 0;
16142 wxLocale
*arg1
= (wxLocale
*) 0 ;
16146 PyObject
*swig_obj
[1] ;
16148 if (!args
) SWIG_fail
;
16149 swig_obj
[0] = args
;
16150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16151 if (!SWIG_IsOK(res1
)) {
16152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16154 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16170 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16171 PyObject
*resultobj
= 0;
16172 wxLocale
*arg1
= (wxLocale
*) 0 ;
16176 PyObject
*swig_obj
[1] ;
16178 if (!args
) SWIG_fail
;
16179 swig_obj
[0] = args
;
16180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16181 if (!SWIG_IsOK(res1
)) {
16182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16184 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= ((wxLocale
const *)arg1
)->GetLocale();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16204 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16205 PyObject
*resultobj
= 0;
16206 wxLocale
*arg1
= (wxLocale
*) 0 ;
16210 PyObject
*swig_obj
[1] ;
16212 if (!args
) SWIG_fail
;
16213 swig_obj
[0] = args
;
16214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16215 if (!SWIG_IsOK(res1
)) {
16216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16218 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= SWIG_From_int(static_cast< int >(result
));
16232 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16233 PyObject
*resultobj
= 0;
16234 wxLocale
*arg1
= (wxLocale
*) 0 ;
16238 PyObject
*swig_obj
[1] ;
16240 if (!args
) SWIG_fail
;
16241 swig_obj
[0] = args
;
16242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16246 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= ((wxLocale
const *)arg1
)->GetSysName();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16266 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16267 PyObject
*resultobj
= 0;
16268 wxLocale
*arg1
= (wxLocale
*) 0 ;
16272 PyObject
*swig_obj
[1] ;
16274 if (!args
) SWIG_fail
;
16275 swig_obj
[0] = args
;
16276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16277 if (!SWIG_IsOK(res1
)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16280 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16300 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
= 0;
16302 wxString
*arg1
= 0 ;
16303 bool temp1
= false ;
16304 PyObject
* obj0
= 0 ;
16305 char * kwnames
[] = {
16306 (char *) "prefix", NULL
16309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16311 arg1
= wxString_in_helper(obj0
);
16312 if (arg1
== NULL
) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_Py_Void();
16336 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
= 0;
16338 wxLocale
*arg1
= (wxLocale
*) 0 ;
16339 wxString
*arg2
= 0 ;
16343 bool temp2
= false ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 char * kwnames
[] = {
16347 (char *) "self",(char *) "szDomain", NULL
16350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16352 if (!SWIG_IsOK(res1
)) {
16353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16355 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16357 arg2
= wxString_in_helper(obj1
);
16358 if (arg2
== NULL
) SWIG_fail
;
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16384 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
= 0;
16390 PyObject
* obj0
= 0 ;
16391 char * kwnames
[] = {
16392 (char *) "lang", NULL
16395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16397 if (!SWIG_IsOK(ecode1
)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16400 arg1
= static_cast< int >(val1
);
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (bool)wxLocale::IsAvailable(arg1
);
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16416 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
= 0;
16418 wxLocale
*arg1
= (wxLocale
*) 0 ;
16419 wxString
*arg2
= 0 ;
16423 bool temp2
= false ;
16424 PyObject
* obj0
= 0 ;
16425 PyObject
* obj1
= 0 ;
16426 char * kwnames
[] = {
16427 (char *) "self",(char *) "szDomain", NULL
16430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16432 if (!SWIG_IsOK(res1
)) {
16433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16435 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16437 arg2
= wxString_in_helper(obj1
);
16438 if (arg2
== NULL
) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16464 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
= 0;
16467 wxLanguageInfo
*result
= 0 ;
16470 PyObject
* obj0
= 0 ;
16471 char * kwnames
[] = {
16472 (char *) "lang", NULL
16475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16477 if (!SWIG_IsOK(ecode1
)) {
16478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16480 arg1
= static_cast< int >(val1
);
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16494 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
= 0;
16500 PyObject
* obj0
= 0 ;
16501 char * kwnames
[] = {
16502 (char *) "lang", NULL
16505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16506 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16507 if (!SWIG_IsOK(ecode1
)) {
16508 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16510 arg1
= static_cast< int >(val1
);
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= wxLocale::GetLanguageName(arg1
);
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16530 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
= 0;
16532 wxString
*arg1
= 0 ;
16533 wxLanguageInfo
*result
= 0 ;
16534 bool temp1
= false ;
16535 PyObject
* obj0
= 0 ;
16536 char * kwnames
[] = {
16537 (char *) "locale", NULL
16540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16542 arg1
= wxString_in_helper(obj0
);
16543 if (arg1
== NULL
) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16567 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
= 0;
16569 wxLanguageInfo
*arg1
= 0 ;
16572 PyObject
* obj0
= 0 ;
16573 char * kwnames
[] = {
16574 (char *) "info", NULL
16577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16578 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16579 if (!SWIG_IsOK(res1
)) {
16580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16585 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= SWIG_Py_Void();
16599 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
= 0;
16601 wxLocale
*arg1
= (wxLocale
*) 0 ;
16602 wxString
*arg2
= 0 ;
16603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16608 bool temp2
= false ;
16609 bool temp3
= false ;
16610 PyObject
* obj0
= 0 ;
16611 PyObject
* obj1
= 0 ;
16612 PyObject
* obj2
= 0 ;
16613 char * kwnames
[] = {
16614 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16619 if (!SWIG_IsOK(res1
)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16622 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16624 arg2
= wxString_in_helper(obj1
);
16625 if (arg2
== NULL
) SWIG_fail
;
16630 arg3
= wxString_in_helper(obj2
);
16631 if (arg3
== NULL
) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16670 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16671 PyObject
*resultobj
= 0;
16672 wxLocale
*arg1
= (wxLocale
*) 0 ;
16673 wxString
*result
= 0 ;
16676 PyObject
*swig_obj
[1] ;
16678 if (!args
) SWIG_fail
;
16679 swig_obj
[0] = args
;
16680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16681 if (!SWIG_IsOK(res1
)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16684 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16689 result
= (wxString
*) &_result_ref
;
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16698 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16707 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16710 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16711 return SWIG_Py_Void();
16714 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16715 return SWIG_Python_InitShadowInstance(args
);
16718 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
= 0;
16720 int arg1
= (int) -1 ;
16721 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16722 wxPyLocale
*result
= 0 ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 char * kwnames
[] = {
16730 (char *) "language",(char *) "flags", NULL
16733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16736 if (!SWIG_IsOK(ecode1
)) {
16737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16739 arg1
= static_cast< int >(val1
);
16742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16743 if (!SWIG_IsOK(ecode2
)) {
16744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16746 arg2
= static_cast< int >(val2
);
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16761 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16762 PyObject
*resultobj
= 0;
16763 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16766 PyObject
*swig_obj
[1] ;
16768 if (!args
) SWIG_fail
;
16769 swig_obj
[0] = args
;
16770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16771 if (!SWIG_IsOK(res1
)) {
16772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16774 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_Py_Void();
16789 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
= 0;
16791 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16792 PyObject
*arg2
= (PyObject
*) 0 ;
16793 PyObject
*arg3
= (PyObject
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 PyObject
* obj2
= 0 ;
16799 char * kwnames
[] = {
16800 (char *) "self",(char *) "self",(char *) "_class", NULL
16803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16805 if (!SWIG_IsOK(res1
)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16808 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= SWIG_Py_Void();
16824 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
= 0;
16826 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16827 wxChar
*arg2
= (wxChar
*) 0 ;
16828 wxChar
*arg3
= (wxChar
*) NULL
;
16829 wxChar
*result
= 0 ;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 PyObject
* obj2
= 0 ;
16839 char * kwnames
[] = {
16840 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16845 if (!SWIG_IsOK(res1
)) {
16846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16848 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16850 if (!SWIG_IsOK(res2
)) {
16851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16853 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16855 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16856 if (!SWIG_IsOK(res3
)) {
16857 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16859 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16874 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
= 0;
16876 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16877 wxChar
*arg2
= (wxChar
*) 0 ;
16878 wxChar
*arg3
= (wxChar
*) 0 ;
16880 wxChar
*arg5
= (wxChar
*) NULL
;
16881 wxChar
*result
= 0 ;
16892 PyObject
* obj0
= 0 ;
16893 PyObject
* obj1
= 0 ;
16894 PyObject
* obj2
= 0 ;
16895 PyObject
* obj3
= 0 ;
16896 PyObject
* obj4
= 0 ;
16897 char * kwnames
[] = {
16898 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16903 if (!SWIG_IsOK(res1
)) {
16904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16906 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16908 if (!SWIG_IsOK(res2
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16911 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16912 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16913 if (!SWIG_IsOK(res3
)) {
16914 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16916 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16917 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16918 if (!SWIG_IsOK(ecode4
)) {
16919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16921 arg4
= static_cast< size_t >(val4
);
16923 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16924 if (!SWIG_IsOK(res5
)) {
16925 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16927 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16942 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16945 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16946 return SWIG_Py_Void();
16949 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16950 return SWIG_Python_InitShadowInstance(args
);
16953 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16954 PyObject
*resultobj
= 0;
16955 wxLocale
*result
= 0 ;
16957 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (wxLocale
*)wxGetLocale();
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16971 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16972 PyObject
*resultobj
= 0;
16973 wxString
*arg1
= 0 ;
16975 bool temp1
= false ;
16977 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16979 arg1
= wxString_in_helper(swig_obj
[0]);
16980 if (arg1
== NULL
) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= wxGetTranslation((wxString
const &)*arg1
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17010 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17011 PyObject
*resultobj
= 0;
17012 wxString
*arg1
= 0 ;
17013 wxString
*arg2
= 0 ;
17015 bool temp1
= false ;
17016 bool temp2
= false ;
17018 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17020 arg1
= wxString_in_helper(swig_obj
[0]);
17021 if (arg1
== NULL
) SWIG_fail
;
17025 arg2
= wxString_in_helper(swig_obj
[1]);
17026 if (arg2
== NULL
) SWIG_fail
;
17030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17031 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17064 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17065 PyObject
*resultobj
= 0;
17066 wxString
*arg1
= 0 ;
17067 wxString
*arg2
= 0 ;
17070 bool temp1
= false ;
17071 bool temp2
= false ;
17075 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17077 arg1
= wxString_in_helper(swig_obj
[0]);
17078 if (arg1
== NULL
) SWIG_fail
;
17082 arg2
= wxString_in_helper(swig_obj
[1]);
17083 if (arg2
== NULL
) SWIG_fail
;
17086 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17087 if (!SWIG_IsOK(ecode3
)) {
17088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17090 arg3
= static_cast< size_t >(val3
);
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17126 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17127 PyObject
*resultobj
= 0;
17128 wxString
*arg1
= 0 ;
17129 wxString
*arg2
= 0 ;
17131 wxString
*arg4
= 0 ;
17133 bool temp1
= false ;
17134 bool temp2
= false ;
17137 bool temp4
= false ;
17139 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17141 arg1
= wxString_in_helper(swig_obj
[0]);
17142 if (arg1
== NULL
) SWIG_fail
;
17146 arg2
= wxString_in_helper(swig_obj
[1]);
17147 if (arg2
== NULL
) SWIG_fail
;
17150 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17151 if (!SWIG_IsOK(ecode3
)) {
17152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17154 arg3
= static_cast< size_t >(val3
);
17156 arg4
= wxString_in_helper(swig_obj
[3]);
17157 if (arg4
== NULL
) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17203 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17207 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17210 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17213 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17216 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17219 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17223 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17228 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17229 PyObject
*resultobj
= 0;
17230 wxEncodingConverter
*result
= 0 ;
17232 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17246 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17247 PyObject
*resultobj
= 0;
17248 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17251 PyObject
*swig_obj
[1] ;
17253 if (!args
) SWIG_fail
;
17254 swig_obj
[0] = args
;
17255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17256 if (!SWIG_IsOK(res1
)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17259 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_Py_Void();
17274 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
= 0;
17276 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17277 wxFontEncoding arg2
;
17278 wxFontEncoding arg3
;
17279 int arg4
= (int) wxCONVERT_STRICT
;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 PyObject
* obj2
= 0 ;
17292 PyObject
* obj3
= 0 ;
17293 char * kwnames
[] = {
17294 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17299 if (!SWIG_IsOK(res1
)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17302 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17304 if (!SWIG_IsOK(ecode2
)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17307 arg2
= static_cast< wxFontEncoding
>(val2
);
17308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17309 if (!SWIG_IsOK(ecode3
)) {
17310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17312 arg3
= static_cast< wxFontEncoding
>(val3
);
17314 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17315 if (!SWIG_IsOK(ecode4
)) {
17316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17318 arg4
= static_cast< int >(val4
);
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17335 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
= 0;
17337 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17338 wxString
*arg2
= 0 ;
17342 bool temp2
= false ;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 char * kwnames
[] = {
17346 (char *) "self",(char *) "input", NULL
17349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17351 if (!SWIG_IsOK(res1
)) {
17352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17354 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17356 arg2
= wxString_in_helper(obj1
);
17357 if (arg2
== NULL
) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17387 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
= 0;
17389 wxFontEncoding arg1
;
17390 int arg2
= (int) wxPLATFORM_CURRENT
;
17391 wxFontEncodingArray result
;
17396 PyObject
* obj0
= 0 ;
17397 PyObject
* obj1
= 0 ;
17398 char * kwnames
[] = {
17399 (char *) "enc",(char *) "platform", NULL
17402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17404 if (!SWIG_IsOK(ecode1
)) {
17405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17407 arg1
= static_cast< wxFontEncoding
>(val1
);
17409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17410 if (!SWIG_IsOK(ecode2
)) {
17411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17413 arg2
= static_cast< int >(val2
);
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17422 resultobj
= PyList_New(0);
17423 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17424 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17425 PyList_Append(resultobj
, number
);
17435 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
= 0;
17437 wxFontEncoding arg1
;
17438 wxFontEncodingArray result
;
17441 PyObject
* obj0
= 0 ;
17442 char * kwnames
[] = {
17443 (char *) "enc", NULL
17446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17447 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17448 if (!SWIG_IsOK(ecode1
)) {
17449 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17451 arg1
= static_cast< wxFontEncoding
>(val1
);
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= PyList_New(0);
17460 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17461 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17462 PyList_Append(resultobj
, number
);
17472 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17473 PyObject
*resultobj
= 0;
17474 wxFontEncoding arg1
;
17475 wxFontEncoding arg2
;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 char * kwnames
[] = {
17484 (char *) "encIn",(char *) "encOut", NULL
17487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17489 if (!SWIG_IsOK(ecode1
)) {
17490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17492 arg1
= static_cast< wxFontEncoding
>(val1
);
17493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17494 if (!SWIG_IsOK(ecode2
)) {
17495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17497 arg2
= static_cast< wxFontEncoding
>(val2
);
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17513 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17516 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17517 return SWIG_Py_Void();
17520 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17521 return SWIG_Python_InitShadowInstance(args
);
17524 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17525 PyObject
*resultobj
= 0;
17526 wxDC
*arg1
= (wxDC
*) 0 ;
17529 PyObject
*swig_obj
[1] ;
17531 if (!args
) SWIG_fail
;
17532 swig_obj
[0] = args
;
17533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17534 if (!SWIG_IsOK(res1
)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= SWIG_Py_Void();
17552 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
= 0;
17554 wxDC
*arg1
= (wxDC
*) 0 ;
17557 wxColour
*arg4
= 0 ;
17558 int arg5
= (int) wxFLOOD_SURFACE
;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 PyObject
* obj2
= 0 ;
17572 PyObject
* obj3
= 0 ;
17573 PyObject
* obj4
= 0 ;
17574 char * kwnames
[] = {
17575 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17580 if (!SWIG_IsOK(res1
)) {
17581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17585 if (!SWIG_IsOK(ecode2
)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17588 arg2
= static_cast< int >(val2
);
17589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17590 if (!SWIG_IsOK(ecode3
)) {
17591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17593 arg3
= static_cast< int >(val3
);
17596 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17599 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17600 if (!SWIG_IsOK(ecode5
)) {
17601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17603 arg5
= static_cast< int >(val5
);
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17620 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
= 0;
17622 wxDC
*arg1
= (wxDC
*) 0 ;
17623 wxPoint
*arg2
= 0 ;
17624 wxColour
*arg3
= 0 ;
17625 int arg4
= (int) wxFLOOD_SURFACE
;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 PyObject
* obj2
= 0 ;
17636 PyObject
* obj3
= 0 ;
17637 char * kwnames
[] = {
17638 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17643 if (!SWIG_IsOK(res1
)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17653 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17656 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17657 if (!SWIG_IsOK(ecode4
)) {
17658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17660 arg4
= static_cast< int >(val4
);
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17677 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
= 0;
17679 wxDC
*arg1
= (wxDC
*) 0 ;
17681 wxColour
*arg3
= 0 ;
17682 wxColour
*arg4
= 0 ;
17683 wxPoint
*arg5
= 0 ;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 PyObject
* obj2
= 0 ;
17693 PyObject
* obj3
= 0 ;
17694 PyObject
* obj4
= 0 ;
17695 char * kwnames
[] = {
17696 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17701 if (!SWIG_IsOK(res1
)) {
17702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17707 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17711 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17715 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17719 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= SWIG_Py_Void();
17734 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
= 0;
17736 wxDC
*arg1
= (wxDC
*) 0 ;
17738 wxColour
*arg3
= 0 ;
17739 wxColour
*arg4
= 0 ;
17740 wxDirection arg5
= (wxDirection
) wxEAST
;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 PyObject
* obj2
= 0 ;
17751 PyObject
* obj3
= 0 ;
17752 PyObject
* obj4
= 0 ;
17753 char * kwnames
[] = {
17754 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17759 if (!SWIG_IsOK(res1
)) {
17760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17765 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17769 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17773 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17776 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17777 if (!SWIG_IsOK(ecode5
)) {
17778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17780 arg5
= static_cast< wxDirection
>(val5
);
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= SWIG_Py_Void();
17795 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
= 0;
17797 wxDC
*arg1
= (wxDC
*) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 PyObject
* obj2
= 0 ;
17810 char * kwnames
[] = {
17811 (char *) "self",(char *) "x",(char *) "y", NULL
17814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17816 if (!SWIG_IsOK(res1
)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17821 if (!SWIG_IsOK(ecode2
)) {
17822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17824 arg2
= static_cast< int >(val2
);
17825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17826 if (!SWIG_IsOK(ecode3
)) {
17827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17829 arg3
= static_cast< int >(val3
);
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17843 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17844 PyObject
*resultobj
= 0;
17845 wxDC
*arg1
= (wxDC
*) 0 ;
17846 wxPoint
*arg2
= 0 ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char * kwnames
[] = {
17854 (char *) "self",(char *) "pt", NULL
17857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17859 if (!SWIG_IsOK(res1
)) {
17860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17880 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
= 0;
17882 wxDC
*arg1
= (wxDC
*) 0 ;
17897 PyObject
* obj0
= 0 ;
17898 PyObject
* obj1
= 0 ;
17899 PyObject
* obj2
= 0 ;
17900 PyObject
* obj3
= 0 ;
17901 PyObject
* obj4
= 0 ;
17902 char * kwnames
[] = {
17903 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17908 if (!SWIG_IsOK(res1
)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17913 if (!SWIG_IsOK(ecode2
)) {
17914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17916 arg2
= static_cast< int >(val2
);
17917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17918 if (!SWIG_IsOK(ecode3
)) {
17919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17921 arg3
= static_cast< int >(val3
);
17922 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17923 if (!SWIG_IsOK(ecode4
)) {
17924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17926 arg4
= static_cast< int >(val4
);
17927 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17928 if (!SWIG_IsOK(ecode5
)) {
17929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17931 arg5
= static_cast< int >(val5
);
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= SWIG_Py_Void();
17945 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
= 0;
17947 wxDC
*arg1
= (wxDC
*) 0 ;
17948 wxPoint
*arg2
= 0 ;
17949 wxPoint
*arg3
= 0 ;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 PyObject
* obj2
= 0 ;
17957 char * kwnames
[] = {
17958 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_Py_Void();
17988 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
= 0;
17990 wxDC
*arg1
= (wxDC
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 PyObject
* obj2
= 0 ;
18002 char * kwnames
[] = {
18003 (char *) "self",(char *) "x",(char *) "y", NULL
18006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18008 if (!SWIG_IsOK(res1
)) {
18009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18013 if (!SWIG_IsOK(ecode2
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18016 arg2
= static_cast< int >(val2
);
18017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18018 if (!SWIG_IsOK(ecode3
)) {
18019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18021 arg3
= static_cast< int >(val3
);
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->CrossHair(arg2
,arg3
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_Py_Void();
18035 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
= 0;
18037 wxDC
*arg1
= (wxDC
*) 0 ;
18038 wxPoint
*arg2
= 0 ;
18042 PyObject
* obj0
= 0 ;
18043 PyObject
* obj1
= 0 ;
18044 char * kwnames
[] = {
18045 (char *) "self",(char *) "pt", NULL
18048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18050 if (!SWIG_IsOK(res1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_Py_Void();
18071 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
= 0;
18073 wxDC
*arg1
= (wxDC
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 PyObject
* obj2
= 0 ;
18097 PyObject
* obj3
= 0 ;
18098 PyObject
* obj4
= 0 ;
18099 PyObject
* obj5
= 0 ;
18100 PyObject
* obj6
= 0 ;
18101 char * kwnames
[] = {
18102 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18107 if (!SWIG_IsOK(res1
)) {
18108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18112 if (!SWIG_IsOK(ecode2
)) {
18113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18115 arg2
= static_cast< int >(val2
);
18116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18117 if (!SWIG_IsOK(ecode3
)) {
18118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18120 arg3
= static_cast< int >(val3
);
18121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18122 if (!SWIG_IsOK(ecode4
)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18125 arg4
= static_cast< int >(val4
);
18126 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18127 if (!SWIG_IsOK(ecode5
)) {
18128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18130 arg5
= static_cast< int >(val5
);
18131 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18132 if (!SWIG_IsOK(ecode6
)) {
18133 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18135 arg6
= static_cast< int >(val6
);
18136 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18137 if (!SWIG_IsOK(ecode7
)) {
18138 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18140 arg7
= static_cast< int >(val7
);
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= SWIG_Py_Void();
18154 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
= 0;
18156 wxDC
*arg1
= (wxDC
*) 0 ;
18157 wxPoint
*arg2
= 0 ;
18158 wxPoint
*arg3
= 0 ;
18159 wxPoint
*arg4
= 0 ;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18167 PyObject
* obj2
= 0 ;
18168 PyObject
* obj3
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_Py_Void();
18204 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
= 0;
18206 wxDC
*arg1
= (wxDC
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 PyObject
* obj2
= 0 ;
18224 PyObject
* obj3
= 0 ;
18225 PyObject
* obj4
= 0 ;
18226 char * kwnames
[] = {
18227 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18232 if (!SWIG_IsOK(res1
)) {
18233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18237 if (!SWIG_IsOK(ecode2
)) {
18238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18240 arg2
= static_cast< int >(val2
);
18241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18242 if (!SWIG_IsOK(ecode3
)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18245 arg3
= static_cast< int >(val3
);
18246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18247 if (!SWIG_IsOK(ecode4
)) {
18248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18250 arg4
= static_cast< int >(val4
);
18251 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18252 if (!SWIG_IsOK(ecode5
)) {
18253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18255 arg5
= static_cast< int >(val5
);
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_Py_Void();
18269 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
= 0;
18271 wxDC
*arg1
= (wxDC
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 PyObject
* obj1
= 0 ;
18278 char * kwnames
[] = {
18279 (char *) "self",(char *) "rect", NULL
18282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18284 if (!SWIG_IsOK(res1
)) {
18285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18290 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= SWIG_Py_Void();
18305 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
= 0;
18307 wxDC
*arg1
= (wxDC
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 PyObject
* obj2
= 0 ;
18331 PyObject
* obj3
= 0 ;
18332 PyObject
* obj4
= 0 ;
18333 PyObject
* obj5
= 0 ;
18334 PyObject
* obj6
= 0 ;
18335 char * kwnames
[] = {
18336 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18341 if (!SWIG_IsOK(res1
)) {
18342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18346 if (!SWIG_IsOK(ecode2
)) {
18347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18349 arg2
= static_cast< int >(val2
);
18350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18351 if (!SWIG_IsOK(ecode3
)) {
18352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18354 arg3
= static_cast< int >(val3
);
18355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18356 if (!SWIG_IsOK(ecode4
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18359 arg4
= static_cast< int >(val4
);
18360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18361 if (!SWIG_IsOK(ecode5
)) {
18362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18364 arg5
= static_cast< int >(val5
);
18365 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18366 if (!SWIG_IsOK(ecode6
)) {
18367 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18369 arg6
= static_cast< double >(val6
);
18370 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18371 if (!SWIG_IsOK(ecode7
)) {
18372 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18374 arg7
= static_cast< double >(val7
);
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_Py_Void();
18388 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
= 0;
18390 wxDC
*arg1
= (wxDC
*) 0 ;
18391 wxPoint
*arg2
= 0 ;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 PyObject
* obj2
= 0 ;
18406 PyObject
* obj3
= 0 ;
18407 PyObject
* obj4
= 0 ;
18408 char * kwnames
[] = {
18409 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18424 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18426 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18427 if (!SWIG_IsOK(ecode4
)) {
18428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18430 arg4
= static_cast< double >(val4
);
18431 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18432 if (!SWIG_IsOK(ecode5
)) {
18433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18435 arg5
= static_cast< double >(val5
);
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 resultobj
= SWIG_Py_Void();
18449 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
= 0;
18451 wxDC
*arg1
= (wxDC
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 PyObject
* obj1
= 0 ;
18462 PyObject
* obj2
= 0 ;
18463 char * kwnames
[] = {
18464 (char *) "self",(char *) "x",(char *) "y", NULL
18467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18469 if (!SWIG_IsOK(res1
)) {
18470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18474 if (!SWIG_IsOK(ecode2
)) {
18475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18477 arg2
= static_cast< int >(val2
);
18478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18479 if (!SWIG_IsOK(ecode3
)) {
18480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18482 arg3
= static_cast< int >(val3
);
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 (arg1
)->DrawPoint(arg2
,arg3
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= SWIG_Py_Void();
18496 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
= 0;
18498 wxDC
*arg1
= (wxDC
*) 0 ;
18499 wxPoint
*arg2
= 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 char * kwnames
[] = {
18506 (char *) "self",(char *) "pt", NULL
18509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18511 if (!SWIG_IsOK(res1
)) {
18512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18522 wxPyEndAllowThreads(__tstate
);
18523 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= SWIG_Py_Void();
18532 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
= 0;
18534 wxDC
*arg1
= (wxDC
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 PyObject
* obj1
= 0 ;
18551 PyObject
* obj2
= 0 ;
18552 PyObject
* obj3
= 0 ;
18553 PyObject
* obj4
= 0 ;
18554 char * kwnames
[] = {
18555 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18560 if (!SWIG_IsOK(res1
)) {
18561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18565 if (!SWIG_IsOK(ecode2
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18568 arg2
= static_cast< int >(val2
);
18569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18570 if (!SWIG_IsOK(ecode3
)) {
18571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18573 arg3
= static_cast< int >(val3
);
18574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18575 if (!SWIG_IsOK(ecode4
)) {
18576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18578 arg4
= static_cast< int >(val4
);
18579 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18580 if (!SWIG_IsOK(ecode5
)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18583 arg5
= static_cast< int >(val5
);
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_Py_Void();
18597 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
= 0;
18599 wxDC
*arg1
= (wxDC
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 PyObject
* obj1
= 0 ;
18606 char * kwnames
[] = {
18607 (char *) "self",(char *) "rect", NULL
18610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18612 if (!SWIG_IsOK(res1
)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18618 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18626 resultobj
= SWIG_Py_Void();
18633 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
= 0;
18635 wxDC
*arg1
= (wxDC
*) 0 ;
18636 wxPoint
*arg2
= 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 PyObject
* obj2
= 0 ;
18645 char * kwnames
[] = {
18646 (char *) "self",(char *) "pt",(char *) "sz", NULL
18649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18651 if (!SWIG_IsOK(res1
)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18661 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_Py_Void();
18676 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
= 0;
18678 wxDC
*arg1
= (wxDC
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 PyObject
* obj1
= 0 ;
18698 PyObject
* obj2
= 0 ;
18699 PyObject
* obj3
= 0 ;
18700 PyObject
* obj4
= 0 ;
18701 PyObject
* obj5
= 0 ;
18702 char * kwnames
[] = {
18703 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18708 if (!SWIG_IsOK(res1
)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18713 if (!SWIG_IsOK(ecode2
)) {
18714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18716 arg2
= static_cast< int >(val2
);
18717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18718 if (!SWIG_IsOK(ecode3
)) {
18719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18721 arg3
= static_cast< int >(val3
);
18722 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18723 if (!SWIG_IsOK(ecode4
)) {
18724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18726 arg4
= static_cast< int >(val4
);
18727 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18728 if (!SWIG_IsOK(ecode5
)) {
18729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18731 arg5
= static_cast< int >(val5
);
18732 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18733 if (!SWIG_IsOK(ecode6
)) {
18734 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18736 arg6
= static_cast< double >(val6
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_Py_Void();
18750 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
= 0;
18752 wxDC
*arg1
= (wxDC
*) 0 ;
18760 PyObject
* obj0
= 0 ;
18761 PyObject
* obj1
= 0 ;
18762 PyObject
* obj2
= 0 ;
18763 char * kwnames
[] = {
18764 (char *) "self",(char *) "r",(char *) "radius", NULL
18767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18769 if (!SWIG_IsOK(res1
)) {
18770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18775 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18777 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18778 if (!SWIG_IsOK(ecode3
)) {
18779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18781 arg3
= static_cast< double >(val3
);
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_Py_Void();
18795 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
= 0;
18797 wxDC
*arg1
= (wxDC
*) 0 ;
18798 wxPoint
*arg2
= 0 ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 PyObject
* obj2
= 0 ;
18810 PyObject
* obj3
= 0 ;
18811 char * kwnames
[] = {
18812 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18817 if (!SWIG_IsOK(res1
)) {
18818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18823 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18827 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18829 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18830 if (!SWIG_IsOK(ecode4
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18833 arg4
= static_cast< double >(val4
);
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_Py_Void();
18847 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
= 0;
18849 wxDC
*arg1
= (wxDC
*) 0 ;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 PyObject
* obj2
= 0 ;
18864 PyObject
* obj3
= 0 ;
18865 char * kwnames
[] = {
18866 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18871 if (!SWIG_IsOK(res1
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18876 if (!SWIG_IsOK(ecode2
)) {
18877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18879 arg2
= static_cast< int >(val2
);
18880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18881 if (!SWIG_IsOK(ecode3
)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18884 arg3
= static_cast< int >(val3
);
18885 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18886 if (!SWIG_IsOK(ecode4
)) {
18887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18889 arg4
= static_cast< int >(val4
);
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_Py_Void();
18903 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
= 0;
18905 wxDC
*arg1
= (wxDC
*) 0 ;
18906 wxPoint
*arg2
= 0 ;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 PyObject
* obj2
= 0 ;
18916 char * kwnames
[] = {
18917 (char *) "self",(char *) "pt",(char *) "radius", NULL
18920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18922 if (!SWIG_IsOK(res1
)) {
18923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18931 if (!SWIG_IsOK(ecode3
)) {
18932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18934 arg3
= static_cast< int >(val3
);
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_Py_Void();
18948 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
= 0;
18950 wxDC
*arg1
= (wxDC
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 PyObject
* obj2
= 0 ;
18968 PyObject
* obj3
= 0 ;
18969 PyObject
* obj4
= 0 ;
18970 char * kwnames
[] = {
18971 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18976 if (!SWIG_IsOK(res1
)) {
18977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18981 if (!SWIG_IsOK(ecode2
)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18984 arg2
= static_cast< int >(val2
);
18985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18986 if (!SWIG_IsOK(ecode3
)) {
18987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18989 arg3
= static_cast< int >(val3
);
18990 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18991 if (!SWIG_IsOK(ecode4
)) {
18992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18994 arg4
= static_cast< int >(val4
);
18995 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18996 if (!SWIG_IsOK(ecode5
)) {
18997 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18999 arg5
= static_cast< int >(val5
);
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= SWIG_Py_Void();
19013 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
= 0;
19015 wxDC
*arg1
= (wxDC
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 char * kwnames
[] = {
19023 (char *) "self",(char *) "rect", NULL
19026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19028 if (!SWIG_IsOK(res1
)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19034 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_Py_Void();
19049 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
= 0;
19051 wxDC
*arg1
= (wxDC
*) 0 ;
19052 wxPoint
*arg2
= 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 PyObject
* obj2
= 0 ;
19061 char * kwnames
[] = {
19062 (char *) "self",(char *) "pt",(char *) "sz", NULL
19065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19067 if (!SWIG_IsOK(res1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19077 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_Py_Void();
19092 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
= 0;
19094 wxDC
*arg1
= (wxDC
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 PyObject
* obj2
= 0 ;
19109 PyObject
* obj3
= 0 ;
19110 char * kwnames
[] = {
19111 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19116 if (!SWIG_IsOK(res1
)) {
19117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19121 if (!SWIG_IsOK(res2
)) {
19122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19127 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19129 if (!SWIG_IsOK(ecode3
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19132 arg3
= static_cast< int >(val3
);
19133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19134 if (!SWIG_IsOK(ecode4
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19137 arg4
= static_cast< int >(val4
);
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_Py_Void();
19151 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
= 0;
19153 wxDC
*arg1
= (wxDC
*) 0 ;
19155 wxPoint
*arg3
= 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 PyObject
* obj2
= 0 ;
19164 char * kwnames
[] = {
19165 (char *) "self",(char *) "icon",(char *) "pt", NULL
19168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19170 if (!SWIG_IsOK(res1
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19175 if (!SWIG_IsOK(res2
)) {
19176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19181 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19184 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxDC
*arg1
= (wxDC
*) 0 ;
19202 wxBitmap
*arg2
= 0 ;
19205 bool arg5
= (bool) false ;
19216 PyObject
* obj0
= 0 ;
19217 PyObject
* obj1
= 0 ;
19218 PyObject
* obj2
= 0 ;
19219 PyObject
* obj3
= 0 ;
19220 PyObject
* obj4
= 0 ;
19221 char * kwnames
[] = {
19222 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19227 if (!SWIG_IsOK(res1
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19232 if (!SWIG_IsOK(res2
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19238 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19240 if (!SWIG_IsOK(ecode3
)) {
19241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19243 arg3
= static_cast< int >(val3
);
19244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19245 if (!SWIG_IsOK(ecode4
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19248 arg4
= static_cast< int >(val4
);
19250 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19251 if (!SWIG_IsOK(ecode5
)) {
19252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19254 arg5
= static_cast< bool >(val5
);
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= SWIG_Py_Void();
19269 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
= 0;
19271 wxDC
*arg1
= (wxDC
*) 0 ;
19272 wxBitmap
*arg2
= 0 ;
19273 wxPoint
*arg3
= 0 ;
19274 bool arg4
= (bool) false ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 PyObject
* obj2
= 0 ;
19285 PyObject
* obj3
= 0 ;
19286 char * kwnames
[] = {
19287 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19292 if (!SWIG_IsOK(res1
)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19297 if (!SWIG_IsOK(res2
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19303 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19306 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19309 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19310 if (!SWIG_IsOK(ecode4
)) {
19311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19313 arg4
= static_cast< bool >(val4
);
19316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19317 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 resultobj
= SWIG_Py_Void();
19328 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19329 PyObject
*resultobj
= 0;
19330 wxDC
*arg1
= (wxDC
*) 0 ;
19331 wxString
*arg2
= 0 ;
19336 bool temp2
= false ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 PyObject
* obj2
= 0 ;
19344 PyObject
* obj3
= 0 ;
19345 char * kwnames
[] = {
19346 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19351 if (!SWIG_IsOK(res1
)) {
19352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19356 arg2
= wxString_in_helper(obj1
);
19357 if (arg2
== NULL
) SWIG_fail
;
19360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19361 if (!SWIG_IsOK(ecode3
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19364 arg3
= static_cast< int >(val3
);
19365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19366 if (!SWIG_IsOK(ecode4
)) {
19367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19369 arg4
= static_cast< int >(val4
);
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19373 wxPyEndAllowThreads(__tstate
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19376 resultobj
= SWIG_Py_Void();
19391 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
= 0;
19393 wxDC
*arg1
= (wxDC
*) 0 ;
19394 wxString
*arg2
= 0 ;
19395 wxPoint
*arg3
= 0 ;
19398 bool temp2
= false ;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj1
= 0 ;
19402 PyObject
* obj2
= 0 ;
19403 char * kwnames
[] = {
19404 (char *) "self",(char *) "text",(char *) "pt", NULL
19407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19409 if (!SWIG_IsOK(res1
)) {
19410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19414 arg2
= wxString_in_helper(obj1
);
19415 if (arg2
== NULL
) SWIG_fail
;
19420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_Py_Void();
19443 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
= 0;
19445 wxDC
*arg1
= (wxDC
*) 0 ;
19446 wxString
*arg2
= 0 ;
19452 bool temp2
= false ;
19459 PyObject
* obj0
= 0 ;
19460 PyObject
* obj1
= 0 ;
19461 PyObject
* obj2
= 0 ;
19462 PyObject
* obj3
= 0 ;
19463 PyObject
* obj4
= 0 ;
19464 char * kwnames
[] = {
19465 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19470 if (!SWIG_IsOK(res1
)) {
19471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19475 arg2
= wxString_in_helper(obj1
);
19476 if (arg2
== NULL
) SWIG_fail
;
19479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19480 if (!SWIG_IsOK(ecode3
)) {
19481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19483 arg3
= static_cast< int >(val3
);
19484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19485 if (!SWIG_IsOK(ecode4
)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19488 arg4
= static_cast< int >(val4
);
19489 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19490 if (!SWIG_IsOK(ecode5
)) {
19491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19493 arg5
= static_cast< double >(val5
);
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_Py_Void();
19515 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
= 0;
19517 wxDC
*arg1
= (wxDC
*) 0 ;
19518 wxString
*arg2
= 0 ;
19519 wxPoint
*arg3
= 0 ;
19523 bool temp2
= false ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 PyObject
* obj2
= 0 ;
19530 PyObject
* obj3
= 0 ;
19531 char * kwnames
[] = {
19532 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19537 if (!SWIG_IsOK(res1
)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19542 arg2
= wxString_in_helper(obj1
);
19543 if (arg2
== NULL
) SWIG_fail
;
19548 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19550 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19551 if (!SWIG_IsOK(ecode4
)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19554 arg4
= static_cast< double >(val4
);
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_Py_Void();
19576 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
= 0;
19578 wxDC
*arg1
= (wxDC
*) 0 ;
19583 wxDC
*arg6
= (wxDC
*) 0 ;
19586 int arg9
= (int) wxCOPY
;
19587 bool arg10
= (bool) false ;
19588 int arg11
= (int) -1 ;
19589 int arg12
= (int) -1 ;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj1
= 0 ;
19617 PyObject
* obj2
= 0 ;
19618 PyObject
* obj3
= 0 ;
19619 PyObject
* obj4
= 0 ;
19620 PyObject
* obj5
= 0 ;
19621 PyObject
* obj6
= 0 ;
19622 PyObject
* obj7
= 0 ;
19623 PyObject
* obj8
= 0 ;
19624 PyObject
* obj9
= 0 ;
19625 PyObject
* obj10
= 0 ;
19626 PyObject
* obj11
= 0 ;
19627 char * kwnames
[] = {
19628 (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
19631 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
;
19632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19633 if (!SWIG_IsOK(res1
)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19638 if (!SWIG_IsOK(ecode2
)) {
19639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19641 arg2
= static_cast< int >(val2
);
19642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19643 if (!SWIG_IsOK(ecode3
)) {
19644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19646 arg3
= static_cast< int >(val3
);
19647 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19648 if (!SWIG_IsOK(ecode4
)) {
19649 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19651 arg4
= static_cast< int >(val4
);
19652 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19653 if (!SWIG_IsOK(ecode5
)) {
19654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19656 arg5
= static_cast< int >(val5
);
19657 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19658 if (!SWIG_IsOK(res6
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19661 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19662 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19663 if (!SWIG_IsOK(ecode7
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19666 arg7
= static_cast< int >(val7
);
19667 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19668 if (!SWIG_IsOK(ecode8
)) {
19669 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19671 arg8
= static_cast< int >(val8
);
19673 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19674 if (!SWIG_IsOK(ecode9
)) {
19675 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19677 arg9
= static_cast< int >(val9
);
19680 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19681 if (!SWIG_IsOK(ecode10
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19684 arg10
= static_cast< bool >(val10
);
19687 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19688 if (!SWIG_IsOK(ecode11
)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19691 arg11
= static_cast< int >(val11
);
19694 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19695 if (!SWIG_IsOK(ecode12
)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19698 arg12
= static_cast< int >(val12
);
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19715 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
= 0;
19717 wxDC
*arg1
= (wxDC
*) 0 ;
19718 wxPoint
*arg2
= 0 ;
19720 wxDC
*arg4
= (wxDC
*) 0 ;
19721 wxPoint
*arg5
= 0 ;
19722 int arg6
= (int) wxCOPY
;
19723 bool arg7
= (bool) false ;
19724 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19725 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 PyObject
* obj2
= 0 ;
19742 PyObject
* obj3
= 0 ;
19743 PyObject
* obj4
= 0 ;
19744 PyObject
* obj5
= 0 ;
19745 PyObject
* obj6
= 0 ;
19746 PyObject
* obj7
= 0 ;
19747 char * kwnames
[] = {
19748 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19753 if (!SWIG_IsOK(res1
)) {
19754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19763 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19765 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19766 if (!SWIG_IsOK(res4
)) {
19767 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19769 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19772 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19775 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19776 if (!SWIG_IsOK(ecode6
)) {
19777 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19779 arg6
= static_cast< int >(val6
);
19782 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19783 if (!SWIG_IsOK(ecode7
)) {
19784 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19786 arg7
= static_cast< bool >(val7
);
19791 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19809 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
= 0;
19811 wxDC
*arg1
= (wxDC
*) 0 ;
19812 wxRect
*arg2
= (wxRect
*) NULL
;
19813 SwigValueWrapper
<wxBitmap
> result
;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 char * kwnames
[] = {
19821 (char *) "self",(char *) "subrect", NULL
19824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19826 if (!SWIG_IsOK(res1
)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19832 if (!SWIG_IsOK(res2
)) {
19833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19835 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19850 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19851 PyObject
*resultobj
= 0;
19852 wxDC
*arg1
= (wxDC
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 PyObject
* obj1
= 0 ;
19869 PyObject
* obj2
= 0 ;
19870 PyObject
* obj3
= 0 ;
19871 PyObject
* obj4
= 0 ;
19872 char * kwnames
[] = {
19873 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19878 if (!SWIG_IsOK(res1
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19883 if (!SWIG_IsOK(ecode2
)) {
19884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19886 arg2
= static_cast< int >(val2
);
19887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19888 if (!SWIG_IsOK(ecode3
)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19891 arg3
= static_cast< int >(val3
);
19892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19893 if (!SWIG_IsOK(ecode4
)) {
19894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19896 arg4
= static_cast< int >(val4
);
19897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19898 if (!SWIG_IsOK(ecode5
)) {
19899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19901 arg5
= static_cast< int >(val5
);
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= SWIG_Py_Void();
19915 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
= 0;
19917 wxDC
*arg1
= (wxDC
*) 0 ;
19918 wxPoint
*arg2
= 0 ;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 PyObject
* obj2
= 0 ;
19927 char * kwnames
[] = {
19928 (char *) "self",(char *) "pt",(char *) "sz", NULL
19931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19933 if (!SWIG_IsOK(res1
)) {
19934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19939 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19943 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= SWIG_Py_Void();
19958 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
= 0;
19960 wxDC
*arg1
= (wxDC
*) 0 ;
19961 wxRegion
*arg2
= 0 ;
19966 PyObject
* obj0
= 0 ;
19967 PyObject
* obj1
= 0 ;
19968 char * kwnames
[] = {
19969 (char *) "self",(char *) "region", NULL
19972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19974 if (!SWIG_IsOK(res1
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19979 if (!SWIG_IsOK(res2
)) {
19980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19985 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19989 wxPyEndAllowThreads(__tstate
);
19990 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= SWIG_Py_Void();
19999 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
= 0;
20001 wxDC
*arg1
= (wxDC
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char * kwnames
[] = {
20009 (char *) "self",(char *) "rect", NULL
20012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20020 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_Py_Void();
20035 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxDC
*arg1
= (wxDC
*) 0 ;
20039 wxPoint
*arg3
= (wxPoint
*) 0 ;
20040 int arg4
= (int) 0 ;
20041 int arg5
= (int) 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 PyObject
* obj2
= 0 ;
20051 PyObject
* obj3
= 0 ;
20052 char * kwnames
[] = {
20053 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20058 if (!SWIG_IsOK(res1
)) {
20059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20063 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20064 if (arg3
== NULL
) SWIG_fail
;
20067 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20068 if (!SWIG_IsOK(ecode4
)) {
20069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20071 arg4
= static_cast< int >(val4
);
20074 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20075 if (!SWIG_IsOK(ecode5
)) {
20076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20078 arg5
= static_cast< int >(val5
);
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= SWIG_Py_Void();
20088 if (arg3
) delete [] arg3
;
20093 if (arg3
) delete [] arg3
;
20099 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
= 0;
20101 wxDC
*arg1
= (wxDC
*) 0 ;
20103 wxPoint
*arg3
= (wxPoint
*) 0 ;
20104 int arg4
= (int) 0 ;
20105 int arg5
= (int) 0 ;
20106 int arg6
= (int) wxODDEVEN_RULE
;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 PyObject
* obj2
= 0 ;
20118 PyObject
* obj3
= 0 ;
20119 PyObject
* obj4
= 0 ;
20120 char * kwnames
[] = {
20121 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20126 if (!SWIG_IsOK(res1
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20131 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20132 if (arg3
== NULL
) SWIG_fail
;
20135 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20136 if (!SWIG_IsOK(ecode4
)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20139 arg4
= static_cast< int >(val4
);
20142 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20143 if (!SWIG_IsOK(ecode5
)) {
20144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20146 arg5
= static_cast< int >(val5
);
20149 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20150 if (!SWIG_IsOK(ecode6
)) {
20151 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20153 arg6
= static_cast< int >(val6
);
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_Py_Void();
20163 if (arg3
) delete [] arg3
;
20168 if (arg3
) delete [] arg3
;
20174 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20175 PyObject
*resultobj
= 0;
20176 wxDC
*arg1
= (wxDC
*) 0 ;
20177 wxString
*arg2
= 0 ;
20179 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20180 int arg5
= (int) -1 ;
20183 bool temp2
= false ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 PyObject
* obj2
= 0 ;
20192 PyObject
* obj3
= 0 ;
20193 PyObject
* obj4
= 0 ;
20194 char * kwnames
[] = {
20195 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20200 if (!SWIG_IsOK(res1
)) {
20201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20205 arg2
= wxString_in_helper(obj1
);
20206 if (arg2
== NULL
) SWIG_fail
;
20211 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20214 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20215 if (!SWIG_IsOK(ecode4
)) {
20216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20218 arg4
= static_cast< int >(val4
);
20221 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20222 if (!SWIG_IsOK(ecode5
)) {
20223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20225 arg5
= static_cast< int >(val5
);
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= SWIG_Py_Void();
20248 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
= 0;
20250 wxDC
*arg1
= (wxDC
*) 0 ;
20251 wxString
*arg2
= 0 ;
20252 wxBitmap
*arg3
= 0 ;
20254 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20255 int arg6
= (int) -1 ;
20259 bool temp2
= false ;
20267 PyObject
* obj0
= 0 ;
20268 PyObject
* obj1
= 0 ;
20269 PyObject
* obj2
= 0 ;
20270 PyObject
* obj3
= 0 ;
20271 PyObject
* obj4
= 0 ;
20272 PyObject
* obj5
= 0 ;
20273 char * kwnames
[] = {
20274 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20279 if (!SWIG_IsOK(res1
)) {
20280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20284 arg2
= wxString_in_helper(obj1
);
20285 if (arg2
== NULL
) SWIG_fail
;
20288 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20289 if (!SWIG_IsOK(res3
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20295 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20298 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20302 if (!SWIG_IsOK(ecode5
)) {
20303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20305 arg5
= static_cast< int >(val5
);
20308 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20309 if (!SWIG_IsOK(ecode6
)) {
20310 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20312 arg6
= static_cast< int >(val6
);
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20335 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
= 0;
20337 wxDC
*arg1
= (wxDC
*) 0 ;
20339 wxPoint
*arg3
= (wxPoint
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 PyObject
* obj1
= 0 ;
20344 char * kwnames
[] = {
20345 (char *) "self",(char *) "points", NULL
20348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20350 if (!SWIG_IsOK(res1
)) {
20351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20355 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20356 if (arg3
== NULL
) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 (arg1
)->DrawSpline(arg2
,arg3
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= SWIG_Py_Void();
20366 if (arg3
) delete [] arg3
;
20371 if (arg3
) delete [] arg3
;
20377 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20378 PyObject
*resultobj
= 0;
20379 wxDC
*arg1
= (wxDC
*) 0 ;
20382 PyObject
*swig_obj
[1] ;
20384 if (!args
) SWIG_fail
;
20385 swig_obj
[0] = args
;
20386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20387 if (!SWIG_IsOK(res1
)) {
20388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_Py_Void();
20404 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
= 0;
20406 wxDC
*arg1
= (wxDC
*) 0 ;
20407 wxString
*arg2
= 0 ;
20411 bool temp2
= false ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20414 char * kwnames
[] = {
20415 (char *) "self",(char *) "message", NULL
20418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20420 if (!SWIG_IsOK(res1
)) {
20421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20425 arg2
= wxString_in_helper(obj1
);
20426 if (arg2
== NULL
) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20452 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20453 PyObject
*resultobj
= 0;
20454 wxDC
*arg1
= (wxDC
*) 0 ;
20457 PyObject
*swig_obj
[1] ;
20459 if (!args
) SWIG_fail
;
20460 swig_obj
[0] = args
;
20461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20462 if (!SWIG_IsOK(res1
)) {
20463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= SWIG_Py_Void();
20479 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20480 PyObject
*resultobj
= 0;
20481 wxDC
*arg1
= (wxDC
*) 0 ;
20484 PyObject
*swig_obj
[1] ;
20486 if (!args
) SWIG_fail
;
20487 swig_obj
[0] = args
;
20488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20489 if (!SWIG_IsOK(res1
)) {
20490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 (arg1
)->StartPage();
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= SWIG_Py_Void();
20506 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20507 PyObject
*resultobj
= 0;
20508 wxDC
*arg1
= (wxDC
*) 0 ;
20511 PyObject
*swig_obj
[1] ;
20513 if (!args
) SWIG_fail
;
20514 swig_obj
[0] = args
;
20515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20516 if (!SWIG_IsOK(res1
)) {
20517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 resultobj
= SWIG_Py_Void();
20533 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
= 0;
20535 wxDC
*arg1
= (wxDC
*) 0 ;
20541 PyObject
* obj0
= 0 ;
20542 PyObject
* obj1
= 0 ;
20543 char * kwnames
[] = {
20544 (char *) "self",(char *) "font", NULL
20547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20549 if (!SWIG_IsOK(res1
)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20554 if (!SWIG_IsOK(res2
)) {
20555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20560 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 (arg1
)->SetFont((wxFont
const &)*arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_Py_Void();
20574 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
= 0;
20576 wxDC
*arg1
= (wxDC
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char * kwnames
[] = {
20585 (char *) "self",(char *) "pen", NULL
20588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20590 if (!SWIG_IsOK(res1
)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20595 if (!SWIG_IsOK(res2
)) {
20596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20601 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 (arg1
)->SetPen((wxPen
const &)*arg2
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_Py_Void();
20615 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
= 0;
20617 wxDC
*arg1
= (wxDC
*) 0 ;
20618 wxBrush
*arg2
= 0 ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20625 char * kwnames
[] = {
20626 (char *) "self",(char *) "brush", NULL
20629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20631 if (!SWIG_IsOK(res1
)) {
20632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20634 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20636 if (!SWIG_IsOK(res2
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20642 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= SWIG_Py_Void();
20656 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
= 0;
20658 wxDC
*arg1
= (wxDC
*) 0 ;
20659 wxBrush
*arg2
= 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 char * kwnames
[] = {
20667 (char *) "self",(char *) "brush", NULL
20670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20672 if (!SWIG_IsOK(res1
)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20677 if (!SWIG_IsOK(res2
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20683 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_Py_Void();
20697 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
= 0;
20699 wxDC
*arg1
= (wxDC
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 char * kwnames
[] = {
20708 (char *) "self",(char *) "mode", NULL
20711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20713 if (!SWIG_IsOK(res1
)) {
20714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20718 if (!SWIG_IsOK(ecode2
)) {
20719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20721 arg2
= static_cast< int >(val2
);
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 (arg1
)->SetBackgroundMode(arg2
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_Py_Void();
20735 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
= 0;
20737 wxDC
*arg1
= (wxDC
*) 0 ;
20738 wxPalette
*arg2
= 0 ;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 char * kwnames
[] = {
20746 (char *) "self",(char *) "palette", NULL
20749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20751 if (!SWIG_IsOK(res1
)) {
20752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20756 if (!SWIG_IsOK(res2
)) {
20757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20762 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_Py_Void();
20776 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20777 PyObject
*resultobj
= 0;
20778 wxDC
*arg1
= (wxDC
*) 0 ;
20781 PyObject
*swig_obj
[1] ;
20783 if (!args
) SWIG_fail
;
20784 swig_obj
[0] = args
;
20785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20786 if (!SWIG_IsOK(res1
)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20792 (arg1
)->DestroyClippingRegion();
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_Py_Void();
20803 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20804 PyObject
*resultobj
= 0;
20805 wxDC
*arg1
= (wxDC
*) 0 ;
20806 int *arg2
= (int *) 0 ;
20807 int *arg3
= (int *) 0 ;
20808 int *arg4
= (int *) 0 ;
20809 int *arg5
= (int *) 0 ;
20813 int res2
= SWIG_TMPOBJ
;
20815 int res3
= SWIG_TMPOBJ
;
20817 int res4
= SWIG_TMPOBJ
;
20819 int res5
= SWIG_TMPOBJ
;
20820 PyObject
*swig_obj
[1] ;
20826 if (!args
) SWIG_fail
;
20827 swig_obj
[0] = args
;
20828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_Py_Void();
20840 if (SWIG_IsTmpObj(res2
)) {
20841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20843 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20846 if (SWIG_IsTmpObj(res3
)) {
20847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20849 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20852 if (SWIG_IsTmpObj(res4
)) {
20853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20855 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20858 if (SWIG_IsTmpObj(res5
)) {
20859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20861 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20870 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20871 PyObject
*resultobj
= 0;
20872 wxDC
*arg1
= (wxDC
*) 0 ;
20876 PyObject
*swig_obj
[1] ;
20878 if (!args
) SWIG_fail
;
20879 swig_obj
[0] = args
;
20880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20881 if (!SWIG_IsOK(res1
)) {
20882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= wxDC_GetClippingRect(arg1
);
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20898 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 PyObject
*resultobj
= 0;
20900 wxDC
*arg1
= (wxDC
*) 0 ;
20904 PyObject
*swig_obj
[1] ;
20906 if (!args
) SWIG_fail
;
20907 swig_obj
[0] = args
;
20908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_From_int(static_cast< int >(result
));
20926 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20927 PyObject
*resultobj
= 0;
20928 wxDC
*arg1
= (wxDC
*) 0 ;
20932 PyObject
*swig_obj
[1] ;
20934 if (!args
) SWIG_fail
;
20935 swig_obj
[0] = args
;
20936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20937 if (!SWIG_IsOK(res1
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_From_int(static_cast< int >(result
));
20954 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
= 0;
20956 wxDC
*arg1
= (wxDC
*) 0 ;
20957 wxString
*arg2
= 0 ;
20958 int *arg3
= (int *) 0 ;
20959 int *arg4
= (int *) 0 ;
20962 bool temp2
= false ;
20964 int res3
= SWIG_TMPOBJ
;
20966 int res4
= SWIG_TMPOBJ
;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 char * kwnames
[] = {
20970 (char *) "self",(char *) "string", NULL
20975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20977 if (!SWIG_IsOK(res1
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20982 arg2
= wxString_in_helper(obj1
);
20983 if (arg2
== NULL
) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_Py_Void();
20993 if (SWIG_IsTmpObj(res3
)) {
20994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20996 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20999 if (SWIG_IsTmpObj(res4
)) {
21000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21002 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21019 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21020 PyObject
*resultobj
= 0;
21021 wxDC
*arg1
= (wxDC
*) 0 ;
21022 wxString
*arg2
= 0 ;
21023 int *arg3
= (int *) 0 ;
21024 int *arg4
= (int *) 0 ;
21025 int *arg5
= (int *) 0 ;
21026 int *arg6
= (int *) 0 ;
21027 wxFont
*arg7
= (wxFont
*) NULL
;
21030 bool temp2
= false ;
21032 int res3
= SWIG_TMPOBJ
;
21034 int res4
= SWIG_TMPOBJ
;
21036 int res5
= SWIG_TMPOBJ
;
21038 int res6
= SWIG_TMPOBJ
;
21041 PyObject
* obj0
= 0 ;
21042 PyObject
* obj1
= 0 ;
21043 PyObject
* obj2
= 0 ;
21044 char * kwnames
[] = {
21045 (char *) "self",(char *) "string",(char *) "font", NULL
21052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21059 arg2
= wxString_in_helper(obj1
);
21060 if (arg2
== NULL
) SWIG_fail
;
21064 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21065 if (!SWIG_IsOK(res7
)) {
21066 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21068 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_Py_Void();
21077 if (SWIG_IsTmpObj(res3
)) {
21078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21080 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21083 if (SWIG_IsTmpObj(res4
)) {
21084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21086 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21089 if (SWIG_IsTmpObj(res5
)) {
21090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21092 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21095 if (SWIG_IsTmpObj(res6
)) {
21096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21098 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21115 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
= 0;
21117 wxDC
*arg1
= (wxDC
*) 0 ;
21118 wxString
*arg2
= 0 ;
21119 int *arg3
= (int *) 0 ;
21120 int *arg4
= (int *) 0 ;
21121 int *arg5
= (int *) 0 ;
21122 wxFont
*arg6
= (wxFont
*) NULL
;
21125 bool temp2
= false ;
21127 int res3
= SWIG_TMPOBJ
;
21129 int res4
= SWIG_TMPOBJ
;
21131 int res5
= SWIG_TMPOBJ
;
21134 PyObject
* obj0
= 0 ;
21135 PyObject
* obj1
= 0 ;
21136 PyObject
* obj2
= 0 ;
21137 char * kwnames
[] = {
21138 (char *) "self",(char *) "text",(char *) "font", NULL
21144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21146 if (!SWIG_IsOK(res1
)) {
21147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21151 arg2
= wxString_in_helper(obj1
);
21152 if (arg2
== NULL
) SWIG_fail
;
21156 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21157 if (!SWIG_IsOK(res6
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21160 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= SWIG_Py_Void();
21169 if (SWIG_IsTmpObj(res3
)) {
21170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21172 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21175 if (SWIG_IsTmpObj(res4
)) {
21176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21178 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21181 if (SWIG_IsTmpObj(res5
)) {
21182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21184 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21201 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
= 0;
21203 wxDC
*arg1
= (wxDC
*) 0 ;
21204 wxString
*arg2
= 0 ;
21208 bool temp2
= false ;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 char * kwnames
[] = {
21212 (char *) "self",(char *) "text", NULL
21215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21217 if (!SWIG_IsOK(res1
)) {
21218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21222 arg2
= wxString_in_helper(obj1
);
21223 if (arg2
== NULL
) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= wxArrayInt2PyList_helper(result
);
21249 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21250 PyObject
*resultobj
= 0;
21251 wxDC
*arg1
= (wxDC
*) 0 ;
21255 PyObject
*swig_obj
[1] ;
21257 if (!args
) SWIG_fail
;
21258 swig_obj
[0] = args
;
21259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21260 if (!SWIG_IsOK(res1
)) {
21261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (arg1
)->GetSize();
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21277 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21278 PyObject
*resultobj
= 0;
21279 wxDC
*arg1
= (wxDC
*) 0 ;
21280 int *arg2
= (int *) 0 ;
21281 int *arg3
= (int *) 0 ;
21285 int res2
= SWIG_TMPOBJ
;
21287 int res3
= SWIG_TMPOBJ
;
21288 PyObject
*swig_obj
[1] ;
21292 if (!args
) SWIG_fail
;
21293 swig_obj
[0] = args
;
21294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21295 if (!SWIG_IsOK(res1
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 (arg1
)->GetSize(arg2
,arg3
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_Py_Void();
21306 if (SWIG_IsTmpObj(res2
)) {
21307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21309 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21312 if (SWIG_IsTmpObj(res3
)) {
21313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21315 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21324 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21325 PyObject
*resultobj
= 0;
21326 wxDC
*arg1
= (wxDC
*) 0 ;
21330 PyObject
*swig_obj
[1] ;
21332 if (!args
) SWIG_fail
;
21333 swig_obj
[0] = args
;
21334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21335 if (!SWIG_IsOK(res1
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21352 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 PyObject
*resultobj
= 0;
21354 wxDC
*arg1
= (wxDC
*) 0 ;
21355 int *arg2
= (int *) 0 ;
21356 int *arg3
= (int *) 0 ;
21360 int res2
= SWIG_TMPOBJ
;
21362 int res3
= SWIG_TMPOBJ
;
21363 PyObject
*swig_obj
[1] ;
21367 if (!args
) SWIG_fail
;
21368 swig_obj
[0] = args
;
21369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21370 if (!SWIG_IsOK(res1
)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_Py_Void();
21381 if (SWIG_IsTmpObj(res2
)) {
21382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21384 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21387 if (SWIG_IsTmpObj(res3
)) {
21388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21390 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21399 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
= 0;
21401 wxDC
*arg1
= (wxDC
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char * kwnames
[] = {
21411 (char *) "self",(char *) "x", NULL
21414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21416 if (!SWIG_IsOK(res1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21421 if (!SWIG_IsOK(ecode2
)) {
21422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21424 arg2
= static_cast< int >(val2
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_From_int(static_cast< int >(result
));
21438 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= 0;
21440 wxDC
*arg1
= (wxDC
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21449 char * kwnames
[] = {
21450 (char *) "self",(char *) "y", NULL
21453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21455 if (!SWIG_IsOK(res1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21460 if (!SWIG_IsOK(ecode2
)) {
21461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21463 arg2
= static_cast< int >(val2
);
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_From_int(static_cast< int >(result
));
21477 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
= 0;
21479 wxDC
*arg1
= (wxDC
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 char * kwnames
[] = {
21489 (char *) "self",(char *) "x", NULL
21492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21494 if (!SWIG_IsOK(res1
)) {
21495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21499 if (!SWIG_IsOK(ecode2
)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21502 arg2
= static_cast< int >(val2
);
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_From_int(static_cast< int >(result
));
21516 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
= 0;
21518 wxDC
*arg1
= (wxDC
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 PyObject
* obj1
= 0 ;
21527 char * kwnames
[] = {
21528 (char *) "self",(char *) "y", NULL
21531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21538 if (!SWIG_IsOK(ecode2
)) {
21539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21541 arg2
= static_cast< int >(val2
);
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_From_int(static_cast< int >(result
));
21555 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
= 0;
21557 wxDC
*arg1
= (wxDC
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char * kwnames
[] = {
21567 (char *) "self",(char *) "x", NULL
21570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21572 if (!SWIG_IsOK(res1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21577 if (!SWIG_IsOK(ecode2
)) {
21578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21580 arg2
= static_cast< int >(val2
);
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= SWIG_From_int(static_cast< int >(result
));
21594 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
= 0;
21596 wxDC
*arg1
= (wxDC
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 char * kwnames
[] = {
21606 (char *) "self",(char *) "y", NULL
21609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21611 if (!SWIG_IsOK(res1
)) {
21612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21616 if (!SWIG_IsOK(ecode2
)) {
21617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21619 arg2
= static_cast< int >(val2
);
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= SWIG_From_int(static_cast< int >(result
));
21633 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
= 0;
21635 wxDC
*arg1
= (wxDC
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 char * kwnames
[] = {
21645 (char *) "self",(char *) "x", NULL
21648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21650 if (!SWIG_IsOK(res1
)) {
21651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21655 if (!SWIG_IsOK(ecode2
)) {
21656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21658 arg2
= static_cast< int >(val2
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= SWIG_From_int(static_cast< int >(result
));
21672 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
= 0;
21674 wxDC
*arg1
= (wxDC
*) 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char * kwnames
[] = {
21684 (char *) "self",(char *) "y", NULL
21687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21689 if (!SWIG_IsOK(res1
)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21694 if (!SWIG_IsOK(ecode2
)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21697 arg2
= static_cast< int >(val2
);
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= SWIG_From_int(static_cast< int >(result
));
21711 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21712 PyObject
*resultobj
= 0;
21713 wxDC
*arg1
= (wxDC
*) 0 ;
21717 PyObject
*swig_obj
[1] ;
21719 if (!args
) SWIG_fail
;
21720 swig_obj
[0] = args
;
21721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21722 if (!SWIG_IsOK(res1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21725 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21741 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21742 PyObject
*resultobj
= 0;
21743 wxDC
*arg1
= (wxDC
*) 0 ;
21747 PyObject
*swig_obj
[1] ;
21749 if (!args
) SWIG_fail
;
21750 swig_obj
[0] = args
;
21751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21752 if (!SWIG_IsOK(res1
)) {
21753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21771 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21772 PyObject
*resultobj
= 0;
21773 wxDC
*arg1
= (wxDC
*) 0 ;
21777 PyObject
*swig_obj
[1] ;
21779 if (!args
) SWIG_fail
;
21780 swig_obj
[0] = args
;
21781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21782 if (!SWIG_IsOK(res1
)) {
21783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= SWIG_From_int(static_cast< int >(result
));
21799 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21800 PyObject
*resultobj
= 0;
21801 wxDC
*arg1
= (wxDC
*) 0 ;
21805 PyObject
*swig_obj
[1] ;
21807 if (!args
) SWIG_fail
;
21808 swig_obj
[0] = args
;
21809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21810 if (!SWIG_IsOK(res1
)) {
21811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= ((wxDC
const *)arg1
)->GetPPI();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21827 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 PyObject
*resultobj
= 0;
21829 wxDC
*arg1
= (wxDC
*) 0 ;
21833 PyObject
*swig_obj
[1] ;
21835 if (!args
) SWIG_fail
;
21836 swig_obj
[0] = args
;
21837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21838 if (!SWIG_IsOK(res1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21857 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21858 PyObject
*resultobj
= 0;
21859 wxDC
*arg1
= (wxDC
*) 0 ;
21863 PyObject
*swig_obj
[1] ;
21865 if (!args
) SWIG_fail
;
21866 swig_obj
[0] = args
;
21867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21868 if (!SWIG_IsOK(res1
)) {
21869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_From_int(static_cast< int >(result
));
21885 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21886 PyObject
*resultobj
= 0;
21887 wxDC
*arg1
= (wxDC
*) 0 ;
21888 wxBrush
*result
= 0 ;
21891 PyObject
*swig_obj
[1] ;
21893 if (!args
) SWIG_fail
;
21894 swig_obj
[0] = args
;
21895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21896 if (!SWIG_IsOK(res1
)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21904 result
= (wxBrush
*) &_result_ref
;
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21910 wxBrush
* resultptr
= new wxBrush(*result
);
21911 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21919 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21920 PyObject
*resultobj
= 0;
21921 wxDC
*arg1
= (wxDC
*) 0 ;
21922 wxBrush
*result
= 0 ;
21925 PyObject
*swig_obj
[1] ;
21927 if (!args
) SWIG_fail
;
21928 swig_obj
[0] = args
;
21929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21930 if (!SWIG_IsOK(res1
)) {
21931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21938 result
= (wxBrush
*) &_result_ref
;
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21944 wxBrush
* resultptr
= new wxBrush(*result
);
21945 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21953 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21954 PyObject
*resultobj
= 0;
21955 wxDC
*arg1
= (wxDC
*) 0 ;
21956 wxFont
*result
= 0 ;
21959 PyObject
*swig_obj
[1] ;
21961 if (!args
) SWIG_fail
;
21962 swig_obj
[0] = args
;
21963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21972 result
= (wxFont
*) &_result_ref
;
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21978 wxFont
* resultptr
= new wxFont(*result
);
21979 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21987 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21988 PyObject
*resultobj
= 0;
21989 wxDC
*arg1
= (wxDC
*) 0 ;
21990 wxPen
*result
= 0 ;
21993 PyObject
*swig_obj
[1] ;
21995 if (!args
) SWIG_fail
;
21996 swig_obj
[0] = args
;
21997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21998 if (!SWIG_IsOK(res1
)) {
21999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22006 result
= (wxPen
*) &_result_ref
;
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 wxPen
* resultptr
= new wxPen(*result
);
22013 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22021 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22022 PyObject
*resultobj
= 0;
22023 wxDC
*arg1
= (wxDC
*) 0 ;
22024 wxColour
*result
= 0 ;
22027 PyObject
*swig_obj
[1] ;
22029 if (!args
) SWIG_fail
;
22030 swig_obj
[0] = args
;
22031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22032 if (!SWIG_IsOK(res1
)) {
22033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22035 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22040 result
= (wxColour
*) &_result_ref
;
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22052 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22053 PyObject
*resultobj
= 0;
22054 wxDC
*arg1
= (wxDC
*) 0 ;
22055 wxColour
*result
= 0 ;
22058 PyObject
*swig_obj
[1] ;
22060 if (!args
) SWIG_fail
;
22061 swig_obj
[0] = args
;
22062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22063 if (!SWIG_IsOK(res1
)) {
22064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22071 result
= (wxColour
*) &_result_ref
;
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22083 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
= 0;
22085 wxDC
*arg1
= (wxDC
*) 0 ;
22086 wxColour
*arg2
= 0 ;
22090 PyObject
* obj0
= 0 ;
22091 PyObject
* obj1
= 0 ;
22092 char * kwnames
[] = {
22093 (char *) "self",(char *) "colour", NULL
22096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22098 if (!SWIG_IsOK(res1
)) {
22099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_Py_Void();
22119 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
= 0;
22121 wxDC
*arg1
= (wxDC
*) 0 ;
22122 wxColour
*arg2
= 0 ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 char * kwnames
[] = {
22129 (char *) "self",(char *) "colour", NULL
22132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22134 if (!SWIG_IsOK(res1
)) {
22135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_Py_Void();
22155 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22156 PyObject
*resultobj
= 0;
22157 wxDC
*arg1
= (wxDC
*) 0 ;
22161 PyObject
*swig_obj
[1] ;
22163 if (!args
) SWIG_fail
;
22164 swig_obj
[0] = args
;
22165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22166 if (!SWIG_IsOK(res1
)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_From_int(static_cast< int >(result
));
22183 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
= 0;
22185 wxDC
*arg1
= (wxDC
*) 0 ;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 char * kwnames
[] = {
22194 (char *) "self",(char *) "mode", NULL
22197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22199 if (!SWIG_IsOK(res1
)) {
22200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22204 if (!SWIG_IsOK(ecode2
)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22207 arg2
= static_cast< int >(val2
);
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 (arg1
)->SetMapMode(arg2
);
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_Py_Void();
22221 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22222 PyObject
*resultobj
= 0;
22223 wxDC
*arg1
= (wxDC
*) 0 ;
22224 double *arg2
= (double *) 0 ;
22225 double *arg3
= (double *) 0 ;
22229 int res2
= SWIG_TMPOBJ
;
22231 int res3
= SWIG_TMPOBJ
;
22232 PyObject
*swig_obj
[1] ;
22236 if (!args
) SWIG_fail
;
22237 swig_obj
[0] = args
;
22238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22239 if (!SWIG_IsOK(res1
)) {
22240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_Py_Void();
22250 if (SWIG_IsTmpObj(res2
)) {
22251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22253 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22256 if (SWIG_IsTmpObj(res3
)) {
22257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22259 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22268 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
= 0;
22270 wxDC
*arg1
= (wxDC
*) 0 ;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 PyObject
* obj2
= 0 ;
22282 char * kwnames
[] = {
22283 (char *) "self",(char *) "x",(char *) "y", NULL
22286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22288 if (!SWIG_IsOK(res1
)) {
22289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22292 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22293 if (!SWIG_IsOK(ecode2
)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22296 arg2
= static_cast< double >(val2
);
22297 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22298 if (!SWIG_IsOK(ecode3
)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22301 arg3
= static_cast< double >(val3
);
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 (arg1
)->SetUserScale(arg2
,arg3
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_Py_Void();
22315 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22316 PyObject
*resultobj
= 0;
22317 wxDC
*arg1
= (wxDC
*) 0 ;
22318 double *arg2
= (double *) 0 ;
22319 double *arg3
= (double *) 0 ;
22323 int res2
= SWIG_TMPOBJ
;
22325 int res3
= SWIG_TMPOBJ
;
22326 PyObject
*swig_obj
[1] ;
22330 if (!args
) SWIG_fail
;
22331 swig_obj
[0] = args
;
22332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22333 if (!SWIG_IsOK(res1
)) {
22334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 (arg1
)->GetLogicalScale(arg2
,arg3
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= SWIG_Py_Void();
22344 if (SWIG_IsTmpObj(res2
)) {
22345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22347 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22350 if (SWIG_IsTmpObj(res3
)) {
22351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22353 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22362 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
= 0;
22364 wxDC
*arg1
= (wxDC
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 PyObject
* obj2
= 0 ;
22376 char * kwnames
[] = {
22377 (char *) "self",(char *) "x",(char *) "y", NULL
22380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22382 if (!SWIG_IsOK(res1
)) {
22383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22386 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22387 if (!SWIG_IsOK(ecode2
)) {
22388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22390 arg2
= static_cast< double >(val2
);
22391 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22392 if (!SWIG_IsOK(ecode3
)) {
22393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22395 arg3
= static_cast< double >(val3
);
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 (arg1
)->SetLogicalScale(arg2
,arg3
);
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= SWIG_Py_Void();
22409 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 PyObject
*resultobj
= 0;
22411 wxDC
*arg1
= (wxDC
*) 0 ;
22415 PyObject
*swig_obj
[1] ;
22417 if (!args
) SWIG_fail
;
22418 swig_obj
[0] = args
;
22419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22420 if (!SWIG_IsOK(res1
)) {
22421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22437 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 PyObject
*resultobj
= 0;
22439 wxDC
*arg1
= (wxDC
*) 0 ;
22440 int *arg2
= (int *) 0 ;
22441 int *arg3
= (int *) 0 ;
22445 int res2
= SWIG_TMPOBJ
;
22447 int res3
= SWIG_TMPOBJ
;
22448 PyObject
*swig_obj
[1] ;
22452 if (!args
) SWIG_fail
;
22453 swig_obj
[0] = args
;
22454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 resultobj
= SWIG_Py_Void();
22466 if (SWIG_IsTmpObj(res2
)) {
22467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22469 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22472 if (SWIG_IsTmpObj(res3
)) {
22473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22475 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22484 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22485 PyObject
*resultobj
= 0;
22486 wxDC
*arg1
= (wxDC
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 PyObject
* obj1
= 0 ;
22497 PyObject
* obj2
= 0 ;
22498 char * kwnames
[] = {
22499 (char *) "self",(char *) "x",(char *) "y", NULL
22502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22504 if (!SWIG_IsOK(res1
)) {
22505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22509 if (!SWIG_IsOK(ecode2
)) {
22510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22512 arg2
= static_cast< int >(val2
);
22513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22514 if (!SWIG_IsOK(ecode3
)) {
22515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22517 arg3
= static_cast< int >(val3
);
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= SWIG_Py_Void();
22531 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
= 0;
22533 wxDC
*arg1
= (wxDC
*) 0 ;
22534 wxPoint
*arg2
= 0 ;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 char * kwnames
[] = {
22541 (char *) "self",(char *) "point", NULL
22544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22546 if (!SWIG_IsOK(res1
)) {
22547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= SWIG_Py_Void();
22567 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22568 PyObject
*resultobj
= 0;
22569 wxDC
*arg1
= (wxDC
*) 0 ;
22573 PyObject
*swig_obj
[1] ;
22575 if (!args
) SWIG_fail
;
22576 swig_obj
[0] = args
;
22577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22578 if (!SWIG_IsOK(res1
)) {
22579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22588 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22595 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22596 PyObject
*resultobj
= 0;
22597 wxDC
*arg1
= (wxDC
*) 0 ;
22598 int *arg2
= (int *) 0 ;
22599 int *arg3
= (int *) 0 ;
22603 int res2
= SWIG_TMPOBJ
;
22605 int res3
= SWIG_TMPOBJ
;
22606 PyObject
*swig_obj
[1] ;
22610 if (!args
) SWIG_fail
;
22611 swig_obj
[0] = args
;
22612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22613 if (!SWIG_IsOK(res1
)) {
22614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_Py_Void();
22624 if (SWIG_IsTmpObj(res2
)) {
22625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22627 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22630 if (SWIG_IsTmpObj(res3
)) {
22631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22633 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22642 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
= 0;
22644 wxDC
*arg1
= (wxDC
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 PyObject
* obj1
= 0 ;
22655 PyObject
* obj2
= 0 ;
22656 char * kwnames
[] = {
22657 (char *) "self",(char *) "x",(char *) "y", NULL
22660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22667 if (!SWIG_IsOK(ecode2
)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22670 arg2
= static_cast< int >(val2
);
22671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22672 if (!SWIG_IsOK(ecode3
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22675 arg3
= static_cast< int >(val3
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_Py_Void();
22689 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= 0;
22691 wxDC
*arg1
= (wxDC
*) 0 ;
22692 wxPoint
*arg2
= 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 char * kwnames
[] = {
22699 (char *) "self",(char *) "point", NULL
22702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22704 if (!SWIG_IsOK(res1
)) {
22705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22710 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= SWIG_Py_Void();
22725 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
= 0;
22727 wxDC
*arg1
= (wxDC
*) 0 ;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 PyObject
* obj2
= 0 ;
22739 char * kwnames
[] = {
22740 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22745 if (!SWIG_IsOK(res1
)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22749 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22750 if (!SWIG_IsOK(ecode2
)) {
22751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22753 arg2
= static_cast< bool >(val2
);
22754 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22755 if (!SWIG_IsOK(ecode3
)) {
22756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22758 arg3
= static_cast< bool >(val3
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_Py_Void();
22772 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22773 PyObject
*resultobj
= 0;
22774 wxDC
*arg1
= (wxDC
*) 0 ;
22778 PyObject
*swig_obj
[1] ;
22780 if (!args
) SWIG_fail
;
22781 swig_obj
[0] = args
;
22782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22783 if (!SWIG_IsOK(res1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= SWIG_From_int(static_cast< int >(result
));
22800 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
= 0;
22802 wxDC
*arg1
= (wxDC
*) 0 ;
22808 PyObject
* obj0
= 0 ;
22809 PyObject
* obj1
= 0 ;
22810 char * kwnames
[] = {
22811 (char *) "self",(char *) "function", NULL
22814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22816 if (!SWIG_IsOK(res1
)) {
22817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22821 if (!SWIG_IsOK(ecode2
)) {
22822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22824 arg2
= static_cast< int >(val2
);
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 (arg1
)->SetLogicalFunction(arg2
);
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 resultobj
= SWIG_Py_Void();
22838 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22839 PyObject
*resultobj
= 0;
22840 wxDC
*arg1
= (wxDC
*) 0 ;
22843 PyObject
*swig_obj
[1] ;
22845 if (!args
) SWIG_fail
;
22846 swig_obj
[0] = args
;
22847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->ComputeScaleAndOrigin();
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_Py_Void();
22865 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
= 0;
22867 wxDC
*arg1
= (wxDC
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 PyObject
* obj2
= 0 ;
22879 char * kwnames
[] = {
22880 (char *) "self",(char *) "x",(char *) "y", NULL
22883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22885 if (!SWIG_IsOK(res1
)) {
22886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22890 if (!SWIG_IsOK(ecode2
)) {
22891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22893 arg2
= static_cast< int >(val2
);
22894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22895 if (!SWIG_IsOK(ecode3
)) {
22896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22898 arg3
= static_cast< int >(val3
);
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_Py_Void();
22912 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
= 0;
22914 wxDC
*arg1
= (wxDC
*) 0 ;
22915 wxPoint
*arg2
= 0 ;
22919 PyObject
* obj0
= 0 ;
22920 PyObject
* obj1
= 0 ;
22921 char * kwnames
[] = {
22922 (char *) "self",(char *) "point", NULL
22925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22927 if (!SWIG_IsOK(res1
)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_Py_Void();
22948 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22949 PyObject
*resultobj
= 0;
22950 wxDC
*arg1
= (wxDC
*) 0 ;
22953 PyObject
*swig_obj
[1] ;
22955 if (!args
) SWIG_fail
;
22956 swig_obj
[0] = args
;
22957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22958 if (!SWIG_IsOK(res1
)) {
22959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 (arg1
)->ResetBoundingBox();
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= SWIG_Py_Void();
22975 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22976 PyObject
*resultobj
= 0;
22977 wxDC
*arg1
= (wxDC
*) 0 ;
22981 PyObject
*swig_obj
[1] ;
22983 if (!args
) SWIG_fail
;
22984 swig_obj
[0] = args
;
22985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (int)((wxDC
const *)arg1
)->MinX();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_From_int(static_cast< int >(result
));
23003 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23004 PyObject
*resultobj
= 0;
23005 wxDC
*arg1
= (wxDC
*) 0 ;
23009 PyObject
*swig_obj
[1] ;
23011 if (!args
) SWIG_fail
;
23012 swig_obj
[0] = args
;
23013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (int)((wxDC
const *)arg1
)->MaxX();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_From_int(static_cast< int >(result
));
23031 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23032 PyObject
*resultobj
= 0;
23033 wxDC
*arg1
= (wxDC
*) 0 ;
23037 PyObject
*swig_obj
[1] ;
23039 if (!args
) SWIG_fail
;
23040 swig_obj
[0] = args
;
23041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (int)((wxDC
const *)arg1
)->MinY();
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_From_int(static_cast< int >(result
));
23059 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23060 PyObject
*resultobj
= 0;
23061 wxDC
*arg1
= (wxDC
*) 0 ;
23065 PyObject
*swig_obj
[1] ;
23067 if (!args
) SWIG_fail
;
23068 swig_obj
[0] = args
;
23069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (int)((wxDC
const *)arg1
)->MaxY();
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_From_int(static_cast< int >(result
));
23087 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxDC
*arg1
= (wxDC
*) 0 ;
23090 int *arg2
= (int *) 0 ;
23091 int *arg3
= (int *) 0 ;
23092 int *arg4
= (int *) 0 ;
23093 int *arg5
= (int *) 0 ;
23097 int res2
= SWIG_TMPOBJ
;
23099 int res3
= SWIG_TMPOBJ
;
23101 int res4
= SWIG_TMPOBJ
;
23103 int res5
= SWIG_TMPOBJ
;
23104 PyObject
*swig_obj
[1] ;
23110 if (!args
) SWIG_fail
;
23111 swig_obj
[0] = args
;
23112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_Py_Void();
23124 if (SWIG_IsTmpObj(res2
)) {
23125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23127 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23130 if (SWIG_IsTmpObj(res3
)) {
23131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23133 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23136 if (SWIG_IsTmpObj(res4
)) {
23137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23139 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23142 if (SWIG_IsTmpObj(res5
)) {
23143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23145 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23154 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23155 PyObject
*resultobj
= 0;
23156 wxDC
*arg1
= (wxDC
*) 0 ;
23157 wxLayoutDirection result
;
23160 PyObject
*swig_obj
[1] ;
23162 if (!args
) SWIG_fail
;
23163 swig_obj
[0] = args
;
23164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= SWIG_From_int(static_cast< int >(result
));
23182 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
= 0;
23184 wxDC
*arg1
= (wxDC
*) 0 ;
23185 wxLayoutDirection arg2
;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 char * kwnames
[] = {
23193 (char *) "self",(char *) "dir", NULL
23196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23198 if (!SWIG_IsOK(res1
)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23203 if (!SWIG_IsOK(ecode2
)) {
23204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23206 arg2
= static_cast< wxLayoutDirection
>(val2
);
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 (arg1
)->SetLayoutDirection(arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_Py_Void();
23220 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
= 0;
23222 wxDC
*arg1
= (wxDC
*) 0 ;
23223 PyObject
*arg2
= (PyObject
*) 0 ;
23224 PyObject
*arg3
= (PyObject
*) 0 ;
23225 PyObject
*arg4
= (PyObject
*) 0 ;
23226 PyObject
*result
= 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 PyObject
* obj2
= 0 ;
23232 PyObject
* obj3
= 0 ;
23233 char * kwnames
[] = {
23234 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= result
;
23259 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
= 0;
23261 wxDC
*arg1
= (wxDC
*) 0 ;
23262 PyObject
*arg2
= (PyObject
*) 0 ;
23263 PyObject
*arg3
= (PyObject
*) 0 ;
23264 PyObject
*arg4
= (PyObject
*) 0 ;
23265 PyObject
*result
= 0 ;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 PyObject
* obj2
= 0 ;
23271 PyObject
* obj3
= 0 ;
23272 char * kwnames
[] = {
23273 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= result
;
23298 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
= 0;
23300 wxDC
*arg1
= (wxDC
*) 0 ;
23301 PyObject
*arg2
= (PyObject
*) 0 ;
23302 PyObject
*arg3
= (PyObject
*) 0 ;
23303 PyObject
*arg4
= (PyObject
*) 0 ;
23304 PyObject
*result
= 0 ;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 PyObject
* obj2
= 0 ;
23310 PyObject
* obj3
= 0 ;
23311 char * kwnames
[] = {
23312 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23317 if (!SWIG_IsOK(res1
)) {
23318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= result
;
23337 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
= 0;
23339 wxDC
*arg1
= (wxDC
*) 0 ;
23340 PyObject
*arg2
= (PyObject
*) 0 ;
23341 PyObject
*arg3
= (PyObject
*) 0 ;
23342 PyObject
*arg4
= (PyObject
*) 0 ;
23343 PyObject
*result
= 0 ;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 PyObject
* obj2
= 0 ;
23349 PyObject
* obj3
= 0 ;
23350 char * kwnames
[] = {
23351 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 resultobj
= result
;
23376 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
= 0;
23378 wxDC
*arg1
= (wxDC
*) 0 ;
23379 PyObject
*arg2
= (PyObject
*) 0 ;
23380 PyObject
*arg3
= (PyObject
*) 0 ;
23381 PyObject
*arg4
= (PyObject
*) 0 ;
23382 PyObject
*result
= 0 ;
23385 PyObject
* obj0
= 0 ;
23386 PyObject
* obj1
= 0 ;
23387 PyObject
* obj2
= 0 ;
23388 PyObject
* obj3
= 0 ;
23389 char * kwnames
[] = {
23390 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23395 if (!SWIG_IsOK(res1
)) {
23396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= result
;
23415 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
= 0;
23417 wxDC
*arg1
= (wxDC
*) 0 ;
23418 PyObject
*arg2
= (PyObject
*) 0 ;
23419 PyObject
*arg3
= (PyObject
*) 0 ;
23420 PyObject
*arg4
= (PyObject
*) 0 ;
23421 PyObject
*arg5
= (PyObject
*) 0 ;
23422 PyObject
*result
= 0 ;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 PyObject
* obj2
= 0 ;
23428 PyObject
* obj3
= 0 ;
23429 PyObject
* obj4
= 0 ;
23430 char * kwnames
[] = {
23431 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23436 if (!SWIG_IsOK(res1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= result
;
23457 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23460 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23461 return SWIG_Py_Void();
23464 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
= 0;
23467 wxColour
*arg2
= 0 ;
23468 wxDCTextColourChanger
*result
= 0 ;
23472 PyObject
* obj0
= 0 ;
23473 PyObject
* obj1
= 0 ;
23474 char * kwnames
[] = {
23475 (char *) "dc",(char *) "col", NULL
23478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23479 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23480 if (!SWIG_IsOK(res1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23489 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23504 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23505 PyObject
*resultobj
= 0;
23506 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23509 PyObject
*swig_obj
[1] ;
23511 if (!args
) SWIG_fail
;
23512 swig_obj
[0] = args
;
23513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23514 if (!SWIG_IsOK(res1
)) {
23515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23517 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_Py_Void();
23532 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23535 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23536 return SWIG_Py_Void();
23539 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23540 return SWIG_Python_InitShadowInstance(args
);
23543 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
= 0;
23547 wxDCPenChanger
*result
= 0 ;
23552 PyObject
* obj0
= 0 ;
23553 PyObject
* obj1
= 0 ;
23554 char * kwnames
[] = {
23555 (char *) "dc",(char *) "pen", NULL
23558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23559 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23560 if (!SWIG_IsOK(res1
)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23568 if (!SWIG_IsOK(res2
)) {
23569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23574 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23588 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23589 PyObject
*resultobj
= 0;
23590 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23593 PyObject
*swig_obj
[1] ;
23595 if (!args
) SWIG_fail
;
23596 swig_obj
[0] = args
;
23597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23598 if (!SWIG_IsOK(res1
)) {
23599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23601 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_Py_Void();
23616 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23619 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23620 return SWIG_Py_Void();
23623 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23624 return SWIG_Python_InitShadowInstance(args
);
23627 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
= 0;
23630 wxBrush
*arg2
= 0 ;
23631 wxDCBrushChanger
*result
= 0 ;
23636 PyObject
* obj0
= 0 ;
23637 PyObject
* obj1
= 0 ;
23638 char * kwnames
[] = {
23639 (char *) "dc",(char *) "brush", NULL
23642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23643 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23644 if (!SWIG_IsOK(res1
)) {
23645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23652 if (!SWIG_IsOK(res2
)) {
23653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23658 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23672 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23673 PyObject
*resultobj
= 0;
23674 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23677 PyObject
*swig_obj
[1] ;
23679 if (!args
) SWIG_fail
;
23680 swig_obj
[0] = args
;
23681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23682 if (!SWIG_IsOK(res1
)) {
23683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23685 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_Py_Void();
23700 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23703 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23704 return SWIG_Py_Void();
23707 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23708 return SWIG_Python_InitShadowInstance(args
);
23711 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23712 PyObject
*resultobj
= 0;
23714 wxRegion
*arg2
= 0 ;
23715 wxDCClipper
*result
= 0 ;
23721 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23723 if (!SWIG_IsOK(res1
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23729 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23730 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23731 if (!SWIG_IsOK(res2
)) {
23732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23737 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23751 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23752 PyObject
*resultobj
= 0;
23755 wxDCClipper
*result
= 0 ;
23760 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23762 if (!SWIG_IsOK(res1
)) {
23763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23771 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23786 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23787 PyObject
*resultobj
= 0;
23793 wxDCClipper
*result
= 0 ;
23805 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23807 if (!SWIG_IsOK(res1
)) {
23808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23814 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23815 if (!SWIG_IsOK(ecode2
)) {
23816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23818 arg2
= static_cast< int >(val2
);
23819 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23820 if (!SWIG_IsOK(ecode3
)) {
23821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23823 arg3
= static_cast< int >(val3
);
23824 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23825 if (!SWIG_IsOK(ecode4
)) {
23826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23828 arg4
= static_cast< int >(val4
);
23829 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23830 if (!SWIG_IsOK(ecode5
)) {
23831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23833 arg5
= static_cast< int >(val5
);
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23847 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23851 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23856 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23857 _v
= SWIG_CheckState(res
);
23859 if (!_v
) goto check_1
;
23860 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23865 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23868 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23872 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23877 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23878 PyObject
*resultobj
= 0;
23879 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23882 PyObject
*swig_obj
[1] ;
23884 if (!args
) SWIG_fail
;
23885 swig_obj
[0] = args
;
23886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23887 if (!SWIG_IsOK(res1
)) {
23888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23890 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= SWIG_Py_Void();
23905 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23908 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23909 return SWIG_Py_Void();
23912 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23913 return SWIG_Python_InitShadowInstance(args
);
23916 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
= 0;
23918 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
23919 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23920 wxMemoryDC
*result
= 0 ;
23923 PyObject
* obj0
= 0 ;
23924 char * kwnames
[] = {
23925 (char *) "bitmap", NULL
23928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23930 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
23931 if (!SWIG_IsOK(res1
)) {
23932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23937 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23940 if (!wxPyCheckForApp()) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23953 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
= 0;
23955 wxDC
*arg1
= (wxDC
*) 0 ;
23956 wxMemoryDC
*result
= 0 ;
23959 PyObject
* obj0
= 0 ;
23960 char * kwnames
[] = {
23961 (char *) "oldDC", NULL
23964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23966 if (!SWIG_IsOK(res1
)) {
23967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23971 if (!wxPyCheckForApp()) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23984 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
= 0;
23986 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23987 wxBitmap
*arg2
= 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char * kwnames
[] = {
23995 (char *) "self",(char *) "bitmap", NULL
23998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24000 if (!SWIG_IsOK(res1
)) {
24001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24003 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24005 if (!SWIG_IsOK(res2
)) {
24006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24011 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 (arg1
)->SelectObject(*arg2
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= SWIG_Py_Void();
24025 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
= 0;
24027 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24028 wxBitmap
*arg2
= 0 ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 char * kwnames
[] = {
24036 (char *) "self",(char *) "bmp", NULL
24039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24041 if (!SWIG_IsOK(res1
)) {
24042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24044 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24046 if (!SWIG_IsOK(res2
)) {
24047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24052 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= SWIG_Py_Void();
24066 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24069 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24070 return SWIG_Py_Void();
24073 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24074 return SWIG_Python_InitShadowInstance(args
);
24077 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24078 PyObject
*resultobj
= 0;
24079 wxScreenDC
*result
= 0 ;
24081 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24083 if (!wxPyCheckForApp()) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 result
= (wxScreenDC
*)new wxScreenDC();
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24096 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
= 0;
24098 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24099 wxWindow
*arg2
= (wxWindow
*) 0 ;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24107 char * kwnames
[] = {
24108 (char *) "self",(char *) "window", NULL
24111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24113 if (!SWIG_IsOK(res1
)) {
24114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24116 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24118 if (!SWIG_IsOK(res2
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24121 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24137 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
= 0;
24139 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24140 wxRect
*arg2
= (wxRect
*) NULL
;
24146 PyObject
* obj0
= 0 ;
24147 PyObject
* obj1
= 0 ;
24148 char * kwnames
[] = {
24149 (char *) "self",(char *) "rect", NULL
24152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24154 if (!SWIG_IsOK(res1
)) {
24155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24157 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24160 if (!SWIG_IsOK(res2
)) {
24161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24163 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24180 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 PyObject
*resultobj
= 0;
24182 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24186 PyObject
*swig_obj
[1] ;
24188 if (!args
) SWIG_fail
;
24189 swig_obj
[0] = args
;
24190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24191 if (!SWIG_IsOK(res1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24194 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (bool)(arg1
)->EndDrawingOnTop();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24210 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24213 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24214 return SWIG_Py_Void();
24217 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24218 return SWIG_Python_InitShadowInstance(args
);
24221 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
= 0;
24223 wxWindow
*arg1
= (wxWindow
*) 0 ;
24224 wxWindowDC
*result
= 0 ;
24227 PyObject
* obj0
= 0 ;
24228 char * kwnames
[] = {
24229 (char *) "win", NULL
24232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24237 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24239 if (!wxPyCheckForApp()) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24252 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24255 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24256 return SWIG_Py_Void();
24259 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24260 return SWIG_Python_InitShadowInstance(args
);
24263 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
= 0;
24265 wxWindow
*arg1
= (wxWindow
*) 0 ;
24266 wxClientDC
*result
= 0 ;
24269 PyObject
* obj0
= 0 ;
24270 char * kwnames
[] = {
24271 (char *) "win", NULL
24274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24281 if (!wxPyCheckForApp()) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 result
= (wxClientDC
*)new wxClientDC(arg1
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24294 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24297 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24298 return SWIG_Py_Void();
24301 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24302 return SWIG_Python_InitShadowInstance(args
);
24305 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
= 0;
24307 wxWindow
*arg1
= (wxWindow
*) 0 ;
24308 wxPaintDC
*result
= 0 ;
24311 PyObject
* obj0
= 0 ;
24312 char * kwnames
[] = {
24313 (char *) "win", NULL
24316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24318 if (!SWIG_IsOK(res1
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24321 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24323 if (!wxPyCheckForApp()) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24336 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24339 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24340 return SWIG_Py_Void();
24343 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24344 return SWIG_Python_InitShadowInstance(args
);
24347 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24348 PyObject
*resultobj
= 0;
24349 wxDC
*arg1
= (wxDC
*) 0 ;
24350 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24351 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24352 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24353 wxBufferedDC
*result
= 0 ;
24361 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24363 if (!SWIG_IsOK(res1
)) {
24364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24368 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24369 if (!SWIG_IsOK(res2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24375 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24378 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24379 if (!SWIG_IsOK(ecode3
)) {
24380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24382 arg3
= static_cast< int >(val3
);
24385 if (!wxPyCheckForApp()) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24398 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24399 PyObject
*resultobj
= 0;
24400 wxDC
*arg1
= (wxDC
*) 0 ;
24402 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24403 wxBufferedDC
*result
= 0 ;
24410 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24418 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24421 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24422 if (!SWIG_IsOK(ecode3
)) {
24423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24425 arg3
= static_cast< int >(val3
);
24428 if (!wxPyCheckForApp()) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24441 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24445 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24447 if ((argc
>= 1) && (argc
<= 3)) {
24451 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24452 _v
= SWIG_CheckState(res
);
24454 if (!_v
) goto check_1
;
24456 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24460 if ((argc
>= 2) && (argc
<= 3)) {
24461 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24465 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24470 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24471 PyObject
*resultobj
= 0;
24472 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24475 PyObject
*swig_obj
[1] ;
24477 if (!args
) SWIG_fail
;
24478 swig_obj
[0] = args
;
24479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24480 if (!SWIG_IsOK(res1
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24483 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= SWIG_Py_Void();
24498 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24499 PyObject
*resultobj
= 0;
24500 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24503 PyObject
*swig_obj
[1] ;
24505 if (!args
) SWIG_fail
;
24506 swig_obj
[0] = args
;
24507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24511 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= SWIG_Py_Void();
24525 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24528 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24529 return SWIG_Py_Void();
24532 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24533 return SWIG_Python_InitShadowInstance(args
);
24536 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
= 0;
24538 wxWindow
*arg1
= (wxWindow
*) 0 ;
24539 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24540 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24541 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24542 wxBufferedPaintDC
*result
= 0 ;
24549 PyObject
* obj0
= 0 ;
24550 PyObject
* obj1
= 0 ;
24551 PyObject
* obj2
= 0 ;
24552 char * kwnames
[] = {
24553 (char *) "window",(char *) "buffer",(char *) "style", NULL
24556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24561 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24564 if (!SWIG_IsOK(res2
)) {
24565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24570 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24574 if (!SWIG_IsOK(ecode3
)) {
24575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24577 arg3
= static_cast< int >(val3
);
24580 if (!wxPyCheckForApp()) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24593 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24596 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24597 return SWIG_Py_Void();
24600 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24601 return SWIG_Python_InitShadowInstance(args
);
24604 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
= 0;
24606 wxWindow
*arg1
= (wxWindow
*) 0 ;
24607 wxAutoBufferedPaintDC
*result
= 0 ;
24610 PyObject
* obj0
= 0 ;
24611 char * kwnames
[] = {
24612 (char *) "win", NULL
24615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24617 if (!SWIG_IsOK(res1
)) {
24618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24620 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24634 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24637 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24638 return SWIG_Py_Void();
24641 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24642 return SWIG_Python_InitShadowInstance(args
);
24645 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxWindow
*arg1
= (wxWindow
*) 0 ;
24651 PyObject
* obj0
= 0 ;
24652 char * kwnames
[] = {
24653 (char *) "window", NULL
24656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24658 if (!SWIG_IsOK(res1
)) {
24659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24677 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24681 wxMirrorDC
*result
= 0 ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 char * kwnames
[] = {
24689 (char *) "dc",(char *) "mirror", NULL
24692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24693 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24694 if (!SWIG_IsOK(res1
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24701 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24702 if (!SWIG_IsOK(ecode2
)) {
24703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24705 arg2
= static_cast< bool >(val2
);
24707 if (!wxPyCheckForApp()) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24720 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24723 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24724 return SWIG_Py_Void();
24727 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24728 return SWIG_Python_InitShadowInstance(args
);
24731 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
= 0;
24733 wxPrintData
*arg1
= 0 ;
24734 wxPostScriptDC
*result
= 0 ;
24737 PyObject
* obj0
= 0 ;
24738 char * kwnames
[] = {
24739 (char *) "printData", NULL
24742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24743 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24744 if (!SWIG_IsOK(res1
)) {
24745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24750 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24752 if (!wxPyCheckForApp()) SWIG_fail
;
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24765 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24766 PyObject
*resultobj
= 0;
24767 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24768 wxPrintData
*result
= 0 ;
24771 PyObject
*swig_obj
[1] ;
24773 if (!args
) SWIG_fail
;
24774 swig_obj
[0] = args
;
24775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24779 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24783 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24784 result
= (wxPrintData
*) &_result_ref
;
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24796 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24797 PyObject
*resultobj
= 0;
24798 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24799 wxPrintData
*arg2
= 0 ;
24804 PyObject
* obj0
= 0 ;
24805 PyObject
* obj1
= 0 ;
24806 char * kwnames
[] = {
24807 (char *) "self",(char *) "data", NULL
24810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24812 if (!SWIG_IsOK(res1
)) {
24813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24815 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24817 if (!SWIG_IsOK(res2
)) {
24818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24823 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= SWIG_Py_Void();
24837 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
= 0;
24842 PyObject
* obj0
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "ppi", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24848 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24849 if (!SWIG_IsOK(ecode1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24852 arg1
= static_cast< int >(val1
);
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 wxPostScriptDC::SetResolution(arg1
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= SWIG_Py_Void();
24866 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24867 PyObject
*resultobj
= 0;
24870 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (int)wxPostScriptDC::GetResolution();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_From_int(static_cast< int >(result
));
24884 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24886 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24887 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24888 return SWIG_Py_Void();
24891 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24892 return SWIG_Python_InitShadowInstance(args
);
24895 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
= 0;
24897 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24898 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24899 wxMetaFile
*result
= 0 ;
24900 bool temp1
= false ;
24901 PyObject
* obj0
= 0 ;
24902 char * kwnames
[] = {
24903 (char *) "filename", NULL
24906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24909 arg1
= wxString_in_helper(obj0
);
24910 if (arg1
== NULL
) SWIG_fail
;
24915 if (!wxPyCheckForApp()) SWIG_fail
;
24916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24917 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24918 wxPyEndAllowThreads(__tstate
);
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24936 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24938 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24939 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24940 return SWIG_Py_Void();
24943 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24944 return SWIG_Python_InitShadowInstance(args
);
24947 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24949 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24950 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24951 int arg2
= (int) 0 ;
24952 int arg3
= (int) 0 ;
24953 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24954 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24955 wxMetaFileDC
*result
= 0 ;
24956 bool temp1
= false ;
24961 bool temp4
= false ;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 PyObject
* obj2
= 0 ;
24965 PyObject
* obj3
= 0 ;
24966 char * kwnames
[] = {
24967 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24973 arg1
= wxString_in_helper(obj0
);
24974 if (arg1
== NULL
) SWIG_fail
;
24979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24980 if (!SWIG_IsOK(ecode2
)) {
24981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24983 arg2
= static_cast< int >(val2
);
24986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24987 if (!SWIG_IsOK(ecode3
)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24990 arg3
= static_cast< int >(val3
);
24994 arg4
= wxString_in_helper(obj3
);
24995 if (arg4
== NULL
) SWIG_fail
;
25000 if (!wxPyCheckForApp()) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25002 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25029 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25032 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25033 return SWIG_Py_Void();
25036 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25037 return SWIG_Python_InitShadowInstance(args
);
25040 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
= 0;
25042 wxPrintData
*arg1
= 0 ;
25043 wxPrinterDC
*result
= 0 ;
25046 PyObject
* obj0
= 0 ;
25047 char * kwnames
[] = {
25048 (char *) "printData", NULL
25051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25052 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25053 if (!SWIG_IsOK(res1
)) {
25054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25059 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25061 if (!wxPyCheckForApp()) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25074 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25077 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25078 return SWIG_Py_Void();
25081 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25082 return SWIG_Python_InitShadowInstance(args
);
25085 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
= 0;
25087 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25088 wxGraphicsObject
*result
= 0 ;
25091 PyObject
* obj0
= 0 ;
25092 char * kwnames
[] = {
25093 (char *) "renderer", NULL
25096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25099 if (!SWIG_IsOK(res1
)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25102 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25105 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25115 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25116 PyObject
*resultobj
= 0;
25117 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25120 PyObject
*swig_obj
[1] ;
25122 if (!args
) SWIG_fail
;
25123 swig_obj
[0] = args
;
25124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25125 if (!SWIG_IsOK(res1
)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25128 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25134 resultobj
= SWIG_Py_Void();
25141 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25142 PyObject
*resultobj
= 0;
25143 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25147 PyObject
*swig_obj
[1] ;
25149 if (!args
) SWIG_fail
;
25150 swig_obj
[0] = args
;
25151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25155 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25157 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25158 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25169 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25170 PyObject
*resultobj
= 0;
25171 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25172 wxGraphicsRenderer
*result
= 0 ;
25175 PyObject
*swig_obj
[1] ;
25177 if (!args
) SWIG_fail
;
25178 swig_obj
[0] = args
;
25179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25180 if (!SWIG_IsOK(res1
)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25183 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25185 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25195 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25198 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25199 return SWIG_Py_Void();
25202 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25203 return SWIG_Python_InitShadowInstance(args
);
25206 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25207 PyObject
*resultobj
= 0;
25208 wxGraphicsPen
*result
= 0 ;
25210 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25212 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25222 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25223 PyObject
*resultobj
= 0;
25224 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25227 PyObject
*swig_obj
[1] ;
25229 if (!args
) SWIG_fail
;
25230 swig_obj
[0] = args
;
25231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25232 if (!SWIG_IsOK(res1
)) {
25233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25235 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25241 resultobj
= SWIG_Py_Void();
25248 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25251 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25252 return SWIG_Py_Void();
25255 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25256 return SWIG_Python_InitShadowInstance(args
);
25259 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25260 PyObject
*resultobj
= 0;
25261 wxGraphicsBrush
*result
= 0 ;
25263 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25265 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25275 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25276 PyObject
*resultobj
= 0;
25277 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25280 PyObject
*swig_obj
[1] ;
25282 if (!args
) SWIG_fail
;
25283 swig_obj
[0] = args
;
25284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25285 if (!SWIG_IsOK(res1
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25288 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25292 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= SWIG_Py_Void();
25301 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25304 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25305 return SWIG_Py_Void();
25308 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25309 return SWIG_Python_InitShadowInstance(args
);
25312 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25313 PyObject
*resultobj
= 0;
25314 wxGraphicsFont
*result
= 0 ;
25316 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25318 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25328 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25329 PyObject
*resultobj
= 0;
25330 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25333 PyObject
*swig_obj
[1] ;
25335 if (!args
) SWIG_fail
;
25336 swig_obj
[0] = args
;
25337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25338 if (!SWIG_IsOK(res1
)) {
25339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25341 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25347 resultobj
= SWIG_Py_Void();
25354 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25357 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25358 return SWIG_Py_Void();
25361 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25362 return SWIG_Python_InitShadowInstance(args
);
25365 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 PyObject
*resultobj
= 0;
25367 wxGraphicsMatrix
*result
= 0 ;
25369 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25371 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25381 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25382 PyObject
*resultobj
= 0;
25383 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25386 PyObject
*swig_obj
[1] ;
25388 if (!args
) SWIG_fail
;
25389 swig_obj
[0] = args
;
25390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25391 if (!SWIG_IsOK(res1
)) {
25392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25394 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25400 resultobj
= SWIG_Py_Void();
25407 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
= 0;
25409 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25410 wxGraphicsMatrix
*arg2
= 0 ;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 char * kwnames
[] = {
25418 (char *) "self",(char *) "t", NULL
25421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25426 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25427 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25428 if (!SWIG_IsOK(res2
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25434 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25436 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= SWIG_Py_Void();
25446 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
= 0;
25448 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25449 wxGraphicsMatrix
*arg2
= 0 ;
25454 PyObject
* obj0
= 0 ;
25455 PyObject
* obj1
= 0 ;
25456 char * kwnames
[] = {
25457 (char *) "self",(char *) "t", NULL
25460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25462 if (!SWIG_IsOK(res1
)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25465 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25467 if (!SWIG_IsOK(res2
)) {
25468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25473 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25475 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_Py_Void();
25485 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25486 PyObject
*resultobj
= 0;
25487 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25488 wxDouble arg2
= (wxDouble
) 1.0 ;
25489 wxDouble arg3
= (wxDouble
) 0.0 ;
25490 wxDouble arg4
= (wxDouble
) 0.0 ;
25491 wxDouble arg5
= (wxDouble
) 1.0 ;
25492 wxDouble arg6
= (wxDouble
) 0.0 ;
25493 wxDouble arg7
= (wxDouble
) 0.0 ;
25508 PyObject
* obj0
= 0 ;
25509 PyObject
* obj1
= 0 ;
25510 PyObject
* obj2
= 0 ;
25511 PyObject
* obj3
= 0 ;
25512 PyObject
* obj4
= 0 ;
25513 PyObject
* obj5
= 0 ;
25514 PyObject
* obj6
= 0 ;
25515 char * kwnames
[] = {
25516 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25521 if (!SWIG_IsOK(res1
)) {
25522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25524 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25526 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25527 if (!SWIG_IsOK(ecode2
)) {
25528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25530 arg2
= static_cast< wxDouble
>(val2
);
25533 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25534 if (!SWIG_IsOK(ecode3
)) {
25535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25537 arg3
= static_cast< wxDouble
>(val3
);
25540 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25541 if (!SWIG_IsOK(ecode4
)) {
25542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25544 arg4
= static_cast< wxDouble
>(val4
);
25547 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25548 if (!SWIG_IsOK(ecode5
)) {
25549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25551 arg5
= static_cast< wxDouble
>(val5
);
25554 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25555 if (!SWIG_IsOK(ecode6
)) {
25556 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25558 arg6
= static_cast< wxDouble
>(val6
);
25561 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25562 if (!SWIG_IsOK(ecode7
)) {
25563 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25565 arg7
= static_cast< wxDouble
>(val7
);
25568 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25571 resultobj
= SWIG_Py_Void();
25578 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25579 PyObject
*resultobj
= 0;
25580 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25583 PyObject
*swig_obj
[1] ;
25585 if (!args
) SWIG_fail
;
25586 swig_obj
[0] = args
;
25587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25588 if (!SWIG_IsOK(res1
)) {
25589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25591 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25596 resultobj
= SWIG_Py_Void();
25603 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
= 0;
25605 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25606 wxGraphicsMatrix
*arg2
= 0 ;
25612 PyObject
* obj0
= 0 ;
25613 PyObject
* obj1
= 0 ;
25614 char * kwnames
[] = {
25615 (char *) "self",(char *) "t", NULL
25618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25620 if (!SWIG_IsOK(res1
)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25623 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25625 if (!SWIG_IsOK(res2
)) {
25626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25631 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25633 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25645 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25646 PyObject
*resultobj
= 0;
25647 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25651 PyObject
*swig_obj
[1] ;
25653 if (!args
) SWIG_fail
;
25654 swig_obj
[0] = args
;
25655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25659 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25661 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25662 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25673 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
= 0;
25675 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 PyObject
* obj2
= 0 ;
25687 char * kwnames
[] = {
25688 (char *) "self",(char *) "dx",(char *) "dy", NULL
25691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25693 if (!SWIG_IsOK(res1
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25696 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25697 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25698 if (!SWIG_IsOK(ecode2
)) {
25699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25701 arg2
= static_cast< wxDouble
>(val2
);
25702 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25703 if (!SWIG_IsOK(ecode3
)) {
25704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25706 arg3
= static_cast< wxDouble
>(val3
);
25708 (arg1
)->Translate(arg2
,arg3
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25711 resultobj
= SWIG_Py_Void();
25718 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
= 0;
25720 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25729 PyObject
* obj0
= 0 ;
25730 PyObject
* obj1
= 0 ;
25731 PyObject
* obj2
= 0 ;
25732 char * kwnames
[] = {
25733 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25738 if (!SWIG_IsOK(res1
)) {
25739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25741 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25742 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25743 if (!SWIG_IsOK(ecode2
)) {
25744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25746 arg2
= static_cast< wxDouble
>(val2
);
25747 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25748 if (!SWIG_IsOK(ecode3
)) {
25749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25751 arg3
= static_cast< wxDouble
>(val3
);
25753 (arg1
)->Scale(arg2
,arg3
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25756 resultobj
= SWIG_Py_Void();
25763 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25764 PyObject
*resultobj
= 0;
25765 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 char * kwnames
[] = {
25774 (char *) "self",(char *) "angle", NULL
25777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25779 if (!SWIG_IsOK(res1
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25782 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25783 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25784 if (!SWIG_IsOK(ecode2
)) {
25785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25787 arg2
= static_cast< wxDouble
>(val2
);
25789 (arg1
)->Rotate(arg2
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_Py_Void();
25799 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
= 0;
25801 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25802 wxDouble
*arg2
= (wxDouble
*) 0 ;
25803 wxDouble
*arg3
= (wxDouble
*) 0 ;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 PyObject
* obj2
= 0 ;
25813 char * kwnames
[] = {
25814 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25819 if (!SWIG_IsOK(res1
)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25822 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25823 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25825 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25826 if (!SWIG_IsOK(ecode
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25829 temp2
= static_cast< wxDouble
>(val
);
25831 res2
= SWIG_AddTmpMask(ecode
);
25833 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25835 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25836 if (!SWIG_IsOK(ecode
)) {
25837 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25839 temp3
= static_cast< wxDouble
>(val
);
25841 res3
= SWIG_AddTmpMask(ecode
);
25844 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_Py_Void();
25848 if (SWIG_IsTmpObj(res2
)) {
25849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25851 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25854 if (SWIG_IsTmpObj(res3
)) {
25855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25857 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25866 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
= 0;
25868 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25869 wxDouble
*arg2
= (wxDouble
*) 0 ;
25870 wxDouble
*arg3
= (wxDouble
*) 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 PyObject
* obj2
= 0 ;
25880 char * kwnames
[] = {
25881 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25886 if (!SWIG_IsOK(res1
)) {
25887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25889 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25890 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25892 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25893 if (!SWIG_IsOK(ecode
)) {
25894 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25896 temp2
= static_cast< wxDouble
>(val
);
25898 res2
= SWIG_AddTmpMask(ecode
);
25900 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25902 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25903 if (!SWIG_IsOK(ecode
)) {
25904 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25906 temp3
= static_cast< wxDouble
>(val
);
25908 res3
= SWIG_AddTmpMask(ecode
);
25911 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_Py_Void();
25915 if (SWIG_IsTmpObj(res2
)) {
25916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25918 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25921 if (SWIG_IsTmpObj(res3
)) {
25922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25924 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25933 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25934 PyObject
*resultobj
= 0;
25935 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25939 PyObject
*swig_obj
[1] ;
25941 if (!args
) SWIG_fail
;
25942 swig_obj
[0] = args
;
25943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25944 if (!SWIG_IsOK(res1
)) {
25945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25947 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25949 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25959 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25962 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
25963 return SWIG_Py_Void();
25966 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25967 return SWIG_Python_InitShadowInstance(args
);
25970 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25971 PyObject
*resultobj
= 0;
25972 wxGraphicsPath
*result
= 0 ;
25974 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
25976 if (!wxPyCheckForApp()) SWIG_fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (wxGraphicsPath
*)new wxGraphicsPath();
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
25989 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25990 PyObject
*resultobj
= 0;
25991 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25994 PyObject
*swig_obj
[1] ;
25996 if (!args
) SWIG_fail
;
25997 swig_obj
[0] = args
;
25998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25999 if (!SWIG_IsOK(res1
)) {
26000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26002 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_Py_Void();
26015 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26016 PyObject
*resultobj
= 0;
26017 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26027 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26029 if (!SWIG_IsOK(res1
)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26032 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26033 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26034 if (!SWIG_IsOK(ecode2
)) {
26035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26037 arg2
= static_cast< wxDouble
>(val2
);
26038 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26039 if (!SWIG_IsOK(ecode3
)) {
26040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26042 arg3
= static_cast< wxDouble
>(val3
);
26044 (arg1
)->MoveToPoint(arg2
,arg3
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 resultobj
= SWIG_Py_Void();
26054 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26055 PyObject
*resultobj
= 0;
26056 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26057 wxPoint2D
*arg2
= 0 ;
26062 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26064 if (!SWIG_IsOK(res1
)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26067 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26070 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26073 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_Py_Void();
26083 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26087 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26090 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26093 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26097 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26102 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26103 PyObject
*resultobj
= 0;
26104 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26114 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26119 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26120 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26121 if (!SWIG_IsOK(ecode2
)) {
26122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26124 arg2
= static_cast< wxDouble
>(val2
);
26125 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26126 if (!SWIG_IsOK(ecode3
)) {
26127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26129 arg3
= static_cast< wxDouble
>(val3
);
26131 (arg1
)->AddLineToPoint(arg2
,arg3
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= SWIG_Py_Void();
26141 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26142 PyObject
*resultobj
= 0;
26143 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26144 wxPoint2D
*arg2
= 0 ;
26149 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26151 if (!SWIG_IsOK(res1
)) {
26152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26154 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26157 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26160 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= SWIG_Py_Void();
26170 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26174 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26177 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26180 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26184 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26189 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26190 PyObject
*resultobj
= 0;
26191 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26213 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26218 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26219 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26220 if (!SWIG_IsOK(ecode2
)) {
26221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26223 arg2
= static_cast< wxDouble
>(val2
);
26224 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26225 if (!SWIG_IsOK(ecode3
)) {
26226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26228 arg3
= static_cast< wxDouble
>(val3
);
26229 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26230 if (!SWIG_IsOK(ecode4
)) {
26231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26233 arg4
= static_cast< wxDouble
>(val4
);
26234 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26235 if (!SWIG_IsOK(ecode5
)) {
26236 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26238 arg5
= static_cast< wxDouble
>(val5
);
26239 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26240 if (!SWIG_IsOK(ecode6
)) {
26241 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26243 arg6
= static_cast< wxDouble
>(val6
);
26244 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26245 if (!SWIG_IsOK(ecode7
)) {
26246 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26248 arg7
= static_cast< wxDouble
>(val7
);
26250 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_Py_Void();
26260 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26261 PyObject
*resultobj
= 0;
26262 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26263 wxPoint2D
*arg2
= 0 ;
26264 wxPoint2D
*arg3
= 0 ;
26265 wxPoint2D
*arg4
= 0 ;
26272 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26274 if (!SWIG_IsOK(res1
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26277 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26280 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26284 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26288 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26291 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= SWIG_Py_Void();
26301 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26305 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26308 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26311 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26315 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26320 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26321 PyObject
*resultobj
= 0;
26322 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26323 wxGraphicsPath
*arg2
= 0 ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 char * kwnames
[] = {
26331 (char *) "self",(char *) "path", NULL
26334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26336 if (!SWIG_IsOK(res1
)) {
26337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26339 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26341 if (!SWIG_IsOK(res2
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26347 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26349 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= SWIG_Py_Void();
26359 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26360 PyObject
*resultobj
= 0;
26361 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26364 PyObject
*swig_obj
[1] ;
26366 if (!args
) SWIG_fail
;
26367 swig_obj
[0] = args
;
26368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26369 if (!SWIG_IsOK(res1
)) {
26370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26372 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26374 (arg1
)->CloseSubpath();
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_Py_Void();
26384 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26385 PyObject
*resultobj
= 0;
26386 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26390 PyObject
*swig_obj
[1] ;
26392 if (!args
) SWIG_fail
;
26393 swig_obj
[0] = args
;
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_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26398 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26400 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26401 if (PyErr_Occurred()) SWIG_fail
;
26403 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26410 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26411 PyObject
*resultobj
= 0;
26412 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26434 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26436 if (!SWIG_IsOK(res1
)) {
26437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26439 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26440 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26441 if (!SWIG_IsOK(ecode2
)) {
26442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26444 arg2
= static_cast< wxDouble
>(val2
);
26445 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26446 if (!SWIG_IsOK(ecode3
)) {
26447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26449 arg3
= static_cast< wxDouble
>(val3
);
26450 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26451 if (!SWIG_IsOK(ecode4
)) {
26452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26454 arg4
= static_cast< wxDouble
>(val4
);
26455 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26456 if (!SWIG_IsOK(ecode5
)) {
26457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26459 arg5
= static_cast< wxDouble
>(val5
);
26460 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26461 if (!SWIG_IsOK(ecode6
)) {
26462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26464 arg6
= static_cast< wxDouble
>(val6
);
26465 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26466 if (!SWIG_IsOK(ecode7
)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26469 arg7
= static_cast< bool >(val7
);
26471 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26472 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= SWIG_Py_Void();
26481 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26482 PyObject
*resultobj
= 0;
26483 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26484 wxPoint2D
*arg2
= 0 ;
26501 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26503 if (!SWIG_IsOK(res1
)) {
26504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26506 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26509 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26511 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26512 if (!SWIG_IsOK(ecode3
)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26515 arg3
= static_cast< wxDouble
>(val3
);
26516 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26517 if (!SWIG_IsOK(ecode4
)) {
26518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26520 arg4
= static_cast< wxDouble
>(val4
);
26521 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26522 if (!SWIG_IsOK(ecode5
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26525 arg5
= static_cast< wxDouble
>(val5
);
26526 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26527 if (!SWIG_IsOK(ecode6
)) {
26528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26530 arg6
= static_cast< bool >(val6
);
26532 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 resultobj
= SWIG_Py_Void();
26542 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26546 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26549 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26552 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26556 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26561 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
= 0;
26563 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26578 PyObject
* obj0
= 0 ;
26579 PyObject
* obj1
= 0 ;
26580 PyObject
* obj2
= 0 ;
26581 PyObject
* obj3
= 0 ;
26582 PyObject
* obj4
= 0 ;
26583 char * kwnames
[] = {
26584 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26589 if (!SWIG_IsOK(res1
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26592 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26593 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26594 if (!SWIG_IsOK(ecode2
)) {
26595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26597 arg2
= static_cast< wxDouble
>(val2
);
26598 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26599 if (!SWIG_IsOK(ecode3
)) {
26600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26602 arg3
= static_cast< wxDouble
>(val3
);
26603 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26604 if (!SWIG_IsOK(ecode4
)) {
26605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26607 arg4
= static_cast< wxDouble
>(val4
);
26608 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26609 if (!SWIG_IsOK(ecode5
)) {
26610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26612 arg5
= static_cast< wxDouble
>(val5
);
26614 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_Py_Void();
26624 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
= 0;
26626 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 PyObject
* obj2
= 0 ;
26644 PyObject
* obj3
= 0 ;
26645 PyObject
* obj4
= 0 ;
26646 char * kwnames
[] = {
26647 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26652 if (!SWIG_IsOK(res1
)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26655 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26656 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26657 if (!SWIG_IsOK(ecode2
)) {
26658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26660 arg2
= static_cast< wxDouble
>(val2
);
26661 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26662 if (!SWIG_IsOK(ecode3
)) {
26663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26665 arg3
= static_cast< wxDouble
>(val3
);
26666 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26667 if (!SWIG_IsOK(ecode4
)) {
26668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26670 arg4
= static_cast< wxDouble
>(val4
);
26671 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26672 if (!SWIG_IsOK(ecode5
)) {
26673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26675 arg5
= static_cast< wxDouble
>(val5
);
26677 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_Py_Void();
26687 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
= 0;
26689 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26701 PyObject
* obj0
= 0 ;
26702 PyObject
* obj1
= 0 ;
26703 PyObject
* obj2
= 0 ;
26704 PyObject
* obj3
= 0 ;
26705 char * kwnames
[] = {
26706 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26711 if (!SWIG_IsOK(res1
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26714 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26715 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26716 if (!SWIG_IsOK(ecode2
)) {
26717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26719 arg2
= static_cast< wxDouble
>(val2
);
26720 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26721 if (!SWIG_IsOK(ecode3
)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26724 arg3
= static_cast< wxDouble
>(val3
);
26725 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26726 if (!SWIG_IsOK(ecode4
)) {
26727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26729 arg4
= static_cast< wxDouble
>(val4
);
26731 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26734 resultobj
= SWIG_Py_Void();
26741 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
= 0;
26743 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26764 PyObject
* obj3
= 0 ;
26765 PyObject
* obj4
= 0 ;
26766 PyObject
* obj5
= 0 ;
26767 char * kwnames
[] = {
26768 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26773 if (!SWIG_IsOK(res1
)) {
26774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26776 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26777 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26778 if (!SWIG_IsOK(ecode2
)) {
26779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26781 arg2
= static_cast< wxDouble
>(val2
);
26782 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26783 if (!SWIG_IsOK(ecode3
)) {
26784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26786 arg3
= static_cast< wxDouble
>(val3
);
26787 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26788 if (!SWIG_IsOK(ecode4
)) {
26789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26791 arg4
= static_cast< wxDouble
>(val4
);
26792 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26793 if (!SWIG_IsOK(ecode5
)) {
26794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26796 arg5
= static_cast< wxDouble
>(val5
);
26797 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26798 if (!SWIG_IsOK(ecode6
)) {
26799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26801 arg6
= static_cast< wxDouble
>(val6
);
26803 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_Py_Void();
26813 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
= 0;
26815 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26830 PyObject
* obj0
= 0 ;
26831 PyObject
* obj1
= 0 ;
26832 PyObject
* obj2
= 0 ;
26833 PyObject
* obj3
= 0 ;
26834 PyObject
* obj4
= 0 ;
26835 char * kwnames
[] = {
26836 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26844 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26845 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26846 if (!SWIG_IsOK(ecode2
)) {
26847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26849 arg2
= static_cast< wxDouble
>(val2
);
26850 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26851 if (!SWIG_IsOK(ecode3
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26854 arg3
= static_cast< wxDouble
>(val3
);
26855 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26856 if (!SWIG_IsOK(ecode4
)) {
26857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26859 arg4
= static_cast< wxDouble
>(val4
);
26860 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26861 if (!SWIG_IsOK(ecode5
)) {
26862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26864 arg5
= static_cast< wxDouble
>(val5
);
26866 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= SWIG_Py_Void();
26876 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
= 0;
26878 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 PyObject
* obj2
= 0 ;
26899 PyObject
* obj3
= 0 ;
26900 PyObject
* obj4
= 0 ;
26901 PyObject
* obj5
= 0 ;
26902 char * kwnames
[] = {
26903 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26908 if (!SWIG_IsOK(res1
)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26911 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26912 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26913 if (!SWIG_IsOK(ecode2
)) {
26914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26916 arg2
= static_cast< wxDouble
>(val2
);
26917 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26918 if (!SWIG_IsOK(ecode3
)) {
26919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26921 arg3
= static_cast< wxDouble
>(val3
);
26922 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26923 if (!SWIG_IsOK(ecode4
)) {
26924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26926 arg4
= static_cast< wxDouble
>(val4
);
26927 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26928 if (!SWIG_IsOK(ecode5
)) {
26929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26931 arg5
= static_cast< wxDouble
>(val5
);
26932 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26933 if (!SWIG_IsOK(ecode6
)) {
26934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26936 arg6
= static_cast< wxDouble
>(val6
);
26938 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_Py_Void();
26948 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26949 PyObject
*resultobj
= 0;
26950 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26954 PyObject
*swig_obj
[1] ;
26956 if (!args
) SWIG_fail
;
26957 swig_obj
[0] = args
;
26958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26959 if (!SWIG_IsOK(res1
)) {
26960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26962 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26964 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26974 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
= 0;
26976 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26977 void *arg2
= (void *) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char * kwnames
[] = {
26984 (char *) "self",(char *) "p", NULL
26987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26989 if (!SWIG_IsOK(res1
)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26992 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26993 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
26994 if (!SWIG_IsOK(res2
)) {
26995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
26998 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= SWIG_Py_Void();
27008 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
= 0;
27010 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27011 wxGraphicsMatrix
*arg2
= 0 ;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 char * kwnames
[] = {
27019 (char *) "self",(char *) "matrix", NULL
27022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27024 if (!SWIG_IsOK(res1
)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27027 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27029 if (!SWIG_IsOK(res2
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27035 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27037 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= SWIG_Py_Void();
27047 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27048 PyObject
*resultobj
= 0;
27049 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27050 wxRect2DDouble result
;
27053 PyObject
*swig_obj
[1] ;
27055 if (!args
) SWIG_fail
;
27056 swig_obj
[0] = args
;
27057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27061 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27063 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27064 if (PyErr_Occurred()) SWIG_fail
;
27066 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27073 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27074 PyObject
*resultobj
= 0;
27075 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27078 int arg4
= (int) wxODDEVEN_RULE
;
27089 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27091 if (!SWIG_IsOK(res1
)) {
27092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27094 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27095 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27096 if (!SWIG_IsOK(ecode2
)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27099 arg2
= static_cast< wxDouble
>(val2
);
27100 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27101 if (!SWIG_IsOK(ecode3
)) {
27102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27104 arg3
= static_cast< wxDouble
>(val3
);
27106 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27107 if (!SWIG_IsOK(ecode4
)) {
27108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27110 arg4
= static_cast< int >(val4
);
27113 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27125 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27126 PyObject
*resultobj
= 0;
27127 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27128 wxPoint2DDouble
*arg2
= 0 ;
27129 int arg3
= (int) wxODDEVEN_RULE
;
27138 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27140 if (!SWIG_IsOK(res1
)) {
27141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27143 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27144 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27145 if (!SWIG_IsOK(res2
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27151 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27153 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27154 if (!SWIG_IsOK(ecode3
)) {
27155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27157 arg3
= static_cast< int >(val3
);
27160 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27172 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27176 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27178 if ((argc
>= 2) && (argc
<= 3)) {
27181 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27182 _v
= SWIG_CheckState(res
);
27184 if (!_v
) goto check_1
;
27188 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27189 _v
= SWIG_CheckState(res
);
27192 if (!_v
) goto check_1
;
27194 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27198 if ((argc
>= 3) && (argc
<= 4)) {
27199 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27203 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27208 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27211 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27212 return SWIG_Py_Void();
27215 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27216 return SWIG_Python_InitShadowInstance(args
);
27219 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27220 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27225 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27226 PyObject
*pyobj
= 0;
27228 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27233 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27234 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27239 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27240 PyObject
*pyobj
= 0;
27242 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27247 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27248 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27253 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27254 PyObject
*pyobj
= 0;
27256 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27261 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27262 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27267 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27268 PyObject
*pyobj
= 0;
27270 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27275 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27276 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27281 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27282 PyObject
*pyobj
= 0;
27284 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27289 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27290 PyObject
*resultobj
= 0;
27291 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27294 PyObject
*swig_obj
[1] ;
27296 if (!args
) SWIG_fail
;
27297 swig_obj
[0] = args
;
27298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27299 if (!SWIG_IsOK(res1
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27302 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= SWIG_Py_Void();
27315 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27316 PyObject
*resultobj
= 0;
27317 wxWindowDC
*arg1
= 0 ;
27318 wxGraphicsContext
*result
= 0 ;
27322 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27324 if (!SWIG_IsOK(res1
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27330 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27332 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27342 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27343 PyObject
*resultobj
= 0;
27344 wxWindow
*arg1
= (wxWindow
*) 0 ;
27345 wxGraphicsContext
*result
= 0 ;
27349 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27351 if (!SWIG_IsOK(res1
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27356 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27366 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27370 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27375 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27376 _v
= SWIG_CheckState(res
);
27378 if (!_v
) goto check_1
;
27379 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27384 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27388 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27393 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
= 0;
27395 void *arg1
= (void *) 0 ;
27396 wxGraphicsContext
*result
= 0 ;
27398 PyObject
* obj0
= 0 ;
27399 char * kwnames
[] = {
27400 (char *) "context", NULL
27403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27404 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27405 if (!SWIG_IsOK(res1
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27409 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27419 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
= 0;
27421 void *arg1
= (void *) 0 ;
27422 wxGraphicsContext
*result
= 0 ;
27424 PyObject
* obj0
= 0 ;
27425 char * kwnames
[] = {
27426 (char *) "window", NULL
27429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27430 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27431 if (!SWIG_IsOK(res1
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27435 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27445 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27446 PyObject
*resultobj
= 0;
27447 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27448 wxGraphicsPath result
;
27451 PyObject
*swig_obj
[1] ;
27453 if (!args
) SWIG_fail
;
27454 swig_obj
[0] = args
;
27455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27459 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27461 result
= (arg1
)->CreatePath();
27462 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27471 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
= 0;
27473 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27475 wxGraphicsPen result
;
27480 PyObject
* obj0
= 0 ;
27481 PyObject
* obj1
= 0 ;
27482 char * kwnames
[] = {
27483 (char *) "self",(char *) "pen", NULL
27486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27488 if (!SWIG_IsOK(res1
)) {
27489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27491 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27493 if (!SWIG_IsOK(res2
)) {
27494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27499 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27501 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27511 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
= 0;
27513 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27514 wxBrush
*arg2
= 0 ;
27515 wxGraphicsBrush result
;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 char * kwnames
[] = {
27523 (char *) "self",(char *) "brush", NULL
27526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27528 if (!SWIG_IsOK(res1
)) {
27529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27531 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27533 if (!SWIG_IsOK(res2
)) {
27534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27539 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27541 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27551 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
= 0;
27553 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27558 wxColour
*arg6
= 0 ;
27559 wxColour
*arg7
= 0 ;
27560 wxGraphicsBrush result
;
27573 PyObject
* obj0
= 0 ;
27574 PyObject
* obj1
= 0 ;
27575 PyObject
* obj2
= 0 ;
27576 PyObject
* obj3
= 0 ;
27577 PyObject
* obj4
= 0 ;
27578 PyObject
* obj5
= 0 ;
27579 PyObject
* obj6
= 0 ;
27580 char * kwnames
[] = {
27581 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27589 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27590 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27591 if (!SWIG_IsOK(ecode2
)) {
27592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27594 arg2
= static_cast< wxDouble
>(val2
);
27595 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27596 if (!SWIG_IsOK(ecode3
)) {
27597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27599 arg3
= static_cast< wxDouble
>(val3
);
27600 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27601 if (!SWIG_IsOK(ecode4
)) {
27602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27604 arg4
= static_cast< wxDouble
>(val4
);
27605 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27606 if (!SWIG_IsOK(ecode5
)) {
27607 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27609 arg5
= static_cast< wxDouble
>(val5
);
27612 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27616 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27619 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27629 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
= 0;
27631 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27637 wxColour
*arg7
= 0 ;
27638 wxColour
*arg8
= 0 ;
27639 wxGraphicsBrush result
;
27654 PyObject
* obj0
= 0 ;
27655 PyObject
* obj1
= 0 ;
27656 PyObject
* obj2
= 0 ;
27657 PyObject
* obj3
= 0 ;
27658 PyObject
* obj4
= 0 ;
27659 PyObject
* obj5
= 0 ;
27660 PyObject
* obj6
= 0 ;
27661 PyObject
* obj7
= 0 ;
27662 char * kwnames
[] = {
27663 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27668 if (!SWIG_IsOK(res1
)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27671 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27672 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27673 if (!SWIG_IsOK(ecode2
)) {
27674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27676 arg2
= static_cast< wxDouble
>(val2
);
27677 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27678 if (!SWIG_IsOK(ecode3
)) {
27679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27681 arg3
= static_cast< wxDouble
>(val3
);
27682 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27683 if (!SWIG_IsOK(ecode4
)) {
27684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27686 arg4
= static_cast< wxDouble
>(val4
);
27687 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27688 if (!SWIG_IsOK(ecode5
)) {
27689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27691 arg5
= static_cast< wxDouble
>(val5
);
27692 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27693 if (!SWIG_IsOK(ecode6
)) {
27694 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27696 arg6
= static_cast< wxDouble
>(val6
);
27699 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27703 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27706 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27709 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27716 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
= 0;
27718 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27720 wxColour
const &arg3_defvalue
= *wxBLACK
;
27721 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27722 wxGraphicsFont result
;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 PyObject
* obj2
= 0 ;
27731 char * kwnames
[] = {
27732 (char *) "self",(char *) "font",(char *) "col", NULL
27735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27737 if (!SWIG_IsOK(res1
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27740 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27742 if (!SWIG_IsOK(res2
)) {
27743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27748 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27752 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27756 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27766 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
= 0;
27768 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27769 wxDouble arg2
= (wxDouble
) 1.0 ;
27770 wxDouble arg3
= (wxDouble
) 0.0 ;
27771 wxDouble arg4
= (wxDouble
) 0.0 ;
27772 wxDouble arg5
= (wxDouble
) 1.0 ;
27773 wxDouble arg6
= (wxDouble
) 0.0 ;
27774 wxDouble arg7
= (wxDouble
) 0.0 ;
27775 wxGraphicsMatrix result
;
27790 PyObject
* obj0
= 0 ;
27791 PyObject
* obj1
= 0 ;
27792 PyObject
* obj2
= 0 ;
27793 PyObject
* obj3
= 0 ;
27794 PyObject
* obj4
= 0 ;
27795 PyObject
* obj5
= 0 ;
27796 PyObject
* obj6
= 0 ;
27797 char * kwnames
[] = {
27798 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27803 if (!SWIG_IsOK(res1
)) {
27804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27806 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27808 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27809 if (!SWIG_IsOK(ecode2
)) {
27810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27812 arg2
= static_cast< wxDouble
>(val2
);
27815 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27816 if (!SWIG_IsOK(ecode3
)) {
27817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27819 arg3
= static_cast< wxDouble
>(val3
);
27822 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27823 if (!SWIG_IsOK(ecode4
)) {
27824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27826 arg4
= static_cast< wxDouble
>(val4
);
27829 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27830 if (!SWIG_IsOK(ecode5
)) {
27831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27833 arg5
= static_cast< wxDouble
>(val5
);
27836 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27837 if (!SWIG_IsOK(ecode6
)) {
27838 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27840 arg6
= static_cast< wxDouble
>(val6
);
27843 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27844 if (!SWIG_IsOK(ecode7
)) {
27845 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27847 arg7
= static_cast< wxDouble
>(val7
);
27850 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27860 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27861 PyObject
*resultobj
= 0;
27862 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27873 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27875 (arg1
)->PushState();
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= SWIG_Py_Void();
27885 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27890 PyObject
*swig_obj
[1] ;
27892 if (!args
) SWIG_fail
;
27893 swig_obj
[0] = args
;
27894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27898 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27900 (arg1
)->PopState();
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_Py_Void();
27910 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
= 0;
27912 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27913 wxRegion
*arg2
= 0 ;
27918 PyObject
* obj0
= 0 ;
27919 PyObject
* obj1
= 0 ;
27920 char * kwnames
[] = {
27921 (char *) "self",(char *) "region", NULL
27924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27926 if (!SWIG_IsOK(res1
)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27929 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27931 if (!SWIG_IsOK(res2
)) {
27932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27937 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
27939 (arg1
)->Clip((wxRegion
const &)*arg2
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_Py_Void();
27949 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 PyObject
* obj2
= 0 ;
27969 PyObject
* obj3
= 0 ;
27970 PyObject
* obj4
= 0 ;
27971 char * kwnames
[] = {
27972 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27977 if (!SWIG_IsOK(res1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27980 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27981 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27982 if (!SWIG_IsOK(ecode2
)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
27985 arg2
= static_cast< wxDouble
>(val2
);
27986 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27987 if (!SWIG_IsOK(ecode3
)) {
27988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
27990 arg3
= static_cast< wxDouble
>(val3
);
27991 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27992 if (!SWIG_IsOK(ecode4
)) {
27993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
27995 arg4
= static_cast< wxDouble
>(val4
);
27996 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27997 if (!SWIG_IsOK(ecode5
)) {
27998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28000 arg5
= static_cast< wxDouble
>(val5
);
28002 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= SWIG_Py_Void();
28012 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28013 PyObject
*resultobj
= 0;
28014 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28017 PyObject
*swig_obj
[1] ;
28019 if (!args
) SWIG_fail
;
28020 swig_obj
[0] = args
;
28021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28022 if (!SWIG_IsOK(res1
)) {
28023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28025 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28027 (arg1
)->ResetClip();
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= SWIG_Py_Void();
28037 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28038 PyObject
*resultobj
= 0;
28039 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28043 PyObject
*swig_obj
[1] ;
28045 if (!args
) SWIG_fail
;
28046 swig_obj
[0] = args
;
28047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28048 if (!SWIG_IsOK(res1
)) {
28049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28051 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28053 result
= (void *)(arg1
)->GetNativeContext();
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28063 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(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 *) "dx",(char *) "dy", NULL
28081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",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_Translate" "', 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_Translate" "', 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_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28096 arg3
= static_cast< wxDouble
>(val3
);
28098 (arg1
)->Translate(arg2
,arg3
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= SWIG_Py_Void();
28108 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
= 0;
28110 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28119 PyObject
* obj0
= 0 ;
28120 PyObject
* obj1
= 0 ;
28121 PyObject
* obj2
= 0 ;
28122 char * kwnames
[] = {
28123 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28128 if (!SWIG_IsOK(res1
)) {
28129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28131 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28132 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28133 if (!SWIG_IsOK(ecode2
)) {
28134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28136 arg2
= static_cast< wxDouble
>(val2
);
28137 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28138 if (!SWIG_IsOK(ecode3
)) {
28139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28141 arg3
= static_cast< wxDouble
>(val3
);
28143 (arg1
)->Scale(arg2
,arg3
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_Py_Void();
28153 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 char * kwnames
[] = {
28164 (char *) "self",(char *) "angle", NULL
28167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28172 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28173 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28174 if (!SWIG_IsOK(ecode2
)) {
28175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28177 arg2
= static_cast< wxDouble
>(val2
);
28179 (arg1
)->Rotate(arg2
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_Py_Void();
28189 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
= 0;
28191 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28192 wxGraphicsMatrix
*arg2
= 0 ;
28197 PyObject
* obj0
= 0 ;
28198 PyObject
* obj1
= 0 ;
28199 char * kwnames
[] = {
28200 (char *) "self",(char *) "matrix", NULL
28203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28205 if (!SWIG_IsOK(res1
)) {
28206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28208 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28210 if (!SWIG_IsOK(res2
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28216 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28218 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= SWIG_Py_Void();
28228 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
= 0;
28230 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28231 wxGraphicsMatrix
*arg2
= 0 ;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char * kwnames
[] = {
28239 (char *) "self",(char *) "matrix", NULL
28242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28247 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28249 if (!SWIG_IsOK(res2
)) {
28250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28255 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28257 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= SWIG_Py_Void();
28267 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28268 PyObject
*resultobj
= 0;
28269 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28270 wxGraphicsMatrix result
;
28273 PyObject
*swig_obj
[1] ;
28275 if (!args
) SWIG_fail
;
28276 swig_obj
[0] = args
;
28277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28278 if (!SWIG_IsOK(res1
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28281 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28283 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28284 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28293 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28294 PyObject
*resultobj
= 0;
28295 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28296 wxGraphicsPen
*arg2
= 0 ;
28302 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28304 if (!SWIG_IsOK(res1
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28307 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28308 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28309 if (!SWIG_IsOK(res2
)) {
28310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28315 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28317 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28320 resultobj
= SWIG_Py_Void();
28327 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28328 PyObject
*resultobj
= 0;
28329 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28336 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28338 if (!SWIG_IsOK(res1
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28341 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28342 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28343 if (!SWIG_IsOK(res2
)) {
28344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28349 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28351 (arg1
)->SetPen((wxPen
const &)*arg2
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= SWIG_Py_Void();
28361 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28365 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28370 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28371 _v
= SWIG_CheckState(res
);
28373 if (!_v
) goto check_1
;
28374 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28379 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28383 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28388 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28389 PyObject
*resultobj
= 0;
28390 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28391 wxGraphicsBrush
*arg2
= 0 ;
28397 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28402 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28403 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28404 if (!SWIG_IsOK(res2
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28410 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28412 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_Py_Void();
28422 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28423 PyObject
*resultobj
= 0;
28424 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28425 wxBrush
*arg2
= 0 ;
28431 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28433 if (!SWIG_IsOK(res1
)) {
28434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28436 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28437 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28438 if (!SWIG_IsOK(res2
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28444 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28446 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_Py_Void();
28456 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28460 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28465 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28466 _v
= SWIG_CheckState(res
);
28468 if (!_v
) goto check_1
;
28469 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28474 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28478 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28483 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28484 PyObject
*resultobj
= 0;
28485 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28486 wxGraphicsFont
*arg2
= 0 ;
28492 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28494 if (!SWIG_IsOK(res1
)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28497 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28498 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28499 if (!SWIG_IsOK(res2
)) {
28500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28505 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28507 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_Py_Void();
28517 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28518 PyObject
*resultobj
= 0;
28519 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28521 wxColour
const &arg3_defvalue
= *wxBLACK
;
28522 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28529 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28531 if (!SWIG_IsOK(res1
)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28534 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28535 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28536 if (!SWIG_IsOK(res2
)) {
28537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28542 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28546 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28550 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= SWIG_Py_Void();
28560 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28564 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28569 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28570 _v
= SWIG_CheckState(res
);
28572 if (!_v
) goto check_1
;
28573 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28577 if ((argc
>= 2) && (argc
<= 3)) {
28578 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28582 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28587 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
= 0;
28589 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28590 wxGraphicsPath
*arg2
= 0 ;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 char * kwnames
[] = {
28598 (char *) "self",(char *) "path", NULL
28601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28606 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28608 if (!SWIG_IsOK(res2
)) {
28609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28614 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28616 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= SWIG_Py_Void();
28626 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28627 PyObject
*resultobj
= 0;
28628 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28629 wxGraphicsPath
*arg2
= 0 ;
28630 int arg3
= (int) wxODDEVEN_RULE
;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 char * kwnames
[] = {
28641 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28646 if (!SWIG_IsOK(res1
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28649 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28651 if (!SWIG_IsOK(res2
)) {
28652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28657 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28660 if (!SWIG_IsOK(ecode3
)) {
28661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28663 arg3
= static_cast< int >(val3
);
28666 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 resultobj
= SWIG_Py_Void();
28676 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
= 0;
28678 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28679 wxGraphicsPath
*arg2
= 0 ;
28680 int arg3
= (int) wxODDEVEN_RULE
;
28687 PyObject
* obj0
= 0 ;
28688 PyObject
* obj1
= 0 ;
28689 PyObject
* obj2
= 0 ;
28690 char * kwnames
[] = {
28691 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28696 if (!SWIG_IsOK(res1
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28699 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28701 if (!SWIG_IsOK(res2
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28707 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28710 if (!SWIG_IsOK(ecode3
)) {
28711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28713 arg3
= static_cast< int >(val3
);
28716 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_Py_Void();
28726 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
= 0;
28728 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28729 wxString
*arg2
= 0 ;
28734 bool temp2
= false ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 PyObject
* obj2
= 0 ;
28742 PyObject
* obj3
= 0 ;
28743 char * kwnames
[] = {
28744 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28749 if (!SWIG_IsOK(res1
)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28752 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28754 arg2
= wxString_in_helper(obj1
);
28755 if (arg2
== NULL
) SWIG_fail
;
28758 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28759 if (!SWIG_IsOK(ecode3
)) {
28760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28762 arg3
= static_cast< wxDouble
>(val3
);
28763 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28764 if (!SWIG_IsOK(ecode4
)) {
28765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28767 arg4
= static_cast< wxDouble
>(val4
);
28769 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28772 resultobj
= SWIG_Py_Void();
28787 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
= 0;
28789 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28790 wxString
*arg2
= 0 ;
28796 bool temp2
= false ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 PyObject
* obj2
= 0 ;
28806 PyObject
* obj3
= 0 ;
28807 PyObject
* obj4
= 0 ;
28808 char * kwnames
[] = {
28809 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
28812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28814 if (!SWIG_IsOK(res1
)) {
28815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28817 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28819 arg2
= wxString_in_helper(obj1
);
28820 if (arg2
== NULL
) SWIG_fail
;
28823 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28824 if (!SWIG_IsOK(ecode3
)) {
28825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28827 arg3
= static_cast< wxDouble
>(val3
);
28828 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28829 if (!SWIG_IsOK(ecode4
)) {
28830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28832 arg4
= static_cast< wxDouble
>(val4
);
28833 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28834 if (!SWIG_IsOK(ecode5
)) {
28835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28837 arg5
= static_cast< wxDouble
>(val5
);
28839 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28842 resultobj
= SWIG_Py_Void();
28857 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
= 0;
28859 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28860 wxString
*arg2
= 0 ;
28861 wxDouble
*arg3
= (wxDouble
*) 0 ;
28862 wxDouble
*arg4
= (wxDouble
*) 0 ;
28863 wxDouble
*arg5
= (wxDouble
*) 0 ;
28864 wxDouble
*arg6
= (wxDouble
*) 0 ;
28867 bool temp2
= false ;
28869 int res3
= SWIG_TMPOBJ
;
28871 int res4
= SWIG_TMPOBJ
;
28873 int res5
= SWIG_TMPOBJ
;
28875 int res6
= SWIG_TMPOBJ
;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 char * kwnames
[] = {
28879 (char *) "self",(char *) "text", NULL
28886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28888 if (!SWIG_IsOK(res1
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28891 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28893 arg2
= wxString_in_helper(obj1
);
28894 if (arg2
== NULL
) SWIG_fail
;
28898 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= SWIG_Py_Void();
28902 if (SWIG_IsTmpObj(res3
)) {
28903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28905 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28908 if (SWIG_IsTmpObj(res4
)) {
28909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
28911 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
28914 if (SWIG_IsTmpObj(res5
)) {
28915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
28917 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
28920 if (SWIG_IsTmpObj(res6
)) {
28921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
28923 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
28940 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
= 0;
28942 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28943 wxString
*arg2
= 0 ;
28944 PyObject
*result
= 0 ;
28947 bool temp2
= false ;
28948 PyObject
* obj0
= 0 ;
28949 PyObject
* obj1
= 0 ;
28950 char * kwnames
[] = {
28951 (char *) "self",(char *) "text", NULL
28954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28956 if (!SWIG_IsOK(res1
)) {
28957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28959 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28961 arg2
= wxString_in_helper(obj1
);
28962 if (arg2
== NULL
) SWIG_fail
;
28966 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= result
;
28984 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28985 PyObject
*resultobj
= 0;
28986 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28987 wxString
*arg2
= 0 ;
28988 wxArrayDouble result
;
28991 bool temp2
= false ;
28992 PyObject
* obj0
= 0 ;
28993 PyObject
* obj1
= 0 ;
28994 char * kwnames
[] = {
28995 (char *) "self",(char *) "text", NULL
28998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29000 if (!SWIG_IsOK(res1
)) {
29001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29003 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29005 arg2
= wxString_in_helper(obj1
);
29006 if (arg2
== NULL
) SWIG_fail
;
29010 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29014 resultobj
= wxArrayDouble2PyList_helper(result
);
29030 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
= 0;
29032 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29033 wxBitmap
*arg2
= 0 ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 PyObject
* obj2
= 0 ;
29053 PyObject
* obj3
= 0 ;
29054 PyObject
* obj4
= 0 ;
29055 PyObject
* obj5
= 0 ;
29056 char * kwnames
[] = {
29057 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29062 if (!SWIG_IsOK(res1
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29065 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29067 if (!SWIG_IsOK(res2
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29073 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29074 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29075 if (!SWIG_IsOK(ecode3
)) {
29076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29078 arg3
= static_cast< wxDouble
>(val3
);
29079 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29080 if (!SWIG_IsOK(ecode4
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29083 arg4
= static_cast< wxDouble
>(val4
);
29084 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29085 if (!SWIG_IsOK(ecode5
)) {
29086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29088 arg5
= static_cast< wxDouble
>(val5
);
29089 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29090 if (!SWIG_IsOK(ecode6
)) {
29091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29093 arg6
= static_cast< wxDouble
>(val6
);
29095 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29096 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= SWIG_Py_Void();
29105 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29106 PyObject
*resultobj
= 0;
29107 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 PyObject
* obj2
= 0 ;
29128 PyObject
* obj3
= 0 ;
29129 PyObject
* obj4
= 0 ;
29130 PyObject
* obj5
= 0 ;
29131 char * kwnames
[] = {
29132 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29137 if (!SWIG_IsOK(res1
)) {
29138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29140 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29142 if (!SWIG_IsOK(res2
)) {
29143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29148 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29149 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29150 if (!SWIG_IsOK(ecode3
)) {
29151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29153 arg3
= static_cast< wxDouble
>(val3
);
29154 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29155 if (!SWIG_IsOK(ecode4
)) {
29156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29158 arg4
= static_cast< wxDouble
>(val4
);
29159 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29160 if (!SWIG_IsOK(ecode5
)) {
29161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29163 arg5
= static_cast< wxDouble
>(val5
);
29164 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29165 if (!SWIG_IsOK(ecode6
)) {
29166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29168 arg6
= static_cast< wxDouble
>(val6
);
29170 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= SWIG_Py_Void();
29180 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
= 0;
29182 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 PyObject
* obj2
= 0 ;
29200 PyObject
* obj3
= 0 ;
29201 PyObject
* obj4
= 0 ;
29202 char * kwnames
[] = {
29203 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29208 if (!SWIG_IsOK(res1
)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29211 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29212 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29213 if (!SWIG_IsOK(ecode2
)) {
29214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29216 arg2
= static_cast< wxDouble
>(val2
);
29217 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29218 if (!SWIG_IsOK(ecode3
)) {
29219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29221 arg3
= static_cast< wxDouble
>(val3
);
29222 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29223 if (!SWIG_IsOK(ecode4
)) {
29224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29226 arg4
= static_cast< wxDouble
>(val4
);
29227 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29228 if (!SWIG_IsOK(ecode5
)) {
29229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29231 arg5
= static_cast< wxDouble
>(val5
);
29233 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29234 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= SWIG_Py_Void();
29243 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
= 0;
29245 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29247 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29250 PyObject
* obj0
= 0 ;
29251 PyObject
* obj1
= 0 ;
29252 char * kwnames
[] = {
29253 (char *) "self",(char *) "points", NULL
29256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29258 if (!SWIG_IsOK(res1
)) {
29259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29261 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29263 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29264 if (arg3
== NULL
) SWIG_fail
;
29267 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= SWIG_Py_Void();
29272 if (arg3
) delete [] arg3
;
29277 if (arg3
) delete [] arg3
;
29283 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
= 0;
29285 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29286 PyObject
*arg2
= (PyObject
*) 0 ;
29287 PyObject
*arg3
= (PyObject
*) 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 PyObject
* obj2
= 0 ;
29293 char * kwnames
[] = {
29294 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29299 if (!SWIG_IsOK(res1
)) {
29300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29302 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29306 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= SWIG_Py_Void();
29316 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
= 0;
29318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29320 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29321 int arg4
= (int) wxODDEVEN_RULE
;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 char * kwnames
[] = {
29330 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29335 if (!SWIG_IsOK(res1
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29338 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29340 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29341 if (arg3
== NULL
) SWIG_fail
;
29344 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29345 if (!SWIG_IsOK(ecode4
)) {
29346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29348 arg4
= static_cast< int >(val4
);
29351 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= SWIG_Py_Void();
29356 if (arg3
) delete [] arg3
;
29361 if (arg3
) delete [] arg3
;
29367 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
= 0;
29369 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 PyObject
* obj1
= 0 ;
29386 PyObject
* obj2
= 0 ;
29387 PyObject
* obj3
= 0 ;
29388 PyObject
* obj4
= 0 ;
29389 char * kwnames
[] = {
29390 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29395 if (!SWIG_IsOK(res1
)) {
29396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29398 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29399 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29400 if (!SWIG_IsOK(ecode2
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29403 arg2
= static_cast< wxDouble
>(val2
);
29404 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29405 if (!SWIG_IsOK(ecode3
)) {
29406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29408 arg3
= static_cast< wxDouble
>(val3
);
29409 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29410 if (!SWIG_IsOK(ecode4
)) {
29411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29413 arg4
= static_cast< wxDouble
>(val4
);
29414 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29415 if (!SWIG_IsOK(ecode5
)) {
29416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29418 arg5
= static_cast< wxDouble
>(val5
);
29420 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_Py_Void();
29430 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29447 PyObject
* obj0
= 0 ;
29448 PyObject
* obj1
= 0 ;
29449 PyObject
* obj2
= 0 ;
29450 PyObject
* obj3
= 0 ;
29451 PyObject
* obj4
= 0 ;
29452 char * kwnames
[] = {
29453 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29461 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29462 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29463 if (!SWIG_IsOK(ecode2
)) {
29464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29466 arg2
= static_cast< wxDouble
>(val2
);
29467 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29468 if (!SWIG_IsOK(ecode3
)) {
29469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29471 arg3
= static_cast< wxDouble
>(val3
);
29472 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29473 if (!SWIG_IsOK(ecode4
)) {
29474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29476 arg4
= static_cast< wxDouble
>(val4
);
29477 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29478 if (!SWIG_IsOK(ecode5
)) {
29479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29481 arg5
= static_cast< wxDouble
>(val5
);
29483 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29484 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= SWIG_Py_Void();
29493 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29494 PyObject
*resultobj
= 0;
29495 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29513 PyObject
* obj0
= 0 ;
29514 PyObject
* obj1
= 0 ;
29515 PyObject
* obj2
= 0 ;
29516 PyObject
* obj3
= 0 ;
29517 PyObject
* obj4
= 0 ;
29518 PyObject
* obj5
= 0 ;
29519 char * kwnames
[] = {
29520 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29528 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29529 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29530 if (!SWIG_IsOK(ecode2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29533 arg2
= static_cast< wxDouble
>(val2
);
29534 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29535 if (!SWIG_IsOK(ecode3
)) {
29536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29538 arg3
= static_cast< wxDouble
>(val3
);
29539 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29540 if (!SWIG_IsOK(ecode4
)) {
29541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29543 arg4
= static_cast< wxDouble
>(val4
);
29544 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29545 if (!SWIG_IsOK(ecode5
)) {
29546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29548 arg5
= static_cast< wxDouble
>(val5
);
29549 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29550 if (!SWIG_IsOK(ecode6
)) {
29551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29553 arg6
= static_cast< wxDouble
>(val6
);
29555 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29558 resultobj
= SWIG_Py_Void();
29565 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29566 PyObject
*resultobj
= 0;
29567 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29571 PyObject
*swig_obj
[1] ;
29573 if (!args
) SWIG_fail
;
29574 swig_obj
[0] = args
;
29575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29576 if (!SWIG_IsOK(res1
)) {
29577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29579 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29581 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29582 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29593 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29596 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29597 return SWIG_Py_Void();
29600 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29601 PyObject
*resultobj
= 0;
29602 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29605 PyObject
*swig_obj
[1] ;
29607 if (!args
) SWIG_fail
;
29608 swig_obj
[0] = args
;
29609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29613 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= SWIG_Py_Void();
29626 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29627 PyObject
*resultobj
= 0;
29628 wxGraphicsRenderer
*result
= 0 ;
29630 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29632 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29633 if (PyErr_Occurred()) SWIG_fail
;
29635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29642 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29643 PyObject
*resultobj
= 0;
29644 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29645 wxWindowDC
*arg2
= 0 ;
29646 wxGraphicsContext
*result
= 0 ;
29652 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29654 if (!SWIG_IsOK(res1
)) {
29655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29657 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29658 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29659 if (!SWIG_IsOK(res2
)) {
29660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29665 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29667 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29677 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29678 PyObject
*resultobj
= 0;
29679 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29680 wxWindow
*arg2
= (wxWindow
*) 0 ;
29681 wxGraphicsContext
*result
= 0 ;
29687 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29689 if (!SWIG_IsOK(res1
)) {
29690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29692 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29693 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29694 if (!SWIG_IsOK(res2
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29697 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29699 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29709 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29713 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29718 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29719 _v
= SWIG_CheckState(res
);
29721 if (!_v
) goto check_1
;
29722 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29727 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29731 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29736 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
= 0;
29738 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29739 void *arg2
= (void *) 0 ;
29740 wxGraphicsContext
*result
= 0 ;
29744 PyObject
* obj0
= 0 ;
29745 PyObject
* obj1
= 0 ;
29746 char * kwnames
[] = {
29747 (char *) "self",(char *) "context", NULL
29750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29752 if (!SWIG_IsOK(res1
)) {
29753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29755 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29756 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29757 if (!SWIG_IsOK(res2
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29761 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29762 if (PyErr_Occurred()) SWIG_fail
;
29764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29771 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29772 PyObject
*resultobj
= 0;
29773 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29774 void *arg2
= (void *) 0 ;
29775 wxGraphicsContext
*result
= 0 ;
29779 PyObject
* obj0
= 0 ;
29780 PyObject
* obj1
= 0 ;
29781 char * kwnames
[] = {
29782 (char *) "self",(char *) "window", NULL
29785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29787 if (!SWIG_IsOK(res1
)) {
29788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29790 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29791 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29792 if (!SWIG_IsOK(res2
)) {
29793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29796 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29797 if (PyErr_Occurred()) SWIG_fail
;
29799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29806 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29807 PyObject
*resultobj
= 0;
29808 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29809 wxGraphicsPath result
;
29812 PyObject
*swig_obj
[1] ;
29814 if (!args
) SWIG_fail
;
29815 swig_obj
[0] = args
;
29816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29817 if (!SWIG_IsOK(res1
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29820 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29822 result
= (arg1
)->CreatePath();
29823 if (PyErr_Occurred()) SWIG_fail
;
29825 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29832 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
= 0;
29834 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29835 wxDouble arg2
= (wxDouble
) 1.0 ;
29836 wxDouble arg3
= (wxDouble
) 0.0 ;
29837 wxDouble arg4
= (wxDouble
) 0.0 ;
29838 wxDouble arg5
= (wxDouble
) 1.0 ;
29839 wxDouble arg6
= (wxDouble
) 0.0 ;
29840 wxDouble arg7
= (wxDouble
) 0.0 ;
29841 wxGraphicsMatrix result
;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 PyObject
* obj2
= 0 ;
29859 PyObject
* obj3
= 0 ;
29860 PyObject
* obj4
= 0 ;
29861 PyObject
* obj5
= 0 ;
29862 PyObject
* obj6
= 0 ;
29863 char * kwnames
[] = {
29864 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29872 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29874 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29875 if (!SWIG_IsOK(ecode2
)) {
29876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29878 arg2
= static_cast< wxDouble
>(val2
);
29881 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29882 if (!SWIG_IsOK(ecode3
)) {
29883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29885 arg3
= static_cast< wxDouble
>(val3
);
29888 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29889 if (!SWIG_IsOK(ecode4
)) {
29890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29892 arg4
= static_cast< wxDouble
>(val4
);
29895 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29896 if (!SWIG_IsOK(ecode5
)) {
29897 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29899 arg5
= static_cast< wxDouble
>(val5
);
29902 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29903 if (!SWIG_IsOK(ecode6
)) {
29904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29906 arg6
= static_cast< wxDouble
>(val6
);
29909 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29910 if (!SWIG_IsOK(ecode7
)) {
29911 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29913 arg7
= static_cast< wxDouble
>(val7
);
29916 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29926 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
= 0;
29928 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29930 wxGraphicsPen result
;
29935 PyObject
* obj0
= 0 ;
29936 PyObject
* obj1
= 0 ;
29937 char * kwnames
[] = {
29938 (char *) "self",(char *) "pen", NULL
29941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29943 if (!SWIG_IsOK(res1
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29946 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29948 if (!SWIG_IsOK(res2
)) {
29949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29954 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29956 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
29966 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
= 0;
29968 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29969 wxBrush
*arg2
= 0 ;
29970 wxGraphicsBrush result
;
29975 PyObject
* obj0
= 0 ;
29976 PyObject
* obj1
= 0 ;
29977 char * kwnames
[] = {
29978 (char *) "self",(char *) "brush", NULL
29981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29983 if (!SWIG_IsOK(res1
)) {
29984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29986 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29988 if (!SWIG_IsOK(res2
)) {
29989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29994 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29996 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30006 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= 0;
30008 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30013 wxColour
*arg6
= 0 ;
30014 wxColour
*arg7
= 0 ;
30015 wxGraphicsBrush result
;
30028 PyObject
* obj0
= 0 ;
30029 PyObject
* obj1
= 0 ;
30030 PyObject
* obj2
= 0 ;
30031 PyObject
* obj3
= 0 ;
30032 PyObject
* obj4
= 0 ;
30033 PyObject
* obj5
= 0 ;
30034 PyObject
* obj6
= 0 ;
30035 char * kwnames
[] = {
30036 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30041 if (!SWIG_IsOK(res1
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30044 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30045 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30046 if (!SWIG_IsOK(ecode2
)) {
30047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30049 arg2
= static_cast< wxDouble
>(val2
);
30050 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30051 if (!SWIG_IsOK(ecode3
)) {
30052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30054 arg3
= static_cast< wxDouble
>(val3
);
30055 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30056 if (!SWIG_IsOK(ecode4
)) {
30057 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30059 arg4
= static_cast< wxDouble
>(val4
);
30060 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30061 if (!SWIG_IsOK(ecode5
)) {
30062 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30064 arg5
= static_cast< wxDouble
>(val5
);
30067 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30071 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30074 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30077 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30084 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
= 0;
30086 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30092 wxColour
*arg7
= 0 ;
30093 wxColour
*arg8
= 0 ;
30094 wxGraphicsBrush result
;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 PyObject
* obj2
= 0 ;
30112 PyObject
* obj3
= 0 ;
30113 PyObject
* obj4
= 0 ;
30114 PyObject
* obj5
= 0 ;
30115 PyObject
* obj6
= 0 ;
30116 PyObject
* obj7
= 0 ;
30117 char * kwnames
[] = {
30118 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30123 if (!SWIG_IsOK(res1
)) {
30124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30126 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30127 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30128 if (!SWIG_IsOK(ecode2
)) {
30129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30131 arg2
= static_cast< wxDouble
>(val2
);
30132 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30133 if (!SWIG_IsOK(ecode3
)) {
30134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30136 arg3
= static_cast< wxDouble
>(val3
);
30137 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30138 if (!SWIG_IsOK(ecode4
)) {
30139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30141 arg4
= static_cast< wxDouble
>(val4
);
30142 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30143 if (!SWIG_IsOK(ecode5
)) {
30144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30146 arg5
= static_cast< wxDouble
>(val5
);
30147 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30148 if (!SWIG_IsOK(ecode6
)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30151 arg6
= static_cast< wxDouble
>(val6
);
30154 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30158 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30161 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30171 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
= 0;
30173 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30175 wxColour
const &arg3_defvalue
= *wxBLACK
;
30176 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30177 wxGraphicsFont result
;
30183 PyObject
* obj0
= 0 ;
30184 PyObject
* obj1
= 0 ;
30185 PyObject
* obj2
= 0 ;
30186 char * kwnames
[] = {
30187 (char *) "self",(char *) "font",(char *) "col", NULL
30190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30192 if (!SWIG_IsOK(res1
)) {
30193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30195 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30197 if (!SWIG_IsOK(res2
)) {
30198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30203 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30207 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30211 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30212 if (PyErr_Occurred()) SWIG_fail
;
30214 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30221 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30224 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30225 return SWIG_Py_Void();
30228 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
= 0;
30230 wxWindowDC
*arg1
= 0 ;
30231 wxGCDC
*result
= 0 ;
30234 PyObject
* obj0
= 0 ;
30235 char * kwnames
[] = {
30236 (char *) "dc", NULL
30239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30240 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30241 if (!SWIG_IsOK(res1
)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30247 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30249 if (!wxPyCheckForApp()) SWIG_fail
;
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30262 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30263 PyObject
*resultobj
= 0;
30264 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30267 PyObject
*swig_obj
[1] ;
30269 if (!args
) SWIG_fail
;
30270 swig_obj
[0] = args
;
30271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30275 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_Py_Void();
30288 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30289 PyObject
*resultobj
= 0;
30290 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30291 wxGraphicsContext
*result
= 0 ;
30294 PyObject
*swig_obj
[1] ;
30296 if (!args
) SWIG_fail
;
30297 swig_obj
[0] = args
;
30298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30299 if (!SWIG_IsOK(res1
)) {
30300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30302 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30304 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30314 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30315 PyObject
*resultobj
= 0;
30316 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30317 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 char * kwnames
[] = {
30325 (char *) "self",(char *) "ctx", NULL
30328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30333 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30334 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30335 if (!SWIG_IsOK(res2
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30338 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30340 (arg1
)->SetGraphicsContext(arg2
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 resultobj
= SWIG_Py_Void();
30350 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30353 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30354 return SWIG_Py_Void();
30357 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30358 return SWIG_Python_InitShadowInstance(args
);
30361 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30362 PyObject
*resultobj
= 0;
30363 wxOverlay
*result
= 0 ;
30365 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 result
= (wxOverlay
*)new wxOverlay();
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30379 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30380 PyObject
*resultobj
= 0;
30381 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30384 PyObject
*swig_obj
[1] ;
30386 if (!args
) SWIG_fail
;
30387 swig_obj
[0] = args
;
30388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30389 if (!SWIG_IsOK(res1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30392 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= SWIG_Py_Void();
30407 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30408 PyObject
*resultobj
= 0;
30409 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30412 PyObject
*swig_obj
[1] ;
30414 if (!args
) SWIG_fail
;
30415 swig_obj
[0] = args
;
30416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30417 if (!SWIG_IsOK(res1
)) {
30418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30420 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30427 resultobj
= SWIG_Py_Void();
30434 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30437 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30438 return SWIG_Py_Void();
30441 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30442 return SWIG_Python_InitShadowInstance(args
);
30445 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30446 PyObject
*resultobj
= 0;
30447 wxOverlay
*arg1
= 0 ;
30448 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30453 wxDCOverlay
*result
= 0 ;
30467 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30469 if (!SWIG_IsOK(res1
)) {
30470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30475 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30476 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30477 if (!SWIG_IsOK(res2
)) {
30478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30480 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30481 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30482 if (!SWIG_IsOK(ecode3
)) {
30483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30485 arg3
= static_cast< int >(val3
);
30486 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30487 if (!SWIG_IsOK(ecode4
)) {
30488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30490 arg4
= static_cast< int >(val4
);
30491 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30492 if (!SWIG_IsOK(ecode5
)) {
30493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30495 arg5
= static_cast< int >(val5
);
30496 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30497 if (!SWIG_IsOK(ecode6
)) {
30498 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30500 arg6
= static_cast< int >(val6
);
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30504 wxPyEndAllowThreads(__tstate
);
30505 if (PyErr_Occurred()) SWIG_fail
;
30507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30514 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30515 PyObject
*resultobj
= 0;
30516 wxOverlay
*arg1
= 0 ;
30517 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30518 wxDCOverlay
*result
= 0 ;
30524 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30532 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30533 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30534 if (!SWIG_IsOK(res2
)) {
30535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30537 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30551 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30555 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30558 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30561 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30565 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30570 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30571 PyObject
*resultobj
= 0;
30572 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30575 PyObject
*swig_obj
[1] ;
30577 if (!args
) SWIG_fail
;
30578 swig_obj
[0] = args
;
30579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30580 if (!SWIG_IsOK(res1
)) {
30581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30583 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 wxPyEndAllowThreads(__tstate
);
30589 if (PyErr_Occurred()) SWIG_fail
;
30591 resultobj
= SWIG_Py_Void();
30598 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30599 PyObject
*resultobj
= 0;
30600 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30603 PyObject
*swig_obj
[1] ;
30605 if (!args
) SWIG_fail
;
30606 swig_obj
[0] = args
;
30607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30608 if (!SWIG_IsOK(res1
)) {
30609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30611 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30618 resultobj
= SWIG_Py_Void();
30625 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30628 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30629 return SWIG_Py_Void();
30632 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30633 return SWIG_Python_InitShadowInstance(args
);
30636 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30637 PyObject
*resultobj
= 0;
30640 int arg3
= (int) true ;
30641 int arg4
= (int) 1 ;
30642 wxImageList
*result
= 0 ;
30651 PyObject
* obj0
= 0 ;
30652 PyObject
* obj1
= 0 ;
30653 PyObject
* obj2
= 0 ;
30654 PyObject
* obj3
= 0 ;
30655 char * kwnames
[] = {
30656 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30660 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30661 if (!SWIG_IsOK(ecode1
)) {
30662 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30664 arg1
= static_cast< int >(val1
);
30665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30666 if (!SWIG_IsOK(ecode2
)) {
30667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30669 arg2
= static_cast< int >(val2
);
30671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30672 if (!SWIG_IsOK(ecode3
)) {
30673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30675 arg3
= static_cast< int >(val3
);
30678 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30679 if (!SWIG_IsOK(ecode4
)) {
30680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30682 arg4
= static_cast< int >(val4
);
30685 if (!wxPyCheckForApp()) SWIG_fail
;
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30698 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30699 PyObject
*resultobj
= 0;
30700 wxImageList
*arg1
= (wxImageList
*) 0 ;
30703 PyObject
*swig_obj
[1] ;
30705 if (!args
) SWIG_fail
;
30706 swig_obj
[0] = args
;
30707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30708 if (!SWIG_IsOK(res1
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30711 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_Py_Void();
30726 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30727 PyObject
*resultobj
= 0;
30728 wxImageList
*arg1
= (wxImageList
*) 0 ;
30729 wxBitmap
*arg2
= 0 ;
30730 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30731 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 PyObject
* obj2
= 0 ;
30742 char * kwnames
[] = {
30743 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30748 if (!SWIG_IsOK(res1
)) {
30749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30751 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30753 if (!SWIG_IsOK(res2
)) {
30754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30759 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30761 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30762 if (!SWIG_IsOK(res3
)) {
30763 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30768 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= SWIG_From_int(static_cast< int >(result
));
30783 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30784 PyObject
*resultobj
= 0;
30785 wxImageList
*arg1
= (wxImageList
*) 0 ;
30786 wxBitmap
*arg2
= 0 ;
30787 wxColour
*arg3
= 0 ;
30794 PyObject
* obj0
= 0 ;
30795 PyObject
* obj1
= 0 ;
30796 PyObject
* obj2
= 0 ;
30797 char * kwnames
[] = {
30798 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30803 if (!SWIG_IsOK(res1
)) {
30804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30806 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30808 if (!SWIG_IsOK(res2
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30814 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30817 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= SWIG_From_int(static_cast< int >(result
));
30832 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= 0;
30834 wxImageList
*arg1
= (wxImageList
*) 0 ;
30841 PyObject
* obj0
= 0 ;
30842 PyObject
* obj1
= 0 ;
30843 char * kwnames
[] = {
30844 (char *) "self",(char *) "icon", NULL
30847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30849 if (!SWIG_IsOK(res1
)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
30852 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30854 if (!SWIG_IsOK(res2
)) {
30855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30860 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= SWIG_From_int(static_cast< int >(result
));
30874 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
= 0;
30876 wxImageList
*arg1
= (wxImageList
*) 0 ;
30878 SwigValueWrapper
<wxBitmap
> result
;
30883 PyObject
* obj0
= 0 ;
30884 PyObject
* obj1
= 0 ;
30885 char * kwnames
[] = {
30886 (char *) "self",(char *) "index", NULL
30889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30891 if (!SWIG_IsOK(res1
)) {
30892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
30894 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30896 if (!SWIG_IsOK(ecode2
)) {
30897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
30899 arg2
= static_cast< int >(val2
);
30901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30902 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
30903 wxPyEndAllowThreads(__tstate
);
30904 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
30913 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
= 0;
30915 wxImageList
*arg1
= (wxImageList
*) 0 ;
30922 PyObject
* obj0
= 0 ;
30923 PyObject
* obj1
= 0 ;
30924 char * kwnames
[] = {
30925 (char *) "self",(char *) "index", NULL
30928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
30933 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30935 if (!SWIG_IsOK(ecode2
)) {
30936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
30938 arg2
= static_cast< int >(val2
);
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30945 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
30952 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
= 0;
30954 wxImageList
*arg1
= (wxImageList
*) 0 ;
30956 wxBitmap
*arg3
= 0 ;
30957 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
30958 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
30968 PyObject
* obj0
= 0 ;
30969 PyObject
* obj1
= 0 ;
30970 PyObject
* obj2
= 0 ;
30971 PyObject
* obj3
= 0 ;
30972 char * kwnames
[] = {
30973 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
30976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30978 if (!SWIG_IsOK(res1
)) {
30979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
30981 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30983 if (!SWIG_IsOK(ecode2
)) {
30984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
30986 arg2
= static_cast< int >(val2
);
30987 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30988 if (!SWIG_IsOK(res3
)) {
30989 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30994 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30996 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30997 if (!SWIG_IsOK(res4
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31003 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31020 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
= 0;
31022 wxImageList
*arg1
= (wxImageList
*) 0 ;
31027 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31028 bool arg7
= (bool) (bool)false ;
31044 PyObject
* obj0
= 0 ;
31045 PyObject
* obj1
= 0 ;
31046 PyObject
* obj2
= 0 ;
31047 PyObject
* obj3
= 0 ;
31048 PyObject
* obj4
= 0 ;
31049 PyObject
* obj5
= 0 ;
31050 PyObject
* obj6
= 0 ;
31051 char * kwnames
[] = {
31052 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31057 if (!SWIG_IsOK(res1
)) {
31058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31060 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31062 if (!SWIG_IsOK(ecode2
)) {
31063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31065 arg2
= static_cast< int >(val2
);
31066 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31067 if (!SWIG_IsOK(res3
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31073 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31075 if (!SWIG_IsOK(ecode4
)) {
31076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31078 arg4
= static_cast< int >(val4
);
31079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31080 if (!SWIG_IsOK(ecode5
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31083 arg5
= static_cast< int >(val5
);
31085 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31086 if (!SWIG_IsOK(ecode6
)) {
31087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31089 arg6
= static_cast< int >(val6
);
31092 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31093 if (!SWIG_IsOK(ecode7
)) {
31094 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31096 arg7
= static_cast< bool >(val7
);
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31113 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31114 PyObject
*resultobj
= 0;
31115 wxImageList
*arg1
= (wxImageList
*) 0 ;
31119 PyObject
*swig_obj
[1] ;
31121 if (!args
) SWIG_fail
;
31122 swig_obj
[0] = args
;
31123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31124 if (!SWIG_IsOK(res1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31127 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 result
= (int)(arg1
)->GetImageCount();
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31134 resultobj
= SWIG_From_int(static_cast< int >(result
));
31141 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
= 0;
31143 wxImageList
*arg1
= (wxImageList
*) 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char * kwnames
[] = {
31153 (char *) "self",(char *) "index", NULL
31156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31158 if (!SWIG_IsOK(res1
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31161 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31163 if (!SWIG_IsOK(ecode2
)) {
31164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31166 arg2
= static_cast< int >(val2
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (bool)(arg1
)->Remove(arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31182 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31183 PyObject
*resultobj
= 0;
31184 wxImageList
*arg1
= (wxImageList
*) 0 ;
31188 PyObject
*swig_obj
[1] ;
31190 if (!args
) SWIG_fail
;
31191 swig_obj
[0] = args
;
31192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31193 if (!SWIG_IsOK(res1
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31196 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (bool)(arg1
)->RemoveAll();
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31212 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31213 PyObject
*resultobj
= 0;
31214 wxImageList
*arg1
= (wxImageList
*) 0 ;
31223 int res3
= SWIG_TMPOBJ
;
31225 int res4
= SWIG_TMPOBJ
;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 char * kwnames
[] = {
31229 (char *) "self",(char *) "index", NULL
31234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31236 if (!SWIG_IsOK(res1
)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31239 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31241 if (!SWIG_IsOK(ecode2
)) {
31242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31244 arg2
= static_cast< int >(val2
);
31246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31247 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31251 resultobj
= SWIG_Py_Void();
31252 if (SWIG_IsTmpObj(res3
)) {
31253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31255 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31258 if (SWIG_IsTmpObj(res4
)) {
31259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31261 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31270 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31273 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31274 return SWIG_Py_Void();
31277 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31278 return SWIG_Python_InitShadowInstance(args
);
31281 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31282 PyObject
*resultobj
= 0;
31283 wxStockGDI
*result
= 0 ;
31285 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 result
= (wxStockGDI
*)new wxStockGDI();
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31299 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31300 PyObject
*resultobj
= 0;
31301 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31304 PyObject
*swig_obj
[1] ;
31306 if (!args
) SWIG_fail
;
31307 swig_obj
[0] = args
;
31308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31309 if (!SWIG_IsOK(res1
)) {
31310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31312 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 wxPyEndAllowThreads(__tstate
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= SWIG_Py_Void();
31327 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31328 PyObject
*resultobj
= 0;
31330 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31333 wxStockGDI::DeleteAll();
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= SWIG_Py_Void();
31344 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31345 PyObject
*resultobj
= 0;
31346 wxStockGDI
*result
= 0 ;
31348 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31353 result
= (wxStockGDI
*) &_result_ref
;
31355 wxPyEndAllowThreads(__tstate
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31365 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31366 PyObject
*resultobj
= 0;
31367 wxStockGDI::Item arg1
;
31368 wxBrush
*result
= 0 ;
31371 PyObject
* obj0
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "item", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31378 if (!SWIG_IsOK(ecode1
)) {
31379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31381 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31395 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31396 PyObject
*resultobj
= 0;
31397 wxStockGDI::Item arg1
;
31398 wxColour
*result
= 0 ;
31401 PyObject
* obj0
= 0 ;
31402 char * kwnames
[] = {
31403 (char *) "item", NULL
31406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31407 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31408 if (!SWIG_IsOK(ecode1
)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31411 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31425 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31426 PyObject
*resultobj
= 0;
31427 wxStockGDI::Item arg1
;
31428 wxCursor
*result
= 0 ;
31431 PyObject
* obj0
= 0 ;
31432 char * kwnames
[] = {
31433 (char *) "item", NULL
31436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31438 if (!SWIG_IsOK(ecode1
)) {
31439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31441 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31455 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31456 PyObject
*resultobj
= 0;
31457 wxStockGDI::Item arg1
;
31458 wxPen
*result
= 0 ;
31461 PyObject
* obj0
= 0 ;
31462 char * kwnames
[] = {
31463 (char *) "item", NULL
31466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31467 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31468 if (!SWIG_IsOK(ecode1
)) {
31469 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31471 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31474 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31475 wxPyEndAllowThreads(__tstate
);
31476 if (PyErr_Occurred()) SWIG_fail
;
31478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31485 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
= 0;
31487 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31488 wxStockGDI::Item arg2
;
31489 wxFont
*result
= 0 ;
31494 PyObject
* obj0
= 0 ;
31495 PyObject
* obj1
= 0 ;
31496 char * kwnames
[] = {
31497 (char *) "self",(char *) "item", NULL
31500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31502 if (!SWIG_IsOK(res1
)) {
31503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31505 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31507 if (!SWIG_IsOK(ecode2
)) {
31508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31510 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31524 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31527 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31528 return SWIG_Py_Void();
31531 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31532 return SWIG_Python_InitShadowInstance(args
);
31535 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31536 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31541 SWIGINTERN PyObject
*NullBitmap_get(void) {
31542 PyObject
*pyobj
= 0;
31544 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31549 SWIGINTERN
int NullIcon_set(PyObject
*) {
31550 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31555 SWIGINTERN PyObject
*NullIcon_get(void) {
31556 PyObject
*pyobj
= 0;
31558 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31563 SWIGINTERN
int NullCursor_set(PyObject
*) {
31564 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31569 SWIGINTERN PyObject
*NullCursor_get(void) {
31570 PyObject
*pyobj
= 0;
31572 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31577 SWIGINTERN
int NullPen_set(PyObject
*) {
31578 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31583 SWIGINTERN PyObject
*NullPen_get(void) {
31584 PyObject
*pyobj
= 0;
31586 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31591 SWIGINTERN
int NullBrush_set(PyObject
*) {
31592 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31597 SWIGINTERN PyObject
*NullBrush_get(void) {
31598 PyObject
*pyobj
= 0;
31600 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31605 SWIGINTERN
int NullPalette_set(PyObject
*) {
31606 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31611 SWIGINTERN PyObject
*NullPalette_get(void) {
31612 PyObject
*pyobj
= 0;
31614 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31619 SWIGINTERN
int NullFont_set(PyObject
*) {
31620 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31625 SWIGINTERN PyObject
*NullFont_get(void) {
31626 PyObject
*pyobj
= 0;
31628 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31633 SWIGINTERN
int NullColour_set(PyObject
*) {
31634 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31639 SWIGINTERN PyObject
*NullColour_get(void) {
31640 PyObject
*pyobj
= 0;
31642 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31647 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31648 PyObject
*resultobj
= 0;
31649 wxGDIObjListBase
*result
= 0 ;
31651 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31654 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31665 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31666 PyObject
*resultobj
= 0;
31667 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31670 PyObject
*swig_obj
[1] ;
31672 if (!args
) SWIG_fail
;
31673 swig_obj
[0] = args
;
31674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31675 if (!SWIG_IsOK(res1
)) {
31676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31678 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31686 resultobj
= SWIG_Py_Void();
31693 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31696 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31697 return SWIG_Py_Void();
31700 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31701 return SWIG_Python_InitShadowInstance(args
);
31704 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31705 PyObject
*resultobj
= 0;
31706 wxPenList
*arg1
= (wxPenList
*) 0 ;
31707 wxColour
*arg2
= 0 ;
31710 wxPen
*result
= 0 ;
31718 PyObject
* obj0
= 0 ;
31719 PyObject
* obj1
= 0 ;
31720 PyObject
* obj2
= 0 ;
31721 PyObject
* obj3
= 0 ;
31722 char * kwnames
[] = {
31723 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31728 if (!SWIG_IsOK(res1
)) {
31729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31731 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31736 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31737 if (!SWIG_IsOK(ecode3
)) {
31738 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31740 arg3
= static_cast< int >(val3
);
31741 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31742 if (!SWIG_IsOK(ecode4
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31745 arg4
= static_cast< int >(val4
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31759 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
= 0;
31761 wxPenList
*arg1
= (wxPenList
*) 0 ;
31762 wxPen
*arg2
= (wxPen
*) 0 ;
31767 PyObject
* obj0
= 0 ;
31768 PyObject
* obj1
= 0 ;
31769 char * kwnames
[] = {
31770 (char *) "self",(char *) "pen", NULL
31773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31775 if (!SWIG_IsOK(res1
)) {
31776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31778 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31780 if (!SWIG_IsOK(res2
)) {
31781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31783 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31786 (arg1
)->AddPen(arg2
);
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= SWIG_Py_Void();
31797 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
= 0;
31799 wxPenList
*arg1
= (wxPenList
*) 0 ;
31800 wxPen
*arg2
= (wxPen
*) 0 ;
31805 PyObject
* obj0
= 0 ;
31806 PyObject
* obj1
= 0 ;
31807 char * kwnames
[] = {
31808 (char *) "self",(char *) "pen", NULL
31811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31813 if (!SWIG_IsOK(res1
)) {
31814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31816 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31818 if (!SWIG_IsOK(res2
)) {
31819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31821 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 (arg1
)->RemovePen(arg2
);
31825 wxPyEndAllowThreads(__tstate
);
31826 if (PyErr_Occurred()) SWIG_fail
;
31828 resultobj
= SWIG_Py_Void();
31835 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31838 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
31839 return SWIG_Py_Void();
31842 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31843 PyObject
*resultobj
= 0;
31844 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31845 wxColour
*arg2
= 0 ;
31846 int arg3
= (int) wxSOLID
;
31847 wxBrush
*result
= 0 ;
31853 PyObject
* obj0
= 0 ;
31854 PyObject
* obj1
= 0 ;
31855 PyObject
* obj2
= 0 ;
31856 char * kwnames
[] = {
31857 (char *) "self",(char *) "colour",(char *) "style", NULL
31860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31862 if (!SWIG_IsOK(res1
)) {
31863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31865 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31868 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31872 if (!SWIG_IsOK(ecode3
)) {
31873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
31875 arg3
= static_cast< int >(val3
);
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
31880 wxPyEndAllowThreads(__tstate
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31890 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
= 0;
31892 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31893 wxBrush
*arg2
= (wxBrush
*) 0 ;
31898 PyObject
* obj0
= 0 ;
31899 PyObject
* obj1
= 0 ;
31900 char * kwnames
[] = {
31901 (char *) "self",(char *) "brush", NULL
31904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31906 if (!SWIG_IsOK(res1
)) {
31907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31909 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31911 if (!SWIG_IsOK(res2
)) {
31912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31914 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31917 (arg1
)->AddBrush(arg2
);
31918 wxPyEndAllowThreads(__tstate
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31921 resultobj
= SWIG_Py_Void();
31928 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31929 PyObject
*resultobj
= 0;
31930 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31931 wxBrush
*arg2
= (wxBrush
*) 0 ;
31936 PyObject
* obj0
= 0 ;
31937 PyObject
* obj1
= 0 ;
31938 char * kwnames
[] = {
31939 (char *) "self",(char *) "brush", NULL
31942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31944 if (!SWIG_IsOK(res1
)) {
31945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31947 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31949 if (!SWIG_IsOK(res2
)) {
31950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31952 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31955 (arg1
)->RemoveBrush(arg2
);
31956 wxPyEndAllowThreads(__tstate
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31959 resultobj
= SWIG_Py_Void();
31966 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31969 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
31970 return SWIG_Py_Void();
31973 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
= 0;
31975 wxFontList
*arg1
= (wxFontList
*) 0 ;
31980 bool arg6
= (bool) false ;
31981 wxString
const &arg7_defvalue
= wxPyEmptyString
;
31982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31983 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
31984 wxFont
*result
= 0 ;
31997 bool temp7
= false ;
32000 PyObject
* obj0
= 0 ;
32001 PyObject
* obj1
= 0 ;
32002 PyObject
* obj2
= 0 ;
32003 PyObject
* obj3
= 0 ;
32004 PyObject
* obj4
= 0 ;
32005 PyObject
* obj5
= 0 ;
32006 PyObject
* obj6
= 0 ;
32007 PyObject
* obj7
= 0 ;
32008 char * kwnames
[] = {
32009 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32014 if (!SWIG_IsOK(res1
)) {
32015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32017 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32019 if (!SWIG_IsOK(ecode2
)) {
32020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32022 arg2
= static_cast< int >(val2
);
32023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32024 if (!SWIG_IsOK(ecode3
)) {
32025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32027 arg3
= static_cast< int >(val3
);
32028 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32029 if (!SWIG_IsOK(ecode4
)) {
32030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32032 arg4
= static_cast< int >(val4
);
32033 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32034 if (!SWIG_IsOK(ecode5
)) {
32035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32037 arg5
= static_cast< int >(val5
);
32039 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32040 if (!SWIG_IsOK(ecode6
)) {
32041 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32043 arg6
= static_cast< bool >(val6
);
32047 arg7
= wxString_in_helper(obj6
);
32048 if (arg7
== NULL
) SWIG_fail
;
32053 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32054 if (!SWIG_IsOK(ecode8
)) {
32055 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32057 arg8
= static_cast< wxFontEncoding
>(val8
);
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32080 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32081 PyObject
*resultobj
= 0;
32082 wxFontList
*arg1
= (wxFontList
*) 0 ;
32083 wxFont
*arg2
= (wxFont
*) 0 ;
32088 PyObject
* obj0
= 0 ;
32089 PyObject
* obj1
= 0 ;
32090 char * kwnames
[] = {
32091 (char *) "self",(char *) "font", NULL
32094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32096 if (!SWIG_IsOK(res1
)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32099 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32101 if (!SWIG_IsOK(res2
)) {
32102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32104 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 (arg1
)->AddFont(arg2
);
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= SWIG_Py_Void();
32118 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
= 0;
32120 wxFontList
*arg1
= (wxFontList
*) 0 ;
32121 wxFont
*arg2
= (wxFont
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 char * kwnames
[] = {
32129 (char *) "self",(char *) "font", NULL
32132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32134 if (!SWIG_IsOK(res1
)) {
32135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32137 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32139 if (!SWIG_IsOK(res2
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32142 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 (arg1
)->RemoveFont(arg2
);
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= SWIG_Py_Void();
32156 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32159 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32160 return SWIG_Py_Void();
32163 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32164 PyObject
*resultobj
= 0;
32165 wxColourDatabase
*result
= 0 ;
32167 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32169 if (!wxPyCheckForApp()) SWIG_fail
;
32170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 result
= (wxColourDatabase
*)new wxColourDatabase();
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32182 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32183 PyObject
*resultobj
= 0;
32184 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32187 PyObject
*swig_obj
[1] ;
32189 if (!args
) SWIG_fail
;
32190 swig_obj
[0] = args
;
32191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32192 if (!SWIG_IsOK(res1
)) {
32193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32195 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 wxPyEndAllowThreads(__tstate
);
32201 if (PyErr_Occurred()) SWIG_fail
;
32203 resultobj
= SWIG_Py_Void();
32210 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32211 PyObject
*resultobj
= 0;
32212 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32213 wxString
*arg2
= 0 ;
32217 bool temp2
= false ;
32218 PyObject
* obj0
= 0 ;
32219 PyObject
* obj1
= 0 ;
32220 char * kwnames
[] = {
32221 (char *) "self",(char *) "name", NULL
32224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32226 if (!SWIG_IsOK(res1
)) {
32227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32229 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32231 arg2
= wxString_in_helper(obj1
);
32232 if (arg2
== NULL
) SWIG_fail
;
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32256 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32257 PyObject
*resultobj
= 0;
32258 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32259 wxColour
*arg2
= 0 ;
32264 PyObject
* obj0
= 0 ;
32265 PyObject
* obj1
= 0 ;
32266 char * kwnames
[] = {
32267 (char *) "self",(char *) "colour", NULL
32270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) 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_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32275 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32299 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32300 PyObject
*resultobj
= 0;
32301 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32302 wxString
*arg2
= 0 ;
32303 wxColour
*arg3
= 0 ;
32306 bool temp2
= false ;
32308 PyObject
* obj0
= 0 ;
32309 PyObject
* obj1
= 0 ;
32310 PyObject
* obj2
= 0 ;
32311 char * kwnames
[] = {
32312 (char *) "self",(char *) "name",(char *) "colour", NULL
32315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32317 if (!SWIG_IsOK(res1
)) {
32318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32320 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32322 arg2
= wxString_in_helper(obj1
);
32323 if (arg2
== NULL
) SWIG_fail
;
32328 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32336 resultobj
= SWIG_Py_Void();
32351 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32352 PyObject
*resultobj
= 0;
32353 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32354 wxString
*arg2
= 0 ;
32360 bool temp2
= false ;
32367 PyObject
* obj0
= 0 ;
32368 PyObject
* obj1
= 0 ;
32369 PyObject
* obj2
= 0 ;
32370 PyObject
* obj3
= 0 ;
32371 PyObject
* obj4
= 0 ;
32372 char * kwnames
[] = {
32373 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32378 if (!SWIG_IsOK(res1
)) {
32379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32381 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32383 arg2
= wxString_in_helper(obj1
);
32384 if (arg2
== NULL
) SWIG_fail
;
32387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32388 if (!SWIG_IsOK(ecode3
)) {
32389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32391 arg3
= static_cast< int >(val3
);
32392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32393 if (!SWIG_IsOK(ecode4
)) {
32394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32396 arg4
= static_cast< int >(val4
);
32397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32398 if (!SWIG_IsOK(ecode5
)) {
32399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32401 arg5
= static_cast< int >(val5
);
32403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32404 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= SWIG_Py_Void();
32423 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32426 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32427 return SWIG_Py_Void();
32430 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32431 return SWIG_Python_InitShadowInstance(args
);
32434 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32435 PyObject
*resultobj
= 0;
32436 wxFontList
*result
= 0 ;
32438 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32441 result
= (wxFontList
*)_wxPyInitTheFontList();
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32452 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32453 PyObject
*resultobj
= 0;
32454 wxPenList
*result
= 0 ;
32456 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32459 result
= (wxPenList
*)_wxPyInitThePenList();
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32470 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32471 PyObject
*resultobj
= 0;
32472 wxBrushList
*result
= 0 ;
32474 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32488 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32489 PyObject
*resultobj
= 0;
32490 wxColourDatabase
*result
= 0 ;
32492 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32506 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32507 PyObject
*resultobj
= 0;
32508 wxEffects
*result
= 0 ;
32510 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32513 result
= (wxEffects
*)new wxEffects();
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32524 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32525 PyObject
*resultobj
= 0;
32526 wxEffects
*arg1
= (wxEffects
*) 0 ;
32530 PyObject
*swig_obj
[1] ;
32532 if (!args
) SWIG_fail
;
32533 swig_obj
[0] = args
;
32534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32535 if (!SWIG_IsOK(res1
)) {
32536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32538 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32545 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32552 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32553 PyObject
*resultobj
= 0;
32554 wxEffects
*arg1
= (wxEffects
*) 0 ;
32558 PyObject
*swig_obj
[1] ;
32560 if (!args
) SWIG_fail
;
32561 swig_obj
[0] = args
;
32562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32563 if (!SWIG_IsOK(res1
)) {
32564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32566 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32569 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32570 wxPyEndAllowThreads(__tstate
);
32571 if (PyErr_Occurred()) SWIG_fail
;
32573 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32580 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32581 PyObject
*resultobj
= 0;
32582 wxEffects
*arg1
= (wxEffects
*) 0 ;
32586 PyObject
*swig_obj
[1] ;
32588 if (!args
) SWIG_fail
;
32589 swig_obj
[0] = args
;
32590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32591 if (!SWIG_IsOK(res1
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32594 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32597 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32601 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32608 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32609 PyObject
*resultobj
= 0;
32610 wxEffects
*arg1
= (wxEffects
*) 0 ;
32614 PyObject
*swig_obj
[1] ;
32616 if (!args
) SWIG_fail
;
32617 swig_obj
[0] = args
;
32618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32622 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32625 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32636 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32637 PyObject
*resultobj
= 0;
32638 wxEffects
*arg1
= (wxEffects
*) 0 ;
32642 PyObject
*swig_obj
[1] ;
32644 if (!args
) SWIG_fail
;
32645 swig_obj
[0] = args
;
32646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32647 if (!SWIG_IsOK(res1
)) {
32648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32650 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32654 wxPyEndAllowThreads(__tstate
);
32655 if (PyErr_Occurred()) SWIG_fail
;
32657 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32664 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32665 PyObject
*resultobj
= 0;
32666 wxEffects
*arg1
= (wxEffects
*) 0 ;
32667 wxColour
*arg2
= 0 ;
32671 PyObject
* obj0
= 0 ;
32672 PyObject
* obj1
= 0 ;
32673 char * kwnames
[] = {
32674 (char *) "self",(char *) "c", NULL
32677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32679 if (!SWIG_IsOK(res1
)) {
32680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32682 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32685 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32689 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32690 wxPyEndAllowThreads(__tstate
);
32691 if (PyErr_Occurred()) SWIG_fail
;
32693 resultobj
= SWIG_Py_Void();
32700 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32701 PyObject
*resultobj
= 0;
32702 wxEffects
*arg1
= (wxEffects
*) 0 ;
32703 wxColour
*arg2
= 0 ;
32707 PyObject
* obj0
= 0 ;
32708 PyObject
* obj1
= 0 ;
32709 char * kwnames
[] = {
32710 (char *) "self",(char *) "c", NULL
32713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32715 if (!SWIG_IsOK(res1
)) {
32716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32718 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32721 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32726 wxPyEndAllowThreads(__tstate
);
32727 if (PyErr_Occurred()) SWIG_fail
;
32729 resultobj
= SWIG_Py_Void();
32736 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32737 PyObject
*resultobj
= 0;
32738 wxEffects
*arg1
= (wxEffects
*) 0 ;
32739 wxColour
*arg2
= 0 ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 char * kwnames
[] = {
32746 (char *) "self",(char *) "c", NULL
32749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32751 if (!SWIG_IsOK(res1
)) {
32752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32754 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32757 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32761 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32762 wxPyEndAllowThreads(__tstate
);
32763 if (PyErr_Occurred()) SWIG_fail
;
32765 resultobj
= SWIG_Py_Void();
32772 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32773 PyObject
*resultobj
= 0;
32774 wxEffects
*arg1
= (wxEffects
*) 0 ;
32775 wxColour
*arg2
= 0 ;
32779 PyObject
* obj0
= 0 ;
32780 PyObject
* obj1
= 0 ;
32781 char * kwnames
[] = {
32782 (char *) "self",(char *) "c", NULL
32785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32787 if (!SWIG_IsOK(res1
)) {
32788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32790 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32793 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32797 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32798 wxPyEndAllowThreads(__tstate
);
32799 if (PyErr_Occurred()) SWIG_fail
;
32801 resultobj
= SWIG_Py_Void();
32808 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32809 PyObject
*resultobj
= 0;
32810 wxEffects
*arg1
= (wxEffects
*) 0 ;
32811 wxColour
*arg2
= 0 ;
32815 PyObject
* obj0
= 0 ;
32816 PyObject
* obj1
= 0 ;
32817 char * kwnames
[] = {
32818 (char *) "self",(char *) "c", NULL
32821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32823 if (!SWIG_IsOK(res1
)) {
32824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32826 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32829 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32837 resultobj
= SWIG_Py_Void();
32844 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32845 PyObject
*resultobj
= 0;
32846 wxEffects
*arg1
= (wxEffects
*) 0 ;
32847 wxColour
*arg2
= 0 ;
32848 wxColour
*arg3
= 0 ;
32849 wxColour
*arg4
= 0 ;
32850 wxColour
*arg5
= 0 ;
32851 wxColour
*arg6
= 0 ;
32859 PyObject
* obj0
= 0 ;
32860 PyObject
* obj1
= 0 ;
32861 PyObject
* obj2
= 0 ;
32862 PyObject
* obj3
= 0 ;
32863 PyObject
* obj4
= 0 ;
32864 PyObject
* obj5
= 0 ;
32865 char * kwnames
[] = {
32866 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
32869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32871 if (!SWIG_IsOK(res1
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
32874 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32877 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32881 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32885 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32889 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
32893 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
32896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32897 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
32898 wxPyEndAllowThreads(__tstate
);
32899 if (PyErr_Occurred()) SWIG_fail
;
32901 resultobj
= SWIG_Py_Void();
32908 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32909 PyObject
*resultobj
= 0;
32910 wxEffects
*arg1
= (wxEffects
*) 0 ;
32913 int arg4
= (int) 1 ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 PyObject
* obj2
= 0 ;
32924 PyObject
* obj3
= 0 ;
32925 char * kwnames
[] = {
32926 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
32929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32931 if (!SWIG_IsOK(res1
)) {
32932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
32934 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
32936 if (!SWIG_IsOK(res2
)) {
32937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
32942 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32945 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32949 if (!SWIG_IsOK(ecode4
)) {
32950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
32952 arg4
= static_cast< int >(val4
);
32955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32956 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= SWIG_Py_Void();
32967 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32968 PyObject
*resultobj
= 0;
32969 wxEffects
*arg1
= (wxEffects
*) 0 ;
32972 wxBitmap
*arg4
= 0 ;
32981 PyObject
* obj0
= 0 ;
32982 PyObject
* obj1
= 0 ;
32983 PyObject
* obj2
= 0 ;
32984 PyObject
* obj3
= 0 ;
32985 char * kwnames
[] = {
32986 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
32989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32991 if (!SWIG_IsOK(res1
)) {
32992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
32994 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32997 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32999 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33000 if (!SWIG_IsOK(res3
)) {
33001 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33006 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33007 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33008 if (!SWIG_IsOK(res4
)) {
33009 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33014 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33018 wxPyEndAllowThreads(__tstate
);
33019 if (PyErr_Occurred()) SWIG_fail
;
33022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33030 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33033 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33034 return SWIG_Py_Void();
33037 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33038 return SWIG_Python_InitShadowInstance(args
);
33041 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33042 PyObject
*resultobj
= 0;
33046 wxSplitterRenderParams
*result
= 0 ;
33053 PyObject
* obj0
= 0 ;
33054 PyObject
* obj1
= 0 ;
33055 PyObject
* obj2
= 0 ;
33056 char * kwnames
[] = {
33057 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33062 if (!SWIG_IsOK(ecode1
)) {
33063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33065 arg1
= static_cast< int >(val1
);
33066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33067 if (!SWIG_IsOK(ecode2
)) {
33068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33070 arg2
= static_cast< int >(val2
);
33071 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33072 if (!SWIG_IsOK(ecode3
)) {
33073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33075 arg3
= static_cast< bool >(val3
);
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33089 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33090 PyObject
*resultobj
= 0;
33091 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33094 PyObject
*swig_obj
[1] ;
33096 if (!args
) SWIG_fail
;
33097 swig_obj
[0] = args
;
33098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33099 if (!SWIG_IsOK(res1
)) {
33100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33102 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 wxPyEndAllowThreads(__tstate
);
33108 if (PyErr_Occurred()) SWIG_fail
;
33110 resultobj
= SWIG_Py_Void();
33117 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33118 PyObject
*resultobj
= 0;
33119 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33123 PyObject
*swig_obj
[1] ;
33125 if (!args
) SWIG_fail
;
33126 swig_obj
[0] = args
;
33127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33128 if (!SWIG_IsOK(res1
)) {
33129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33131 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33132 result
= (int)(int) ((arg1
)->widthSash
);
33133 resultobj
= SWIG_From_int(static_cast< int >(result
));
33140 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33141 PyObject
*resultobj
= 0;
33142 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33146 PyObject
*swig_obj
[1] ;
33148 if (!args
) SWIG_fail
;
33149 swig_obj
[0] = args
;
33150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33151 if (!SWIG_IsOK(res1
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33154 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33155 result
= (int)(int) ((arg1
)->border
);
33156 resultobj
= SWIG_From_int(static_cast< int >(result
));
33163 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33164 PyObject
*resultobj
= 0;
33165 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33169 PyObject
*swig_obj
[1] ;
33171 if (!args
) SWIG_fail
;
33172 swig_obj
[0] = args
;
33173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33174 if (!SWIG_IsOK(res1
)) {
33175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33177 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33178 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33179 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33186 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33189 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33190 return SWIG_Py_Void();
33193 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33194 return SWIG_Python_InitShadowInstance(args
);
33197 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33198 PyObject
*resultobj
= 0;
33199 wxHeaderButtonParams
*result
= 0 ;
33201 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33204 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33215 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33216 PyObject
*resultobj
= 0;
33217 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33220 PyObject
*swig_obj
[1] ;
33222 if (!args
) SWIG_fail
;
33223 swig_obj
[0] = args
;
33224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33225 if (!SWIG_IsOK(res1
)) {
33226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33228 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33236 resultobj
= SWIG_Py_Void();
33243 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33244 PyObject
*resultobj
= 0;
33245 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33246 wxColour
*arg2
= (wxColour
*) 0 ;
33250 PyObject
*swig_obj
[2] ;
33252 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33254 if (!SWIG_IsOK(res1
)) {
33255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33257 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33260 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33262 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33264 resultobj
= SWIG_Py_Void();
33271 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33272 PyObject
*resultobj
= 0;
33273 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33274 wxColour
*result
= 0 ;
33277 PyObject
*swig_obj
[1] ;
33279 if (!args
) SWIG_fail
;
33280 swig_obj
[0] = args
;
33281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33282 if (!SWIG_IsOK(res1
)) {
33283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33285 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33286 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33294 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33295 PyObject
*resultobj
= 0;
33296 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33297 wxColour
*arg2
= (wxColour
*) 0 ;
33301 PyObject
*swig_obj
[2] ;
33303 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33305 if (!SWIG_IsOK(res1
)) {
33306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33308 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33311 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33313 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33315 resultobj
= SWIG_Py_Void();
33322 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33323 PyObject
*resultobj
= 0;
33324 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33325 wxColour
*result
= 0 ;
33328 PyObject
*swig_obj
[1] ;
33330 if (!args
) SWIG_fail
;
33331 swig_obj
[0] = args
;
33332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33333 if (!SWIG_IsOK(res1
)) {
33334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33336 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33337 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33345 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33346 PyObject
*resultobj
= 0;
33347 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33348 wxString
*arg2
= (wxString
*) 0 ;
33351 bool temp2
= false ;
33352 PyObject
*swig_obj
[2] ;
33354 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33356 if (!SWIG_IsOK(res1
)) {
33357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33359 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33361 arg2
= wxString_in_helper(swig_obj
[1]);
33362 if (arg2
== NULL
) SWIG_fail
;
33365 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33367 resultobj
= SWIG_Py_Void();
33382 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33383 PyObject
*resultobj
= 0;
33384 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33385 wxString
*result
= 0 ;
33388 PyObject
*swig_obj
[1] ;
33390 if (!args
) SWIG_fail
;
33391 swig_obj
[0] = args
;
33392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33393 if (!SWIG_IsOK(res1
)) {
33394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33396 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33397 result
= (wxString
*)& ((arg1
)->m_labelText
);
33400 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33402 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33411 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33412 PyObject
*resultobj
= 0;
33413 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33414 wxFont
*arg2
= (wxFont
*) 0 ;
33419 PyObject
*swig_obj
[2] ;
33421 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33423 if (!SWIG_IsOK(res1
)) {
33424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33426 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33427 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33428 if (!SWIG_IsOK(res2
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33431 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33432 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33434 resultobj
= SWIG_Py_Void();
33441 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33442 PyObject
*resultobj
= 0;
33443 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33444 wxFont
*result
= 0 ;
33447 PyObject
*swig_obj
[1] ;
33449 if (!args
) SWIG_fail
;
33450 swig_obj
[0] = args
;
33451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33452 if (!SWIG_IsOK(res1
)) {
33453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33455 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33456 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33464 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33465 PyObject
*resultobj
= 0;
33466 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33467 wxColour
*arg2
= (wxColour
*) 0 ;
33471 PyObject
*swig_obj
[2] ;
33473 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33475 if (!SWIG_IsOK(res1
)) {
33476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33478 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33481 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33483 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33485 resultobj
= SWIG_Py_Void();
33492 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33493 PyObject
*resultobj
= 0;
33494 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33495 wxColour
*result
= 0 ;
33498 PyObject
*swig_obj
[1] ;
33500 if (!args
) SWIG_fail
;
33501 swig_obj
[0] = args
;
33502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33503 if (!SWIG_IsOK(res1
)) {
33504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33506 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33507 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33515 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33516 PyObject
*resultobj
= 0;
33517 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33518 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33523 PyObject
*swig_obj
[2] ;
33525 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33527 if (!SWIG_IsOK(res1
)) {
33528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33530 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33531 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33532 if (!SWIG_IsOK(res2
)) {
33533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33535 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33536 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33538 resultobj
= SWIG_Py_Void();
33545 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33546 PyObject
*resultobj
= 0;
33547 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33548 wxBitmap
*result
= 0 ;
33551 PyObject
*swig_obj
[1] ;
33553 if (!args
) SWIG_fail
;
33554 swig_obj
[0] = args
;
33555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33556 if (!SWIG_IsOK(res1
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33559 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33560 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33568 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33569 PyObject
*resultobj
= 0;
33570 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33576 PyObject
*swig_obj
[2] ;
33578 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33580 if (!SWIG_IsOK(res1
)) {
33581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33583 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33584 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33585 if (!SWIG_IsOK(ecode2
)) {
33586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33588 arg2
= static_cast< int >(val2
);
33589 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33591 resultobj
= SWIG_Py_Void();
33598 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33599 PyObject
*resultobj
= 0;
33600 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33604 PyObject
*swig_obj
[1] ;
33606 if (!args
) SWIG_fail
;
33607 swig_obj
[0] = args
;
33608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33609 if (!SWIG_IsOK(res1
)) {
33610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33612 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33613 result
= (int) ((arg1
)->m_labelAlignment
);
33614 resultobj
= SWIG_From_int(static_cast< int >(result
));
33621 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33624 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33625 return SWIG_Py_Void();
33628 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33629 return SWIG_Python_InitShadowInstance(args
);
33632 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
= 0;
33636 wxRendererVersion
*result
= 0 ;
33641 PyObject
* obj0
= 0 ;
33642 PyObject
* obj1
= 0 ;
33643 char * kwnames
[] = {
33644 (char *) "version_",(char *) "age_", NULL
33647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33648 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33649 if (!SWIG_IsOK(ecode1
)) {
33650 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33652 arg1
= static_cast< int >(val1
);
33653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33654 if (!SWIG_IsOK(ecode2
)) {
33655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33657 arg2
= static_cast< int >(val2
);
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33661 wxPyEndAllowThreads(__tstate
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33671 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33672 PyObject
*resultobj
= 0;
33673 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33676 PyObject
*swig_obj
[1] ;
33678 if (!args
) SWIG_fail
;
33679 swig_obj
[0] = args
;
33680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33684 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_Py_Void();
33699 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
= 0;
33701 wxRendererVersion
*arg1
= 0 ;
33705 PyObject
* obj0
= 0 ;
33706 char * kwnames
[] = {
33707 (char *) "ver", NULL
33710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33711 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33712 if (!SWIG_IsOK(res1
)) {
33713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33718 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33721 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33722 wxPyEndAllowThreads(__tstate
);
33723 if (PyErr_Occurred()) SWIG_fail
;
33726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33734 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33735 PyObject
*resultobj
= 0;
33736 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33740 PyObject
*swig_obj
[1] ;
33742 if (!args
) SWIG_fail
;
33743 swig_obj
[0] = args
;
33744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33745 if (!SWIG_IsOK(res1
)) {
33746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33748 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33749 result
= (int)(int) ((arg1
)->version
);
33750 resultobj
= SWIG_From_int(static_cast< int >(result
));
33757 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33758 PyObject
*resultobj
= 0;
33759 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33763 PyObject
*swig_obj
[1] ;
33765 if (!args
) SWIG_fail
;
33766 swig_obj
[0] = args
;
33767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33771 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33772 result
= (int)(int) ((arg1
)->age
);
33773 resultobj
= SWIG_From_int(static_cast< int >(result
));
33780 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33783 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33784 return SWIG_Py_Void();
33787 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33788 return SWIG_Python_InitShadowInstance(args
);
33791 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
= 0;
33793 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33794 wxWindow
*arg2
= (wxWindow
*) 0 ;
33797 int arg5
= (int) 0 ;
33798 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33799 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33813 PyObject
* obj0
= 0 ;
33814 PyObject
* obj1
= 0 ;
33815 PyObject
* obj2
= 0 ;
33816 PyObject
* obj3
= 0 ;
33817 PyObject
* obj4
= 0 ;
33818 PyObject
* obj5
= 0 ;
33819 PyObject
* obj6
= 0 ;
33820 char * kwnames
[] = {
33821 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33826 if (!SWIG_IsOK(res1
)) {
33827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33829 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33831 if (!SWIG_IsOK(res2
)) {
33832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33834 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33835 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33836 if (!SWIG_IsOK(res3
)) {
33837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33842 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33845 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33848 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33849 if (!SWIG_IsOK(ecode5
)) {
33850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
33852 arg5
= static_cast< int >(val5
);
33855 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33856 if (!SWIG_IsOK(ecode6
)) {
33857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33859 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33862 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33863 if (!SWIG_IsOK(res7
)) {
33864 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33866 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33874 resultobj
= SWIG_Py_Void();
33881 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33882 PyObject
*resultobj
= 0;
33883 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33884 wxWindow
*arg2
= (wxWindow
*) 0 ;
33887 int arg5
= (int) 0 ;
33888 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33889 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33903 PyObject
* obj0
= 0 ;
33904 PyObject
* obj1
= 0 ;
33905 PyObject
* obj2
= 0 ;
33906 PyObject
* obj3
= 0 ;
33907 PyObject
* obj4
= 0 ;
33908 PyObject
* obj5
= 0 ;
33909 PyObject
* obj6
= 0 ;
33910 char * kwnames
[] = {
33911 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33916 if (!SWIG_IsOK(res1
)) {
33917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33919 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33921 if (!SWIG_IsOK(res2
)) {
33922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
33924 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33925 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33926 if (!SWIG_IsOK(res3
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33932 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33935 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33938 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33939 if (!SWIG_IsOK(ecode5
)) {
33940 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
33942 arg5
= static_cast< int >(val5
);
33945 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33946 if (!SWIG_IsOK(ecode6
)) {
33947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33949 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33952 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33953 if (!SWIG_IsOK(res7
)) {
33954 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33956 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33964 resultobj
= SWIG_Py_Void();
33971 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33972 PyObject
*resultobj
= 0;
33973 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33974 wxWindow
*arg2
= (wxWindow
*) 0 ;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 char * kwnames
[] = {
33983 (char *) "self",(char *) "win", NULL
33986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33988 if (!SWIG_IsOK(res1
)) {
33989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33991 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33992 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33993 if (!SWIG_IsOK(res2
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
33996 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= SWIG_From_int(static_cast< int >(result
));
34010 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
= 0;
34012 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34013 wxWindow
*arg2
= (wxWindow
*) 0 ;
34016 int arg5
= (int) 0 ;
34026 PyObject
* obj0
= 0 ;
34027 PyObject
* obj1
= 0 ;
34028 PyObject
* obj2
= 0 ;
34029 PyObject
* obj3
= 0 ;
34030 PyObject
* obj4
= 0 ;
34031 char * kwnames
[] = {
34032 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34037 if (!SWIG_IsOK(res1
)) {
34038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34040 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34041 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34042 if (!SWIG_IsOK(res2
)) {
34043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34045 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34046 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34047 if (!SWIG_IsOK(res3
)) {
34048 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34053 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34056 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34059 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34060 if (!SWIG_IsOK(ecode5
)) {
34061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34063 arg5
= static_cast< int >(val5
);
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34068 wxPyEndAllowThreads(__tstate
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34071 resultobj
= SWIG_Py_Void();
34078 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34079 PyObject
*resultobj
= 0;
34080 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34081 wxWindow
*arg2
= (wxWindow
*) 0 ;
34084 int arg5
= (int) 0 ;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 PyObject
* obj2
= 0 ;
34097 PyObject
* obj3
= 0 ;
34098 PyObject
* obj4
= 0 ;
34099 char * kwnames
[] = {
34100 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34105 if (!SWIG_IsOK(res1
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34108 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34110 if (!SWIG_IsOK(res2
)) {
34111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34113 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34114 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34115 if (!SWIG_IsOK(res3
)) {
34116 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34121 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34124 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34127 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34128 if (!SWIG_IsOK(ecode5
)) {
34129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34131 arg5
= static_cast< int >(val5
);
34134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34135 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34139 resultobj
= SWIG_Py_Void();
34146 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
= 0;
34148 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34149 wxWindow
*arg2
= (wxWindow
*) 0 ;
34153 wxOrientation arg6
;
34154 int arg7
= (int) 0 ;
34168 PyObject
* obj0
= 0 ;
34169 PyObject
* obj1
= 0 ;
34170 PyObject
* obj2
= 0 ;
34171 PyObject
* obj3
= 0 ;
34172 PyObject
* obj4
= 0 ;
34173 PyObject
* obj5
= 0 ;
34174 PyObject
* obj6
= 0 ;
34175 char * kwnames
[] = {
34176 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34181 if (!SWIG_IsOK(res1
)) {
34182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34184 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34186 if (!SWIG_IsOK(res2
)) {
34187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34190 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34191 if (!SWIG_IsOK(res3
)) {
34192 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34197 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34200 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34202 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34203 if (!SWIG_IsOK(ecode5
)) {
34204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34206 arg5
= static_cast< int >(val5
);
34207 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34208 if (!SWIG_IsOK(ecode6
)) {
34209 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34211 arg6
= static_cast< wxOrientation
>(val6
);
34213 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34214 if (!SWIG_IsOK(ecode7
)) {
34215 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34217 arg7
= static_cast< int >(val7
);
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34222 wxPyEndAllowThreads(__tstate
);
34223 if (PyErr_Occurred()) SWIG_fail
;
34225 resultobj
= SWIG_Py_Void();
34232 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
= 0;
34234 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34235 wxWindow
*arg2
= (wxWindow
*) 0 ;
34238 int arg5
= (int) 0 ;
34248 PyObject
* obj0
= 0 ;
34249 PyObject
* obj1
= 0 ;
34250 PyObject
* obj2
= 0 ;
34251 PyObject
* obj3
= 0 ;
34252 PyObject
* obj4
= 0 ;
34253 char * kwnames
[] = {
34254 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34259 if (!SWIG_IsOK(res1
)) {
34260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34262 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34264 if (!SWIG_IsOK(res2
)) {
34265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34267 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34268 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34269 if (!SWIG_IsOK(res3
)) {
34270 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34275 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34278 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34281 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34282 if (!SWIG_IsOK(ecode5
)) {
34283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34285 arg5
= static_cast< int >(val5
);
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34290 wxPyEndAllowThreads(__tstate
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34293 resultobj
= SWIG_Py_Void();
34300 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34301 PyObject
*resultobj
= 0;
34302 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34303 wxWindow
*arg2
= (wxWindow
*) 0 ;
34306 int arg5
= (int) 0 ;
34316 PyObject
* obj0
= 0 ;
34317 PyObject
* obj1
= 0 ;
34318 PyObject
* obj2
= 0 ;
34319 PyObject
* obj3
= 0 ;
34320 PyObject
* obj4
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34330 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34332 if (!SWIG_IsOK(res2
)) {
34333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34335 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34336 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34337 if (!SWIG_IsOK(res3
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34343 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34346 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34350 if (!SWIG_IsOK(ecode5
)) {
34351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34353 arg5
= static_cast< int >(val5
);
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34358 wxPyEndAllowThreads(__tstate
);
34359 if (PyErr_Occurred()) SWIG_fail
;
34361 resultobj
= SWIG_Py_Void();
34368 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34369 PyObject
*resultobj
= 0;
34370 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34371 wxWindow
*arg2
= (wxWindow
*) 0 ;
34374 int arg5
= (int) 0 ;
34384 PyObject
* obj0
= 0 ;
34385 PyObject
* obj1
= 0 ;
34386 PyObject
* obj2
= 0 ;
34387 PyObject
* obj3
= 0 ;
34388 PyObject
* obj4
= 0 ;
34389 char * kwnames
[] = {
34390 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34395 if (!SWIG_IsOK(res1
)) {
34396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34398 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34400 if (!SWIG_IsOK(res2
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34404 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34405 if (!SWIG_IsOK(res3
)) {
34406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34411 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34414 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34417 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34418 if (!SWIG_IsOK(ecode5
)) {
34419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34421 arg5
= static_cast< int >(val5
);
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34426 wxPyEndAllowThreads(__tstate
);
34427 if (PyErr_Occurred()) SWIG_fail
;
34429 resultobj
= SWIG_Py_Void();
34436 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34437 PyObject
*resultobj
= 0;
34438 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34439 wxWindow
*arg2
= (wxWindow
*) 0 ;
34442 int arg5
= (int) 0 ;
34452 PyObject
* obj0
= 0 ;
34453 PyObject
* obj1
= 0 ;
34454 PyObject
* obj2
= 0 ;
34455 PyObject
* obj3
= 0 ;
34456 PyObject
* obj4
= 0 ;
34457 char * kwnames
[] = {
34458 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34463 if (!SWIG_IsOK(res1
)) {
34464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34466 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34468 if (!SWIG_IsOK(res2
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34472 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34473 if (!SWIG_IsOK(res3
)) {
34474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34479 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34482 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34486 if (!SWIG_IsOK(ecode5
)) {
34487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34489 arg5
= static_cast< int >(val5
);
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 resultobj
= SWIG_Py_Void();
34504 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
= 0;
34506 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34507 wxWindow
*arg2
= (wxWindow
*) 0 ;
34510 int arg5
= (int) 0 ;
34520 PyObject
* obj0
= 0 ;
34521 PyObject
* obj1
= 0 ;
34522 PyObject
* obj2
= 0 ;
34523 PyObject
* obj3
= 0 ;
34524 PyObject
* obj4
= 0 ;
34525 char * kwnames
[] = {
34526 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34531 if (!SWIG_IsOK(res1
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34534 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34536 if (!SWIG_IsOK(res2
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34539 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34540 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34541 if (!SWIG_IsOK(res3
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34547 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34550 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34554 if (!SWIG_IsOK(ecode5
)) {
34555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34557 arg5
= static_cast< int >(val5
);
34560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34561 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34562 wxPyEndAllowThreads(__tstate
);
34563 if (PyErr_Occurred()) SWIG_fail
;
34565 resultobj
= SWIG_Py_Void();
34572 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34573 PyObject
*resultobj
= 0;
34574 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34575 wxWindow
*arg2
= (wxWindow
*) 0 ;
34576 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34581 PyObject
* obj0
= 0 ;
34582 PyObject
* obj1
= 0 ;
34583 char * kwnames
[] = {
34584 (char *) "self",(char *) "win", NULL
34587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34589 if (!SWIG_IsOK(res1
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34592 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34594 if (!SWIG_IsOK(res2
)) {
34595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34600 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34601 wxPyEndAllowThreads(__tstate
);
34602 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34611 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34612 PyObject
*resultobj
= 0;
34613 wxRendererNative
*result
= 0 ;
34615 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34617 if (!wxPyCheckForApp()) SWIG_fail
;
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34621 result
= (wxRendererNative
*) &_result_ref
;
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34633 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34634 PyObject
*resultobj
= 0;
34635 wxRendererNative
*result
= 0 ;
34637 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34639 if (!wxPyCheckForApp()) SWIG_fail
;
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34642 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34643 result
= (wxRendererNative
*) &_result_ref
;
34645 wxPyEndAllowThreads(__tstate
);
34646 if (PyErr_Occurred()) SWIG_fail
;
34648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34655 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34656 PyObject
*resultobj
= 0;
34657 wxRendererNative
*result
= 0 ;
34659 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34661 if (!wxPyCheckForApp()) SWIG_fail
;
34662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34664 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34665 result
= (wxRendererNative
*) &_result_ref
;
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34677 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34678 PyObject
*resultobj
= 0;
34679 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34680 wxRendererNative
*result
= 0 ;
34683 PyObject
* obj0
= 0 ;
34684 char * kwnames
[] = {
34685 (char *) "renderer", NULL
34688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34690 if (!SWIG_IsOK(res1
)) {
34691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34693 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34695 if (!wxPyCheckForApp()) SWIG_fail
;
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34697 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34698 wxPyEndAllowThreads(__tstate
);
34699 if (PyErr_Occurred()) SWIG_fail
;
34701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34708 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34709 PyObject
*resultobj
= 0;
34710 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34711 SwigValueWrapper
<wxRendererVersion
> result
;
34714 PyObject
*swig_obj
[1] ;
34716 if (!args
) SWIG_fail
;
34717 swig_obj
[0] = args
;
34718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34719 if (!SWIG_IsOK(res1
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34722 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34725 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34726 wxPyEndAllowThreads(__tstate
);
34727 if (PyErr_Occurred()) SWIG_fail
;
34729 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34736 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34739 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34740 return SWIG_Py_Void();
34743 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34744 PyObject
*resultobj
= 0;
34745 wxPseudoDC
*result
= 0 ;
34747 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 result
= (wxPseudoDC
*)new wxPseudoDC();
34751 wxPyEndAllowThreads(__tstate
);
34752 if (PyErr_Occurred()) SWIG_fail
;
34754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34761 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34762 PyObject
*resultobj
= 0;
34763 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34766 PyObject
*swig_obj
[1] ;
34768 if (!args
) SWIG_fail
;
34769 swig_obj
[0] = args
;
34770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34771 if (!SWIG_IsOK(res1
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34774 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 (arg1
)->BeginDrawing();
34778 wxPyEndAllowThreads(__tstate
);
34779 if (PyErr_Occurred()) SWIG_fail
;
34781 resultobj
= SWIG_Py_Void();
34788 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34789 PyObject
*resultobj
= 0;
34790 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34793 PyObject
*swig_obj
[1] ;
34795 if (!args
) SWIG_fail
;
34796 swig_obj
[0] = args
;
34797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34798 if (!SWIG_IsOK(res1
)) {
34799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34801 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34804 (arg1
)->EndDrawing();
34805 wxPyEndAllowThreads(__tstate
);
34806 if (PyErr_Occurred()) SWIG_fail
;
34808 resultobj
= SWIG_Py_Void();
34815 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34816 PyObject
*resultobj
= 0;
34817 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34820 PyObject
*swig_obj
[1] ;
34822 if (!args
) SWIG_fail
;
34823 swig_obj
[0] = args
;
34824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34825 if (!SWIG_IsOK(res1
)) {
34826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 resultobj
= SWIG_Py_Void();
34843 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34844 PyObject
*resultobj
= 0;
34845 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34848 PyObject
*swig_obj
[1] ;
34850 if (!args
) SWIG_fail
;
34851 swig_obj
[0] = args
;
34852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34853 if (!SWIG_IsOK(res1
)) {
34854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34856 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 (arg1
)->RemoveAll();
34860 wxPyEndAllowThreads(__tstate
);
34861 if (PyErr_Occurred()) SWIG_fail
;
34863 resultobj
= SWIG_Py_Void();
34870 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34871 PyObject
*resultobj
= 0;
34872 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34876 PyObject
*swig_obj
[1] ;
34878 if (!args
) SWIG_fail
;
34879 swig_obj
[0] = args
;
34880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34881 if (!SWIG_IsOK(res1
)) {
34882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 result
= (int)(arg1
)->GetLen();
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= SWIG_From_int(static_cast< int >(result
));
34898 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
= 0;
34900 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34906 PyObject
* obj0
= 0 ;
34907 PyObject
* obj1
= 0 ;
34908 char * kwnames
[] = {
34909 (char *) "self",(char *) "id", NULL
34912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34914 if (!SWIG_IsOK(res1
)) {
34915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34917 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34919 if (!SWIG_IsOK(ecode2
)) {
34920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
34922 arg2
= static_cast< int >(val2
);
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 (arg1
)->SetId(arg2
);
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34929 resultobj
= SWIG_Py_Void();
34936 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
= 0;
34938 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34944 PyObject
* obj0
= 0 ;
34945 PyObject
* obj1
= 0 ;
34946 char * kwnames
[] = {
34947 (char *) "self",(char *) "id", NULL
34950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34952 if (!SWIG_IsOK(res1
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34955 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34957 if (!SWIG_IsOK(ecode2
)) {
34958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
34960 arg2
= static_cast< int >(val2
);
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 (arg1
)->ClearId(arg2
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_Py_Void();
34974 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34975 PyObject
*resultobj
= 0;
34976 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34982 PyObject
* obj0
= 0 ;
34983 PyObject
* obj1
= 0 ;
34984 char * kwnames
[] = {
34985 (char *) "self",(char *) "id", NULL
34988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34990 if (!SWIG_IsOK(res1
)) {
34991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34993 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34995 if (!SWIG_IsOK(ecode2
)) {
34996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
34998 arg2
= static_cast< int >(val2
);
35000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35001 (arg1
)->RemoveId(arg2
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35005 resultobj
= SWIG_Py_Void();
35012 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35013 PyObject
*resultobj
= 0;
35014 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35026 PyObject
* obj0
= 0 ;
35027 PyObject
* obj1
= 0 ;
35028 PyObject
* obj2
= 0 ;
35029 PyObject
* obj3
= 0 ;
35030 char * kwnames
[] = {
35031 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35036 if (!SWIG_IsOK(res1
)) {
35037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35039 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35041 if (!SWIG_IsOK(ecode2
)) {
35042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35044 arg2
= static_cast< int >(val2
);
35045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35046 if (!SWIG_IsOK(ecode3
)) {
35047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35049 arg3
= static_cast< int >(val3
);
35050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35051 if (!SWIG_IsOK(ecode4
)) {
35052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35054 arg4
= static_cast< int >(val4
);
35056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35057 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35058 wxPyEndAllowThreads(__tstate
);
35059 if (PyErr_Occurred()) SWIG_fail
;
35061 resultobj
= SWIG_Py_Void();
35068 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35069 PyObject
*resultobj
= 0;
35070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35072 bool arg3
= (bool) true ;
35079 PyObject
* obj0
= 0 ;
35080 PyObject
* obj1
= 0 ;
35081 PyObject
* obj2
= 0 ;
35082 char * kwnames
[] = {
35083 (char *) "self",(char *) "id",(char *) "greyout", NULL
35086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35088 if (!SWIG_IsOK(res1
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35093 if (!SWIG_IsOK(ecode2
)) {
35094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35096 arg2
= static_cast< int >(val2
);
35098 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35099 if (!SWIG_IsOK(ecode3
)) {
35100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35102 arg3
= static_cast< bool >(val3
);
35105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35106 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35107 wxPyEndAllowThreads(__tstate
);
35108 if (PyErr_Occurred()) SWIG_fail
;
35110 resultobj
= SWIG_Py_Void();
35117 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35118 PyObject
*resultobj
= 0;
35119 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35126 PyObject
* obj0
= 0 ;
35127 PyObject
* obj1
= 0 ;
35128 char * kwnames
[] = {
35129 (char *) "self",(char *) "id", NULL
35132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35134 if (!SWIG_IsOK(res1
)) {
35135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35137 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35139 if (!SWIG_IsOK(ecode2
)) {
35140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35142 arg2
= static_cast< int >(val2
);
35144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35145 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35146 wxPyEndAllowThreads(__tstate
);
35147 if (PyErr_Occurred()) SWIG_fail
;
35150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35158 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35159 PyObject
*resultobj
= 0;
35160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35163 int arg4
= (int) 1 ;
35164 wxColor
const &arg5_defvalue
= *wxWHITE
;
35165 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35166 PyObject
*result
= 0 ;
35177 PyObject
* obj0
= 0 ;
35178 PyObject
* obj1
= 0 ;
35179 PyObject
* obj2
= 0 ;
35180 PyObject
* obj3
= 0 ;
35181 PyObject
* obj4
= 0 ;
35182 char * kwnames
[] = {
35183 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35188 if (!SWIG_IsOK(res1
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35193 if (!SWIG_IsOK(ecode2
)) {
35194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35196 arg2
= static_cast< int >(val2
);
35197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35198 if (!SWIG_IsOK(ecode3
)) {
35199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35201 arg3
= static_cast< int >(val3
);
35203 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35204 if (!SWIG_IsOK(ecode4
)) {
35205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35207 arg4
= static_cast< int >(val4
);
35210 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35211 if (!SWIG_IsOK(res5
)) {
35212 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35217 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35220 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35221 if (PyErr_Occurred()) SWIG_fail
;
35223 resultobj
= result
;
35230 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35231 PyObject
*resultobj
= 0;
35232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35235 PyObject
*result
= 0 ;
35242 PyObject
* obj0
= 0 ;
35243 PyObject
* obj1
= 0 ;
35244 PyObject
* obj2
= 0 ;
35245 char * kwnames
[] = {
35246 (char *) "self",(char *) "x",(char *) "y", NULL
35249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",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_FindObjectsByBBox" "', 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_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35259 arg2
= static_cast< int >(val2
);
35260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35261 if (!SWIG_IsOK(ecode3
)) {
35262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35264 arg3
= static_cast< int >(val3
);
35266 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35269 resultobj
= result
;
35276 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35277 PyObject
*resultobj
= 0;
35278 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35280 wxDC
*arg3
= (wxDC
*) 0 ;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 PyObject
* obj2
= 0 ;
35290 char * kwnames
[] = {
35291 (char *) "self",(char *) "id",(char *) "dc", NULL
35294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35296 if (!SWIG_IsOK(res1
)) {
35297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35299 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35301 if (!SWIG_IsOK(ecode2
)) {
35302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35304 arg2
= static_cast< int >(val2
);
35305 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35306 if (!SWIG_IsOK(res3
)) {
35307 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35309 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 (arg1
)->DrawIdToDC(arg2
,arg3
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= SWIG_Py_Void();
35323 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35324 PyObject
*resultobj
= 0;
35325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35333 PyObject
* obj0
= 0 ;
35334 PyObject
* obj1
= 0 ;
35335 PyObject
* obj2
= 0 ;
35336 char * kwnames
[] = {
35337 (char *) "self",(char *) "id",(char *) "rect", NULL
35340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35342 if (!SWIG_IsOK(res1
)) {
35343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35347 if (!SWIG_IsOK(ecode2
)) {
35348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35350 arg2
= static_cast< int >(val2
);
35353 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35357 (arg1
)->SetIdBounds(arg2
,*arg3
);
35358 wxPyEndAllowThreads(__tstate
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35361 resultobj
= SWIG_Py_Void();
35368 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35369 PyObject
*resultobj
= 0;
35370 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35377 PyObject
* obj0
= 0 ;
35378 PyObject
* obj1
= 0 ;
35379 char * kwnames
[] = {
35380 (char *) "self",(char *) "id", NULL
35383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35385 if (!SWIG_IsOK(res1
)) {
35386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35388 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35390 if (!SWIG_IsOK(ecode2
)) {
35391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35393 arg2
= static_cast< int >(val2
);
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35400 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35407 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35408 PyObject
*resultobj
= 0;
35409 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35410 wxDC
*arg2
= (wxDC
*) 0 ;
35417 PyObject
* obj0
= 0 ;
35418 PyObject
* obj1
= 0 ;
35419 PyObject
* obj2
= 0 ;
35420 char * kwnames
[] = {
35421 (char *) "self",(char *) "dc",(char *) "rect", NULL
35424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35426 if (!SWIG_IsOK(res1
)) {
35427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35429 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35431 if (!SWIG_IsOK(res2
)) {
35432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35434 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35437 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35441 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35442 wxPyEndAllowThreads(__tstate
);
35443 if (PyErr_Occurred()) SWIG_fail
;
35445 resultobj
= SWIG_Py_Void();
35452 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35453 PyObject
*resultobj
= 0;
35454 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35455 wxDC
*arg2
= (wxDC
*) 0 ;
35456 wxRegion
*arg3
= 0 ;
35463 PyObject
* obj0
= 0 ;
35464 PyObject
* obj1
= 0 ;
35465 PyObject
* obj2
= 0 ;
35466 char * kwnames
[] = {
35467 (char *) "self",(char *) "dc",(char *) "region", NULL
35470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35472 if (!SWIG_IsOK(res1
)) {
35473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35475 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35477 if (!SWIG_IsOK(res2
)) {
35478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35480 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35481 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35482 if (!SWIG_IsOK(res3
)) {
35483 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35488 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35492 wxPyEndAllowThreads(__tstate
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35495 resultobj
= SWIG_Py_Void();
35502 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35503 PyObject
*resultobj
= 0;
35504 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35505 wxDC
*arg2
= (wxDC
*) 0 ;
35510 PyObject
* obj0
= 0 ;
35511 PyObject
* obj1
= 0 ;
35512 char * kwnames
[] = {
35513 (char *) "self",(char *) "dc", NULL
35516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35518 if (!SWIG_IsOK(res1
)) {
35519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35521 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35522 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35523 if (!SWIG_IsOK(res2
)) {
35524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35526 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35529 (arg1
)->DrawToDC(arg2
);
35530 wxPyEndAllowThreads(__tstate
);
35531 if (PyErr_Occurred()) SWIG_fail
;
35533 resultobj
= SWIG_Py_Void();
35540 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35541 PyObject
*resultobj
= 0;
35542 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35545 wxColour
*arg4
= 0 ;
35546 int arg5
= (int) wxFLOOD_SURFACE
;
35556 PyObject
* obj0
= 0 ;
35557 PyObject
* obj1
= 0 ;
35558 PyObject
* obj2
= 0 ;
35559 PyObject
* obj3
= 0 ;
35560 PyObject
* obj4
= 0 ;
35561 char * kwnames
[] = {
35562 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35567 if (!SWIG_IsOK(res1
)) {
35568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35572 if (!SWIG_IsOK(ecode2
)) {
35573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35575 arg2
= static_cast< int >(val2
);
35576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35577 if (!SWIG_IsOK(ecode3
)) {
35578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35580 arg3
= static_cast< int >(val3
);
35583 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35586 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35587 if (!SWIG_IsOK(ecode5
)) {
35588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35590 arg5
= static_cast< int >(val5
);
35593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35594 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35595 wxPyEndAllowThreads(__tstate
);
35596 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= SWIG_Py_Void();
35605 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35606 PyObject
*resultobj
= 0;
35607 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35608 wxPoint
*arg2
= 0 ;
35609 wxColour
*arg3
= 0 ;
35610 int arg4
= (int) wxFLOOD_SURFACE
;
35617 PyObject
* obj0
= 0 ;
35618 PyObject
* obj1
= 0 ;
35619 PyObject
* obj2
= 0 ;
35620 PyObject
* obj3
= 0 ;
35621 char * kwnames
[] = {
35622 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35627 if (!SWIG_IsOK(res1
)) {
35628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35630 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35637 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35641 if (!SWIG_IsOK(ecode4
)) {
35642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35644 arg4
= static_cast< int >(val4
);
35647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35648 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35649 wxPyEndAllowThreads(__tstate
);
35650 if (PyErr_Occurred()) SWIG_fail
;
35652 resultobj
= SWIG_Py_Void();
35659 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35660 PyObject
*resultobj
= 0;
35661 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35676 PyObject
* obj0
= 0 ;
35677 PyObject
* obj1
= 0 ;
35678 PyObject
* obj2
= 0 ;
35679 PyObject
* obj3
= 0 ;
35680 PyObject
* obj4
= 0 ;
35681 char * kwnames
[] = {
35682 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35687 if (!SWIG_IsOK(res1
)) {
35688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35690 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35692 if (!SWIG_IsOK(ecode2
)) {
35693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35695 arg2
= static_cast< int >(val2
);
35696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35697 if (!SWIG_IsOK(ecode3
)) {
35698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35700 arg3
= static_cast< int >(val3
);
35701 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35702 if (!SWIG_IsOK(ecode4
)) {
35703 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35705 arg4
= static_cast< int >(val4
);
35706 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35707 if (!SWIG_IsOK(ecode5
)) {
35708 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35710 arg5
= static_cast< int >(val5
);
35712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35713 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35714 wxPyEndAllowThreads(__tstate
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35717 resultobj
= SWIG_Py_Void();
35724 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35725 PyObject
*resultobj
= 0;
35726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35727 wxPoint
*arg2
= 0 ;
35728 wxPoint
*arg3
= 0 ;
35733 PyObject
* obj0
= 0 ;
35734 PyObject
* obj1
= 0 ;
35735 PyObject
* obj2
= 0 ;
35736 char * kwnames
[] = {
35737 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",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_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35745 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35752 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35756 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= SWIG_Py_Void();
35767 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
= 0;
35769 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35778 PyObject
* obj0
= 0 ;
35779 PyObject
* obj1
= 0 ;
35780 PyObject
* obj2
= 0 ;
35781 char * kwnames
[] = {
35782 (char *) "self",(char *) "x",(char *) "y", NULL
35785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35787 if (!SWIG_IsOK(res1
)) {
35788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35790 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35792 if (!SWIG_IsOK(ecode2
)) {
35793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35795 arg2
= static_cast< int >(val2
);
35796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35797 if (!SWIG_IsOK(ecode3
)) {
35798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35800 arg3
= static_cast< int >(val3
);
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 (arg1
)->CrossHair(arg2
,arg3
);
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 resultobj
= SWIG_Py_Void();
35814 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35815 PyObject
*resultobj
= 0;
35816 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35817 wxPoint
*arg2
= 0 ;
35821 PyObject
* obj0
= 0 ;
35822 PyObject
* obj1
= 0 ;
35823 char * kwnames
[] = {
35824 (char *) "self",(char *) "pt", NULL
35827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35829 if (!SWIG_IsOK(res1
)) {
35830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35839 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 resultobj
= SWIG_Py_Void();
35850 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
= 0;
35852 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35873 PyObject
* obj0
= 0 ;
35874 PyObject
* obj1
= 0 ;
35875 PyObject
* obj2
= 0 ;
35876 PyObject
* obj3
= 0 ;
35877 PyObject
* obj4
= 0 ;
35878 PyObject
* obj5
= 0 ;
35879 PyObject
* obj6
= 0 ;
35880 char * kwnames
[] = {
35881 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
35884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35886 if (!SWIG_IsOK(res1
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35891 if (!SWIG_IsOK(ecode2
)) {
35892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
35894 arg2
= static_cast< int >(val2
);
35895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35896 if (!SWIG_IsOK(ecode3
)) {
35897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
35899 arg3
= static_cast< int >(val3
);
35900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35901 if (!SWIG_IsOK(ecode4
)) {
35902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
35904 arg4
= static_cast< int >(val4
);
35905 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35906 if (!SWIG_IsOK(ecode5
)) {
35907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
35909 arg5
= static_cast< int >(val5
);
35910 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35911 if (!SWIG_IsOK(ecode6
)) {
35912 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
35914 arg6
= static_cast< int >(val6
);
35915 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35916 if (!SWIG_IsOK(ecode7
)) {
35917 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
35919 arg7
= static_cast< int >(val7
);
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= SWIG_Py_Void();
35933 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35934 PyObject
*resultobj
= 0;
35935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35936 wxPoint
*arg2
= 0 ;
35937 wxPoint
*arg3
= 0 ;
35938 wxPoint
*arg4
= 0 ;
35944 PyObject
* obj0
= 0 ;
35945 PyObject
* obj1
= 0 ;
35946 PyObject
* obj2
= 0 ;
35947 PyObject
* obj3
= 0 ;
35948 char * kwnames
[] = {
35949 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
35952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35954 if (!SWIG_IsOK(res1
)) {
35955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35960 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
35971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35972 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
35973 wxPyEndAllowThreads(__tstate
);
35974 if (PyErr_Occurred()) SWIG_fail
;
35976 resultobj
= SWIG_Py_Void();
35983 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35984 PyObject
*resultobj
= 0;
35985 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36000 PyObject
* obj0
= 0 ;
36001 PyObject
* obj1
= 0 ;
36002 PyObject
* obj2
= 0 ;
36003 PyObject
* obj3
= 0 ;
36004 PyObject
* obj4
= 0 ;
36005 char * kwnames
[] = {
36006 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36011 if (!SWIG_IsOK(res1
)) {
36012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36016 if (!SWIG_IsOK(ecode2
)) {
36017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36019 arg2
= static_cast< int >(val2
);
36020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36021 if (!SWIG_IsOK(ecode3
)) {
36022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36024 arg3
= static_cast< int >(val3
);
36025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36026 if (!SWIG_IsOK(ecode4
)) {
36027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36029 arg4
= static_cast< int >(val4
);
36030 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36031 if (!SWIG_IsOK(ecode5
)) {
36032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36034 arg5
= static_cast< int >(val5
);
36036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36037 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36038 wxPyEndAllowThreads(__tstate
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36041 resultobj
= SWIG_Py_Void();
36048 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36049 PyObject
*resultobj
= 0;
36050 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36055 PyObject
* obj0
= 0 ;
36056 PyObject
* obj1
= 0 ;
36057 char * kwnames
[] = {
36058 (char *) "self",(char *) "rect", NULL
36061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36063 if (!SWIG_IsOK(res1
)) {
36064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36066 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36069 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36073 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36074 wxPyEndAllowThreads(__tstate
);
36075 if (PyErr_Occurred()) SWIG_fail
;
36077 resultobj
= SWIG_Py_Void();
36084 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36085 PyObject
*resultobj
= 0;
36086 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36107 PyObject
* obj0
= 0 ;
36108 PyObject
* obj1
= 0 ;
36109 PyObject
* obj2
= 0 ;
36110 PyObject
* obj3
= 0 ;
36111 PyObject
* obj4
= 0 ;
36112 PyObject
* obj5
= 0 ;
36113 PyObject
* obj6
= 0 ;
36114 char * kwnames
[] = {
36115 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36120 if (!SWIG_IsOK(res1
)) {
36121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36123 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36125 if (!SWIG_IsOK(ecode2
)) {
36126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36128 arg2
= static_cast< int >(val2
);
36129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36130 if (!SWIG_IsOK(ecode3
)) {
36131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36133 arg3
= static_cast< int >(val3
);
36134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36135 if (!SWIG_IsOK(ecode4
)) {
36136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36138 arg4
= static_cast< int >(val4
);
36139 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36140 if (!SWIG_IsOK(ecode5
)) {
36141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36143 arg5
= static_cast< int >(val5
);
36144 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36145 if (!SWIG_IsOK(ecode6
)) {
36146 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36148 arg6
= static_cast< double >(val6
);
36149 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36150 if (!SWIG_IsOK(ecode7
)) {
36151 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36153 arg7
= static_cast< double >(val7
);
36155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36156 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36157 wxPyEndAllowThreads(__tstate
);
36158 if (PyErr_Occurred()) SWIG_fail
;
36160 resultobj
= SWIG_Py_Void();
36167 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36168 PyObject
*resultobj
= 0;
36169 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36170 wxPoint
*arg2
= 0 ;
36182 PyObject
* obj0
= 0 ;
36183 PyObject
* obj1
= 0 ;
36184 PyObject
* obj2
= 0 ;
36185 PyObject
* obj3
= 0 ;
36186 PyObject
* obj4
= 0 ;
36187 char * kwnames
[] = {
36188 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36193 if (!SWIG_IsOK(res1
)) {
36194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36196 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36203 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36205 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36206 if (!SWIG_IsOK(ecode4
)) {
36207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36209 arg4
= static_cast< double >(val4
);
36210 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36211 if (!SWIG_IsOK(ecode5
)) {
36212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36214 arg5
= static_cast< double >(val5
);
36216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36217 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36218 wxPyEndAllowThreads(__tstate
);
36219 if (PyErr_Occurred()) SWIG_fail
;
36221 resultobj
= SWIG_Py_Void();
36228 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36229 PyObject
*resultobj
= 0;
36230 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36239 PyObject
* obj0
= 0 ;
36240 PyObject
* obj1
= 0 ;
36241 PyObject
* obj2
= 0 ;
36242 char * kwnames
[] = {
36243 (char *) "self",(char *) "x",(char *) "y", NULL
36246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36248 if (!SWIG_IsOK(res1
)) {
36249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36251 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36253 if (!SWIG_IsOK(ecode2
)) {
36254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36256 arg2
= static_cast< int >(val2
);
36257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36258 if (!SWIG_IsOK(ecode3
)) {
36259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36261 arg3
= static_cast< int >(val3
);
36263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36264 (arg1
)->DrawPoint(arg2
,arg3
);
36265 wxPyEndAllowThreads(__tstate
);
36266 if (PyErr_Occurred()) SWIG_fail
;
36268 resultobj
= SWIG_Py_Void();
36275 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36276 PyObject
*resultobj
= 0;
36277 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36278 wxPoint
*arg2
= 0 ;
36282 PyObject
* obj0
= 0 ;
36283 PyObject
* obj1
= 0 ;
36284 char * kwnames
[] = {
36285 (char *) "self",(char *) "pt", NULL
36288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36290 if (!SWIG_IsOK(res1
)) {
36291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36300 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36301 wxPyEndAllowThreads(__tstate
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36304 resultobj
= SWIG_Py_Void();
36311 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36312 PyObject
*resultobj
= 0;
36313 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36328 PyObject
* obj0
= 0 ;
36329 PyObject
* obj1
= 0 ;
36330 PyObject
* obj2
= 0 ;
36331 PyObject
* obj3
= 0 ;
36332 PyObject
* obj4
= 0 ;
36333 char * kwnames
[] = {
36334 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36339 if (!SWIG_IsOK(res1
)) {
36340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36342 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36344 if (!SWIG_IsOK(ecode2
)) {
36345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36347 arg2
= static_cast< int >(val2
);
36348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36349 if (!SWIG_IsOK(ecode3
)) {
36350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36352 arg3
= static_cast< int >(val3
);
36353 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36354 if (!SWIG_IsOK(ecode4
)) {
36355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36357 arg4
= static_cast< int >(val4
);
36358 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36359 if (!SWIG_IsOK(ecode5
)) {
36360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36362 arg5
= static_cast< int >(val5
);
36364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36365 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36366 wxPyEndAllowThreads(__tstate
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36369 resultobj
= SWIG_Py_Void();
36376 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36377 PyObject
*resultobj
= 0;
36378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36383 PyObject
* obj0
= 0 ;
36384 PyObject
* obj1
= 0 ;
36385 char * kwnames
[] = {
36386 (char *) "self",(char *) "rect", NULL
36389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36391 if (!SWIG_IsOK(res1
)) {
36392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36397 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36401 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36402 wxPyEndAllowThreads(__tstate
);
36403 if (PyErr_Occurred()) SWIG_fail
;
36405 resultobj
= SWIG_Py_Void();
36412 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36413 PyObject
*resultobj
= 0;
36414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36415 wxPoint
*arg2
= 0 ;
36421 PyObject
* obj0
= 0 ;
36422 PyObject
* obj1
= 0 ;
36423 PyObject
* obj2
= 0 ;
36424 char * kwnames
[] = {
36425 (char *) "self",(char *) "pt",(char *) "sz", NULL
36428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36430 if (!SWIG_IsOK(res1
)) {
36431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36433 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36440 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36444 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36448 resultobj
= SWIG_Py_Void();
36455 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36456 PyObject
*resultobj
= 0;
36457 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 PyObject
* obj2
= 0 ;
36478 PyObject
* obj3
= 0 ;
36479 PyObject
* obj4
= 0 ;
36480 PyObject
* obj5
= 0 ;
36481 char * kwnames
[] = {
36482 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36487 if (!SWIG_IsOK(res1
)) {
36488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36490 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36492 if (!SWIG_IsOK(ecode2
)) {
36493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36495 arg2
= static_cast< int >(val2
);
36496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36497 if (!SWIG_IsOK(ecode3
)) {
36498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36500 arg3
= static_cast< int >(val3
);
36501 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36502 if (!SWIG_IsOK(ecode4
)) {
36503 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36505 arg4
= static_cast< int >(val4
);
36506 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36507 if (!SWIG_IsOK(ecode5
)) {
36508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36510 arg5
= static_cast< int >(val5
);
36511 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36512 if (!SWIG_IsOK(ecode6
)) {
36513 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36515 arg6
= static_cast< double >(val6
);
36517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36518 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36519 wxPyEndAllowThreads(__tstate
);
36520 if (PyErr_Occurred()) SWIG_fail
;
36522 resultobj
= SWIG_Py_Void();
36529 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36530 PyObject
*resultobj
= 0;
36531 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36539 PyObject
* obj0
= 0 ;
36540 PyObject
* obj1
= 0 ;
36541 PyObject
* obj2
= 0 ;
36542 char * kwnames
[] = {
36543 (char *) "self",(char *) "r",(char *) "radius", NULL
36546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36548 if (!SWIG_IsOK(res1
)) {
36549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36551 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36554 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36556 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36557 if (!SWIG_IsOK(ecode3
)) {
36558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36560 arg3
= static_cast< double >(val3
);
36562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36563 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36564 wxPyEndAllowThreads(__tstate
);
36565 if (PyErr_Occurred()) SWIG_fail
;
36567 resultobj
= SWIG_Py_Void();
36574 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36575 PyObject
*resultobj
= 0;
36576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36577 wxPoint
*arg2
= 0 ;
36586 PyObject
* obj0
= 0 ;
36587 PyObject
* obj1
= 0 ;
36588 PyObject
* obj2
= 0 ;
36589 PyObject
* obj3
= 0 ;
36590 char * kwnames
[] = {
36591 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36596 if (!SWIG_IsOK(res1
)) {
36597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36599 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36606 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36608 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36609 if (!SWIG_IsOK(ecode4
)) {
36610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36612 arg4
= static_cast< double >(val4
);
36614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36615 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36616 wxPyEndAllowThreads(__tstate
);
36617 if (PyErr_Occurred()) SWIG_fail
;
36619 resultobj
= SWIG_Py_Void();
36626 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36627 PyObject
*resultobj
= 0;
36628 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36640 PyObject
* obj0
= 0 ;
36641 PyObject
* obj1
= 0 ;
36642 PyObject
* obj2
= 0 ;
36643 PyObject
* obj3
= 0 ;
36644 char * kwnames
[] = {
36645 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36650 if (!SWIG_IsOK(res1
)) {
36651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36655 if (!SWIG_IsOK(ecode2
)) {
36656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36658 arg2
= static_cast< int >(val2
);
36659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36660 if (!SWIG_IsOK(ecode3
)) {
36661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36663 arg3
= static_cast< int >(val3
);
36664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36665 if (!SWIG_IsOK(ecode4
)) {
36666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36668 arg4
= static_cast< int >(val4
);
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 resultobj
= SWIG_Py_Void();
36682 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36683 PyObject
*resultobj
= 0;
36684 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36685 wxPoint
*arg2
= 0 ;
36692 PyObject
* obj0
= 0 ;
36693 PyObject
* obj1
= 0 ;
36694 PyObject
* obj2
= 0 ;
36695 char * kwnames
[] = {
36696 (char *) "self",(char *) "pt",(char *) "radius", NULL
36699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36701 if (!SWIG_IsOK(res1
)) {
36702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36704 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36710 if (!SWIG_IsOK(ecode3
)) {
36711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36713 arg3
= static_cast< int >(val3
);
36715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36716 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36717 wxPyEndAllowThreads(__tstate
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36720 resultobj
= SWIG_Py_Void();
36727 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36728 PyObject
*resultobj
= 0;
36729 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36744 PyObject
* obj0
= 0 ;
36745 PyObject
* obj1
= 0 ;
36746 PyObject
* obj2
= 0 ;
36747 PyObject
* obj3
= 0 ;
36748 PyObject
* obj4
= 0 ;
36749 char * kwnames
[] = {
36750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36755 if (!SWIG_IsOK(res1
)) {
36756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36758 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36760 if (!SWIG_IsOK(ecode2
)) {
36761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36763 arg2
= static_cast< int >(val2
);
36764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36765 if (!SWIG_IsOK(ecode3
)) {
36766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36768 arg3
= static_cast< int >(val3
);
36769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36770 if (!SWIG_IsOK(ecode4
)) {
36771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36773 arg4
= static_cast< int >(val4
);
36774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36775 if (!SWIG_IsOK(ecode5
)) {
36776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36778 arg5
= static_cast< int >(val5
);
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= SWIG_Py_Void();
36792 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36793 PyObject
*resultobj
= 0;
36794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36799 PyObject
* obj0
= 0 ;
36800 PyObject
* obj1
= 0 ;
36801 char * kwnames
[] = {
36802 (char *) "self",(char *) "rect", NULL
36805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36807 if (!SWIG_IsOK(res1
)) {
36808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36810 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36813 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36817 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36818 wxPyEndAllowThreads(__tstate
);
36819 if (PyErr_Occurred()) SWIG_fail
;
36821 resultobj
= SWIG_Py_Void();
36828 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36829 PyObject
*resultobj
= 0;
36830 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36831 wxPoint
*arg2
= 0 ;
36837 PyObject
* obj0
= 0 ;
36838 PyObject
* obj1
= 0 ;
36839 PyObject
* obj2
= 0 ;
36840 char * kwnames
[] = {
36841 (char *) "self",(char *) "pt",(char *) "sz", NULL
36844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36846 if (!SWIG_IsOK(res1
)) {
36847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36849 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36856 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36860 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36861 wxPyEndAllowThreads(__tstate
);
36862 if (PyErr_Occurred()) SWIG_fail
;
36864 resultobj
= SWIG_Py_Void();
36871 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36872 PyObject
*resultobj
= 0;
36873 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36885 PyObject
* obj0
= 0 ;
36886 PyObject
* obj1
= 0 ;
36887 PyObject
* obj2
= 0 ;
36888 PyObject
* obj3
= 0 ;
36889 char * kwnames
[] = {
36890 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
36893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36895 if (!SWIG_IsOK(res1
)) {
36896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36898 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36900 if (!SWIG_IsOK(res2
)) {
36901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36906 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36908 if (!SWIG_IsOK(ecode3
)) {
36909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
36911 arg3
= static_cast< int >(val3
);
36912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36913 if (!SWIG_IsOK(ecode4
)) {
36914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
36916 arg4
= static_cast< int >(val4
);
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 resultobj
= SWIG_Py_Void();
36930 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
= 0;
36932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36934 wxPoint
*arg3
= 0 ;
36940 PyObject
* obj0
= 0 ;
36941 PyObject
* obj1
= 0 ;
36942 PyObject
* obj2
= 0 ;
36943 char * kwnames
[] = {
36944 (char *) "self",(char *) "icon",(char *) "pt", NULL
36947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36949 if (!SWIG_IsOK(res1
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36954 if (!SWIG_IsOK(res2
)) {
36955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
36960 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36963 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36967 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
36968 wxPyEndAllowThreads(__tstate
);
36969 if (PyErr_Occurred()) SWIG_fail
;
36971 resultobj
= SWIG_Py_Void();
36978 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
= 0;
36980 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36981 wxBitmap
*arg2
= 0 ;
36984 bool arg5
= (bool) false ;
36995 PyObject
* obj0
= 0 ;
36996 PyObject
* obj1
= 0 ;
36997 PyObject
* obj2
= 0 ;
36998 PyObject
* obj3
= 0 ;
36999 PyObject
* obj4
= 0 ;
37000 char * kwnames
[] = {
37001 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37006 if (!SWIG_IsOK(res1
)) {
37007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37009 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37011 if (!SWIG_IsOK(res2
)) {
37012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37017 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37019 if (!SWIG_IsOK(ecode3
)) {
37020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37022 arg3
= static_cast< int >(val3
);
37023 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37024 if (!SWIG_IsOK(ecode4
)) {
37025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37027 arg4
= static_cast< int >(val4
);
37029 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37030 if (!SWIG_IsOK(ecode5
)) {
37031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37033 arg5
= static_cast< bool >(val5
);
37036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37037 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37038 wxPyEndAllowThreads(__tstate
);
37039 if (PyErr_Occurred()) SWIG_fail
;
37041 resultobj
= SWIG_Py_Void();
37048 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37049 PyObject
*resultobj
= 0;
37050 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37051 wxBitmap
*arg2
= 0 ;
37052 wxPoint
*arg3
= 0 ;
37053 bool arg4
= (bool) false ;
37061 PyObject
* obj0
= 0 ;
37062 PyObject
* obj1
= 0 ;
37063 PyObject
* obj2
= 0 ;
37064 PyObject
* obj3
= 0 ;
37065 char * kwnames
[] = {
37066 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37071 if (!SWIG_IsOK(res1
)) {
37072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37074 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37076 if (!SWIG_IsOK(res2
)) {
37077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37082 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37088 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37089 if (!SWIG_IsOK(ecode4
)) {
37090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37092 arg4
= static_cast< bool >(val4
);
37095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37096 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37097 wxPyEndAllowThreads(__tstate
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37100 resultobj
= SWIG_Py_Void();
37107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37108 PyObject
*resultobj
= 0;
37109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37110 wxString
*arg2
= 0 ;
37115 bool temp2
= false ;
37120 PyObject
* obj0
= 0 ;
37121 PyObject
* obj1
= 0 ;
37122 PyObject
* obj2
= 0 ;
37123 PyObject
* obj3
= 0 ;
37124 char * kwnames
[] = {
37125 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37130 if (!SWIG_IsOK(res1
)) {
37131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37135 arg2
= wxString_in_helper(obj1
);
37136 if (arg2
== NULL
) SWIG_fail
;
37139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37140 if (!SWIG_IsOK(ecode3
)) {
37141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37143 arg3
= static_cast< int >(val3
);
37144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37145 if (!SWIG_IsOK(ecode4
)) {
37146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37148 arg4
= static_cast< int >(val4
);
37150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37151 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37152 wxPyEndAllowThreads(__tstate
);
37153 if (PyErr_Occurred()) SWIG_fail
;
37155 resultobj
= SWIG_Py_Void();
37170 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37171 PyObject
*resultobj
= 0;
37172 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37173 wxString
*arg2
= 0 ;
37174 wxPoint
*arg3
= 0 ;
37177 bool temp2
= false ;
37179 PyObject
* obj0
= 0 ;
37180 PyObject
* obj1
= 0 ;
37181 PyObject
* obj2
= 0 ;
37182 char * kwnames
[] = {
37183 (char *) "self",(char *) "text",(char *) "pt", NULL
37186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37188 if (!SWIG_IsOK(res1
)) {
37189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37193 arg2
= wxString_in_helper(obj1
);
37194 if (arg2
== NULL
) SWIG_fail
;
37199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37203 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37204 wxPyEndAllowThreads(__tstate
);
37205 if (PyErr_Occurred()) SWIG_fail
;
37207 resultobj
= SWIG_Py_Void();
37222 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37223 PyObject
*resultobj
= 0;
37224 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37225 wxString
*arg2
= 0 ;
37231 bool temp2
= false ;
37238 PyObject
* obj0
= 0 ;
37239 PyObject
* obj1
= 0 ;
37240 PyObject
* obj2
= 0 ;
37241 PyObject
* obj3
= 0 ;
37242 PyObject
* obj4
= 0 ;
37243 char * kwnames
[] = {
37244 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37249 if (!SWIG_IsOK(res1
)) {
37250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37252 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37254 arg2
= wxString_in_helper(obj1
);
37255 if (arg2
== NULL
) SWIG_fail
;
37258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37259 if (!SWIG_IsOK(ecode3
)) {
37260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37262 arg3
= static_cast< int >(val3
);
37263 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37264 if (!SWIG_IsOK(ecode4
)) {
37265 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37267 arg4
= static_cast< int >(val4
);
37268 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37269 if (!SWIG_IsOK(ecode5
)) {
37270 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37272 arg5
= static_cast< double >(val5
);
37274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37275 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37276 wxPyEndAllowThreads(__tstate
);
37277 if (PyErr_Occurred()) SWIG_fail
;
37279 resultobj
= SWIG_Py_Void();
37294 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37295 PyObject
*resultobj
= 0;
37296 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37297 wxString
*arg2
= 0 ;
37298 wxPoint
*arg3
= 0 ;
37302 bool temp2
= false ;
37306 PyObject
* obj0
= 0 ;
37307 PyObject
* obj1
= 0 ;
37308 PyObject
* obj2
= 0 ;
37309 PyObject
* obj3
= 0 ;
37310 char * kwnames
[] = {
37311 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37316 if (!SWIG_IsOK(res1
)) {
37317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37321 arg2
= wxString_in_helper(obj1
);
37322 if (arg2
== NULL
) SWIG_fail
;
37327 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37329 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37330 if (!SWIG_IsOK(ecode4
)) {
37331 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37333 arg4
= static_cast< double >(val4
);
37335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37336 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37337 wxPyEndAllowThreads(__tstate
);
37338 if (PyErr_Occurred()) SWIG_fail
;
37340 resultobj
= SWIG_Py_Void();
37355 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37356 PyObject
*resultobj
= 0;
37357 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37359 wxPoint
*arg3
= (wxPoint
*) 0 ;
37360 int arg4
= (int) 0 ;
37361 int arg5
= (int) 0 ;
37368 PyObject
* obj0
= 0 ;
37369 PyObject
* obj1
= 0 ;
37370 PyObject
* obj2
= 0 ;
37371 PyObject
* obj3
= 0 ;
37372 char * kwnames
[] = {
37373 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37378 if (!SWIG_IsOK(res1
)) {
37379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37381 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37383 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37384 if (arg3
== NULL
) SWIG_fail
;
37387 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37388 if (!SWIG_IsOK(ecode4
)) {
37389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37391 arg4
= static_cast< int >(val4
);
37394 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37395 if (!SWIG_IsOK(ecode5
)) {
37396 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37398 arg5
= static_cast< int >(val5
);
37401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37402 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37403 wxPyEndAllowThreads(__tstate
);
37404 if (PyErr_Occurred()) SWIG_fail
;
37406 resultobj
= SWIG_Py_Void();
37408 if (arg3
) delete [] arg3
;
37413 if (arg3
) delete [] arg3
;
37419 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37420 PyObject
*resultobj
= 0;
37421 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37423 wxPoint
*arg3
= (wxPoint
*) 0 ;
37424 int arg4
= (int) 0 ;
37425 int arg5
= (int) 0 ;
37426 int arg6
= (int) wxODDEVEN_RULE
;
37435 PyObject
* obj0
= 0 ;
37436 PyObject
* obj1
= 0 ;
37437 PyObject
* obj2
= 0 ;
37438 PyObject
* obj3
= 0 ;
37439 PyObject
* obj4
= 0 ;
37440 char * kwnames
[] = {
37441 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37446 if (!SWIG_IsOK(res1
)) {
37447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37449 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37451 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37452 if (arg3
== NULL
) SWIG_fail
;
37455 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37456 if (!SWIG_IsOK(ecode4
)) {
37457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37459 arg4
= static_cast< int >(val4
);
37462 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37463 if (!SWIG_IsOK(ecode5
)) {
37464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37466 arg5
= static_cast< int >(val5
);
37469 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37470 if (!SWIG_IsOK(ecode6
)) {
37471 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37473 arg6
= static_cast< int >(val6
);
37476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37477 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37478 wxPyEndAllowThreads(__tstate
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37481 resultobj
= SWIG_Py_Void();
37483 if (arg3
) delete [] arg3
;
37488 if (arg3
) delete [] arg3
;
37494 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37495 PyObject
*resultobj
= 0;
37496 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37497 wxString
*arg2
= 0 ;
37499 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37500 int arg5
= (int) -1 ;
37503 bool temp2
= false ;
37509 PyObject
* obj0
= 0 ;
37510 PyObject
* obj1
= 0 ;
37511 PyObject
* obj2
= 0 ;
37512 PyObject
* obj3
= 0 ;
37513 PyObject
* obj4
= 0 ;
37514 char * kwnames
[] = {
37515 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37520 if (!SWIG_IsOK(res1
)) {
37521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37523 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37525 arg2
= wxString_in_helper(obj1
);
37526 if (arg2
== NULL
) SWIG_fail
;
37531 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37535 if (!SWIG_IsOK(ecode4
)) {
37536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37538 arg4
= static_cast< int >(val4
);
37541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37542 if (!SWIG_IsOK(ecode5
)) {
37543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37545 arg5
= static_cast< int >(val5
);
37548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37549 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37550 wxPyEndAllowThreads(__tstate
);
37551 if (PyErr_Occurred()) SWIG_fail
;
37553 resultobj
= SWIG_Py_Void();
37568 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37569 PyObject
*resultobj
= 0;
37570 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37571 wxString
*arg2
= 0 ;
37572 wxBitmap
*arg3
= 0 ;
37574 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37575 int arg6
= (int) -1 ;
37578 bool temp2
= false ;
37586 PyObject
* obj0
= 0 ;
37587 PyObject
* obj1
= 0 ;
37588 PyObject
* obj2
= 0 ;
37589 PyObject
* obj3
= 0 ;
37590 PyObject
* obj4
= 0 ;
37591 PyObject
* obj5
= 0 ;
37592 char * kwnames
[] = {
37593 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37598 if (!SWIG_IsOK(res1
)) {
37599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37601 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37603 arg2
= wxString_in_helper(obj1
);
37604 if (arg2
== NULL
) SWIG_fail
;
37607 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37608 if (!SWIG_IsOK(res3
)) {
37609 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37614 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37617 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37620 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37621 if (!SWIG_IsOK(ecode5
)) {
37622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37624 arg5
= static_cast< int >(val5
);
37627 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37628 if (!SWIG_IsOK(ecode6
)) {
37629 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37631 arg6
= static_cast< int >(val6
);
37634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37635 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37636 wxPyEndAllowThreads(__tstate
);
37637 if (PyErr_Occurred()) SWIG_fail
;
37639 resultobj
= SWIG_Py_Void();
37654 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37655 PyObject
*resultobj
= 0;
37656 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37658 wxPoint
*arg3
= (wxPoint
*) 0 ;
37661 PyObject
* obj0
= 0 ;
37662 PyObject
* obj1
= 0 ;
37663 char * kwnames
[] = {
37664 (char *) "self",(char *) "points", NULL
37667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37669 if (!SWIG_IsOK(res1
)) {
37670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37672 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37674 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37675 if (arg3
== NULL
) SWIG_fail
;
37678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37679 (arg1
)->DrawSpline(arg2
,arg3
);
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= SWIG_Py_Void();
37685 if (arg3
) delete [] arg3
;
37690 if (arg3
) delete [] arg3
;
37696 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37697 PyObject
*resultobj
= 0;
37698 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37701 PyObject
*swig_obj
[1] ;
37703 if (!args
) SWIG_fail
;
37704 swig_obj
[0] = args
;
37705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37706 if (!SWIG_IsOK(res1
)) {
37707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37709 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37716 resultobj
= SWIG_Py_Void();
37723 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37724 PyObject
*resultobj
= 0;
37725 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37731 PyObject
* obj0
= 0 ;
37732 PyObject
* obj1
= 0 ;
37733 char * kwnames
[] = {
37734 (char *) "self",(char *) "font", NULL
37737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37739 if (!SWIG_IsOK(res1
)) {
37740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37742 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37744 if (!SWIG_IsOK(res2
)) {
37745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37750 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37753 (arg1
)->SetFont((wxFont
const &)*arg2
);
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37757 resultobj
= SWIG_Py_Void();
37764 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37765 PyObject
*resultobj
= 0;
37766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37772 PyObject
* obj0
= 0 ;
37773 PyObject
* obj1
= 0 ;
37774 char * kwnames
[] = {
37775 (char *) "self",(char *) "pen", NULL
37778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37780 if (!SWIG_IsOK(res1
)) {
37781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37783 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37785 if (!SWIG_IsOK(res2
)) {
37786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37791 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37794 (arg1
)->SetPen((wxPen
const &)*arg2
);
37795 wxPyEndAllowThreads(__tstate
);
37796 if (PyErr_Occurred()) SWIG_fail
;
37798 resultobj
= SWIG_Py_Void();
37805 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37806 PyObject
*resultobj
= 0;
37807 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37808 wxBrush
*arg2
= 0 ;
37813 PyObject
* obj0
= 0 ;
37814 PyObject
* obj1
= 0 ;
37815 char * kwnames
[] = {
37816 (char *) "self",(char *) "brush", NULL
37819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37821 if (!SWIG_IsOK(res1
)) {
37822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37824 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37826 if (!SWIG_IsOK(res2
)) {
37827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37832 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37835 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
37836 wxPyEndAllowThreads(__tstate
);
37837 if (PyErr_Occurred()) SWIG_fail
;
37839 resultobj
= SWIG_Py_Void();
37846 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37847 PyObject
*resultobj
= 0;
37848 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37849 wxBrush
*arg2
= 0 ;
37854 PyObject
* obj0
= 0 ;
37855 PyObject
* obj1
= 0 ;
37856 char * kwnames
[] = {
37857 (char *) "self",(char *) "brush", NULL
37860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37862 if (!SWIG_IsOK(res1
)) {
37863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37867 if (!SWIG_IsOK(res2
)) {
37868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37873 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
37877 wxPyEndAllowThreads(__tstate
);
37878 if (PyErr_Occurred()) SWIG_fail
;
37880 resultobj
= SWIG_Py_Void();
37887 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37888 PyObject
*resultobj
= 0;
37889 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37895 PyObject
* obj0
= 0 ;
37896 PyObject
* obj1
= 0 ;
37897 char * kwnames
[] = {
37898 (char *) "self",(char *) "mode", NULL
37901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37903 if (!SWIG_IsOK(res1
)) {
37904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37906 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37908 if (!SWIG_IsOK(ecode2
)) {
37909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
37911 arg2
= static_cast< int >(val2
);
37913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37914 (arg1
)->SetBackgroundMode(arg2
);
37915 wxPyEndAllowThreads(__tstate
);
37916 if (PyErr_Occurred()) SWIG_fail
;
37918 resultobj
= SWIG_Py_Void();
37925 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37926 PyObject
*resultobj
= 0;
37927 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37928 wxPalette
*arg2
= 0 ;
37933 PyObject
* obj0
= 0 ;
37934 PyObject
* obj1
= 0 ;
37935 char * kwnames
[] = {
37936 (char *) "self",(char *) "palette", NULL
37939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37941 if (!SWIG_IsOK(res1
)) {
37942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37944 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
37946 if (!SWIG_IsOK(res2
)) {
37947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
37952 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
37954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37955 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
37956 wxPyEndAllowThreads(__tstate
);
37957 if (PyErr_Occurred()) SWIG_fail
;
37959 resultobj
= SWIG_Py_Void();
37966 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37967 PyObject
*resultobj
= 0;
37968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37969 wxColour
*arg2
= 0 ;
37973 PyObject
* obj0
= 0 ;
37974 PyObject
* obj1
= 0 ;
37975 char * kwnames
[] = {
37976 (char *) "self",(char *) "colour", NULL
37979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37981 if (!SWIG_IsOK(res1
)) {
37982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37991 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
37992 wxPyEndAllowThreads(__tstate
);
37993 if (PyErr_Occurred()) SWIG_fail
;
37995 resultobj
= SWIG_Py_Void();
38002 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38003 PyObject
*resultobj
= 0;
38004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38005 wxColour
*arg2
= 0 ;
38009 PyObject
* obj0
= 0 ;
38010 PyObject
* obj1
= 0 ;
38011 char * kwnames
[] = {
38012 (char *) "self",(char *) "colour", NULL
38015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38017 if (!SWIG_IsOK(res1
)) {
38018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38020 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38023 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38027 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38028 wxPyEndAllowThreads(__tstate
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38031 resultobj
= SWIG_Py_Void();
38038 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38039 PyObject
*resultobj
= 0;
38040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38046 PyObject
* obj0
= 0 ;
38047 PyObject
* obj1
= 0 ;
38048 char * kwnames
[] = {
38049 (char *) "self",(char *) "function", NULL
38052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38054 if (!SWIG_IsOK(res1
)) {
38055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38057 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38059 if (!SWIG_IsOK(ecode2
)) {
38060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38062 arg2
= static_cast< int >(val2
);
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 (arg1
)->SetLogicalFunction(arg2
);
38066 wxPyEndAllowThreads(__tstate
);
38067 if (PyErr_Occurred()) SWIG_fail
;
38069 resultobj
= SWIG_Py_Void();
38076 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38079 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38080 return SWIG_Py_Void();
38083 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38084 return SWIG_Python_InitShadowInstance(args
);
38087 static PyMethodDef SwigMethods
[] = {
38088 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38089 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38090 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38091 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38092 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38093 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38094 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38095 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38096 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38097 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38098 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38099 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38100 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38101 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38102 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38103 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38104 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38105 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38106 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38107 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38108 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38109 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38110 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38111 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38112 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38113 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38114 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38115 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38116 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38117 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38118 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38119 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38120 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38121 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38122 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38123 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38124 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38125 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38126 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38127 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38128 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38129 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38130 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38131 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38132 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38133 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38134 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38135 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38136 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38137 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38138 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38139 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38140 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38141 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38142 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38143 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38144 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38145 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38146 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38147 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38148 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38149 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38150 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38151 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38152 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38153 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38154 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38155 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38156 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38157 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38158 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38159 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38160 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38161 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38162 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38163 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38164 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38165 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38166 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38167 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38168 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38169 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38170 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38171 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38172 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38173 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38174 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38175 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38176 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38177 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38178 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38179 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38180 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38181 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38182 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38183 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38184 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38185 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38186 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38187 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38188 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38189 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38190 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38191 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38192 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38193 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38194 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38195 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38196 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38197 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38198 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38199 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38200 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38201 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38202 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38203 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38204 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38205 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38206 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38207 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38208 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38209 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38210 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38211 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38212 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38213 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38214 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38215 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38216 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38217 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38218 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38219 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38220 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38221 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38222 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38223 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38224 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38225 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38226 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38227 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38228 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38229 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38230 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38231 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38232 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38233 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38234 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38235 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38236 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38237 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38238 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38239 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38240 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38241 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38242 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38243 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38244 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38245 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38246 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38247 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38248 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38249 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38250 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38251 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38252 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38253 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38254 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38255 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38256 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38257 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38258 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38259 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38260 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38261 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38262 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38263 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38264 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38265 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38266 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38267 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38268 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38269 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38270 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38271 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38272 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38273 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38274 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38275 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38276 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38277 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38278 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38279 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38280 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38281 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38282 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38283 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38285 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38286 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38287 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38288 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38289 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38290 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38291 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38292 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38293 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38294 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38295 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38296 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38297 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38299 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38300 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38301 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38302 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38303 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38305 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38306 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38307 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38308 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38309 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38310 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38311 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38312 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38313 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38314 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38315 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38316 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38317 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38318 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38319 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38320 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38321 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38322 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38323 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38324 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38325 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38326 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38327 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38328 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38329 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38330 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38331 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38332 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38333 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38334 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38335 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38336 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38337 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38338 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38339 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38341 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38342 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38343 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38344 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38345 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38346 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38347 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38348 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38349 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38350 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38351 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38352 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38353 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38354 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38355 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38356 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38357 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38358 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38359 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38360 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38361 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38362 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38363 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38365 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38366 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38367 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38370 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38373 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38374 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38375 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38376 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38378 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38379 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38380 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38381 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38382 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38383 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38384 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38385 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38386 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38387 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38388 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38389 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38390 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38391 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38393 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38394 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38395 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38396 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38397 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38398 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38399 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38400 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38401 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38402 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38403 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38404 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38405 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38406 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38407 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38408 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38416 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38417 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38418 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38419 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38421 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38422 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38424 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38425 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38426 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38427 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38428 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38429 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38430 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38431 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38432 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38433 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38434 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38435 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38436 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38437 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38438 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38439 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38440 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38441 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38442 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38443 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38444 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38445 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38447 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38448 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38449 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38450 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38451 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38452 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38453 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38454 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38464 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38465 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38466 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38468 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38470 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38472 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38473 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38474 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38475 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38476 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38477 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38483 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38484 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38485 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38535 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38537 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38538 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38539 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38541 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38542 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38543 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38546 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38547 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38548 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38549 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38550 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38555 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38556 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38557 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38558 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38567 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38568 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38569 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38570 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38571 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38572 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38573 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38574 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38575 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38576 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38577 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38578 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38581 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38583 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38585 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38587 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38588 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38591 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38592 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38593 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38596 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38598 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38601 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38602 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38603 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38604 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38605 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38606 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38607 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38615 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38617 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38618 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38619 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38621 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38622 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38623 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38625 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38626 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38627 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38628 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38629 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38630 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38631 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38636 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38637 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38638 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38641 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38642 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38643 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38645 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38646 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38648 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38649 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38651 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38652 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38653 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38654 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38655 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38656 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38657 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38659 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38660 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38662 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38663 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38666 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38667 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38669 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38672 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38673 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38674 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38676 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38677 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38679 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38680 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38682 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38683 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38685 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38686 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38687 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38688 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38689 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38690 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38691 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38692 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38693 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38694 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38695 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38696 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38697 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38698 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38699 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38700 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38701 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38702 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38703 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38707 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38709 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38715 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38716 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38717 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38718 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38719 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38720 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38721 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38722 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38724 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38725 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38726 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38733 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38736 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38737 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38738 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38739 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38740 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38741 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38744 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38751 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38752 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38755 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38756 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38762 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38763 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38764 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38765 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38783 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38784 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38785 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38786 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38787 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38790 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38797 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38799 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38800 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38802 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38803 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38804 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38805 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38806 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38807 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38808 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38809 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38810 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38811 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38812 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38813 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38815 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38823 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38825 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38827 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38828 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38829 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
38830 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
38831 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
38832 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
38838 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
38839 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
38840 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
38841 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
38842 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
38843 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
38847 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
38851 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
38855 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
38856 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
38857 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
38862 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
38863 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
38864 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
38865 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
38866 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
38867 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
38868 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
38869 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
38870 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
38871 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
38872 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
38873 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
38882 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
38883 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
38885 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
38886 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
38887 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
38888 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
38889 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
38890 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
38891 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
38892 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
38893 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
38894 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
38895 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
38896 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
38897 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
38898 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
38899 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
38900 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
38901 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
38902 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
38903 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
38904 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
38905 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
38906 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
38907 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
38908 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
38910 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
38912 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
38913 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
38914 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
38915 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
38928 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
38929 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
38930 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
38932 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
38933 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
38934 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
38935 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
38936 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
38937 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
38938 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
38939 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
38992 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39002 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39003 { NULL
, NULL
, 0, NULL
}
39007 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39009 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39010 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39012 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39013 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39015 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39016 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39018 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39019 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39021 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39022 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39024 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39025 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39027 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39028 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39030 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39031 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39033 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39034 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39036 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39037 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39039 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39040 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39042 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39043 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39045 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39046 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39048 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39049 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39051 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39052 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39054 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39055 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39057 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39058 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39060 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39061 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39063 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39064 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39066 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39067 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39069 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39070 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39072 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39073 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39075 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39076 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39078 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39079 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39081 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39082 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39084 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39085 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39087 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39088 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39090 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39091 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39093 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39094 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39096 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39097 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39099 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39100 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39102 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39103 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39105 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39106 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39108 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39109 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39111 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39112 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39114 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39115 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39117 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39118 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39120 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39121 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39123 static void *_p_wxPenTo_p_wxObject(void *x
) {
39124 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39126 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39127 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39129 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39130 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39132 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39133 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39135 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39136 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39138 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39139 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39141 static void *_p_wxIconTo_p_wxObject(void *x
) {
39142 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39144 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39145 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39147 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39148 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39150 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39151 return (void *)((wxObject
*) ((wxSizer
*) x
));
39153 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39154 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39156 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39159 static void *_p_wxEventTo_p_wxObject(void *x
) {
39160 return (void *)((wxObject
*) ((wxEvent
*) x
));
39162 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39163 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39165 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39166 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39168 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39169 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39171 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39172 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39174 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39177 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39178 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39180 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39181 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39183 static void *_p_wxDCTo_p_wxObject(void *x
) {
39184 return (void *)((wxObject
*) ((wxDC
*) x
));
39186 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39187 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39189 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39190 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39192 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39193 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39195 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39196 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39198 static void *_p_wxControlTo_p_wxObject(void *x
) {
39199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39201 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39202 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39204 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39205 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39207 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39208 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39210 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39211 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39213 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39214 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39216 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39217 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39219 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39220 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39222 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39223 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39225 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39226 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39228 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39229 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39231 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39232 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39234 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39235 return (void *)((wxObject
*) ((wxEffects
*) x
));
39237 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39238 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39240 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39243 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39244 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39246 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39247 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39249 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39250 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39252 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39253 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39255 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39258 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39259 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39261 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39262 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39264 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39265 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39267 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39268 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39270 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39271 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39273 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39274 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39276 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39277 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39279 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39280 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39282 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39283 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39285 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39286 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39288 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39289 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39291 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39292 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39294 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39295 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39297 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39298 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39300 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39301 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39303 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39304 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39306 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39307 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39309 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39310 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39312 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39313 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39315 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39316 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39318 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39319 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39321 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39322 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39324 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39325 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39327 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39328 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39330 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39331 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39333 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39334 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39336 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39337 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39339 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39340 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39342 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39343 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39345 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39346 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39348 static void *_p_wxImageTo_p_wxObject(void *x
) {
39349 return (void *)((wxObject
*) ((wxImage
*) x
));
39351 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39352 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39354 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39355 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39357 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39358 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39360 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39361 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39363 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39364 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39366 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39367 return (void *)((wxObject
*) ((wxImageList
*) x
));
39369 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39370 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39372 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39373 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39375 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39376 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39378 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39379 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39381 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39382 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39384 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39385 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39387 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39388 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39390 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39391 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39393 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39394 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39396 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39397 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39399 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39402 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39403 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39405 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39406 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39408 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39409 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39411 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39412 return (void *)((wxObject
*) ((wxMask
*) x
));
39414 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39415 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39417 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39420 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39421 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39423 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39424 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39426 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39427 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39429 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39430 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39432 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39433 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39435 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39438 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39439 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39441 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39442 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39444 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39445 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39447 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39450 static void *_p_wxFontTo_p_wxObject(void *x
) {
39451 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39453 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39454 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39456 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39457 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39459 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39462 static void *_p_wxColourTo_p_wxObject(void *x
) {
39463 return (void *)((wxObject
*) ((wxColour
*) x
));
39465 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39468 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39469 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39471 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39472 return (void *)((wxWindow
*) ((wxControl
*) x
));
39474 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39475 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39477 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39478 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39480 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39481 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39483 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39484 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39486 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39487 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39488 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39489 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};
39490 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39491 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39492 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39493 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39494 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39495 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39496 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39497 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39498 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39499 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39500 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39501 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39502 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39503 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39504 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39505 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39506 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39507 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39508 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39509 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39510 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39511 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39512 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39513 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39514 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39515 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39516 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39517 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39518 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39519 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39520 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39521 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39522 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39523 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39524 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39525 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39526 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39527 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39528 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39529 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39530 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39531 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39532 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39533 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39534 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39535 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39536 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39537 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39538 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39539 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39540 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39541 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39542 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39543 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39544 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39545 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39546 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39547 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39548 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39549 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39550 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39551 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39552 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39553 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39554 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39555 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39556 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39557 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39558 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39559 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39560 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39561 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39562 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39563 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39564 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39565 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39566 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39567 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39568 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39569 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39570 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39571 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39572 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39573 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39574 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39575 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39576 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39577 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39578 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39579 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39580 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39581 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39582 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39583 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39584 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39585 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39586 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39587 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39588 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39589 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39590 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39591 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39592 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39593 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39594 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39595 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39596 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39597 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39598 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39599 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39600 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39601 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39602 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39603 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39604 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39605 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39606 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39607 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39608 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39609 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39610 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39611 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39612 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39613 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39614 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39615 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39616 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39617 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39618 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39619 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39620 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39621 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39622 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39623 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39624 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39625 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39626 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39627 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39628 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39629 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39630 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39631 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39632 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39633 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39634 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39635 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39636 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39637 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39638 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39639 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39640 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39641 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39642 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39643 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39644 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39645 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39646 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39647 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39648 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39649 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39650 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39651 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39652 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39653 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39654 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39655 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39657 static swig_type_info
*swig_type_initial
[] = {
39661 &_swigt__p_form_ops_t
,
39663 &_swigt__p_unsigned_char
,
39664 &_swigt__p_unsigned_int
,
39665 &_swigt__p_unsigned_long
,
39667 &_swigt__p_wxANIHandler
,
39668 &_swigt__p_wxAcceleratorTable
,
39669 &_swigt__p_wxActivateEvent
,
39670 &_swigt__p_wxAlphaPixelData
,
39671 &_swigt__p_wxAlphaPixelData_Accessor
,
39672 &_swigt__p_wxAutoBufferedPaintDC
,
39673 &_swigt__p_wxBMPHandler
,
39674 &_swigt__p_wxBitmap
,
39675 &_swigt__p_wxBoxSizer
,
39676 &_swigt__p_wxBrush
,
39677 &_swigt__p_wxBrushList
,
39678 &_swigt__p_wxBufferedDC
,
39679 &_swigt__p_wxBufferedPaintDC
,
39680 &_swigt__p_wxCURHandler
,
39682 &_swigt__p_wxChildFocusEvent
,
39683 &_swigt__p_wxClientDC
,
39684 &_swigt__p_wxClipboardTextEvent
,
39685 &_swigt__p_wxCloseEvent
,
39686 &_swigt__p_wxColor
,
39687 &_swigt__p_wxColour
,
39688 &_swigt__p_wxColourDatabase
,
39689 &_swigt__p_wxCommandEvent
,
39690 &_swigt__p_wxContextMenuEvent
,
39691 &_swigt__p_wxControl
,
39692 &_swigt__p_wxControlWithItems
,
39693 &_swigt__p_wxCursor
,
39695 &_swigt__p_wxDCBrushChanger
,
39696 &_swigt__p_wxDCClipper
,
39697 &_swigt__p_wxDCOverlay
,
39698 &_swigt__p_wxDCPenChanger
,
39699 &_swigt__p_wxDCTextColourChanger
,
39701 &_swigt__p_wxDateEvent
,
39702 &_swigt__p_wxDisplayChangedEvent
,
39703 &_swigt__p_wxDropFilesEvent
,
39704 &_swigt__p_wxDuplexMode
,
39705 &_swigt__p_wxEffects
,
39706 &_swigt__p_wxEncodingConverter
,
39707 &_swigt__p_wxEraseEvent
,
39708 &_swigt__p_wxEvent
,
39709 &_swigt__p_wxEvtHandler
,
39710 &_swigt__p_wxFSFile
,
39711 &_swigt__p_wxFileSystem
,
39712 &_swigt__p_wxFlexGridSizer
,
39713 &_swigt__p_wxFocusEvent
,
39715 &_swigt__p_wxFontList
,
39716 &_swigt__p_wxFontMapper
,
39717 &_swigt__p_wxGBSizerItem
,
39719 &_swigt__p_wxGDIObjListBase
,
39720 &_swigt__p_wxGDIObject
,
39721 &_swigt__p_wxGIFHandler
,
39722 &_swigt__p_wxGraphicsBrush
,
39723 &_swigt__p_wxGraphicsContext
,
39724 &_swigt__p_wxGraphicsFont
,
39725 &_swigt__p_wxGraphicsMatrix
,
39726 &_swigt__p_wxGraphicsObject
,
39727 &_swigt__p_wxGraphicsPath
,
39728 &_swigt__p_wxGraphicsPen
,
39729 &_swigt__p_wxGraphicsRenderer
,
39730 &_swigt__p_wxGridBagSizer
,
39731 &_swigt__p_wxGridSizer
,
39732 &_swigt__p_wxHeaderButtonParams
,
39733 &_swigt__p_wxICOHandler
,
39735 &_swigt__p_wxIconBundle
,
39736 &_swigt__p_wxIconLocation
,
39737 &_swigt__p_wxIconizeEvent
,
39738 &_swigt__p_wxIdleEvent
,
39739 &_swigt__p_wxImage
,
39740 &_swigt__p_wxImageHandler
,
39741 &_swigt__p_wxImageList
,
39742 &_swigt__p_wxIndividualLayoutConstraint
,
39743 &_swigt__p_wxInitDialogEvent
,
39744 &_swigt__p_wxJPEGHandler
,
39745 &_swigt__p_wxKeyEvent
,
39746 &_swigt__p_wxLanguageInfo
,
39747 &_swigt__p_wxLayoutConstraints
,
39748 &_swigt__p_wxLocale
,
39750 &_swigt__p_wxMaximizeEvent
,
39751 &_swigt__p_wxMemoryDC
,
39753 &_swigt__p_wxMenuBar
,
39754 &_swigt__p_wxMenuEvent
,
39755 &_swigt__p_wxMenuItem
,
39756 &_swigt__p_wxMetaFile
,
39757 &_swigt__p_wxMetaFileDC
,
39758 &_swigt__p_wxMirrorDC
,
39759 &_swigt__p_wxMouseCaptureChangedEvent
,
39760 &_swigt__p_wxMouseCaptureLostEvent
,
39761 &_swigt__p_wxMouseEvent
,
39762 &_swigt__p_wxMoveEvent
,
39763 &_swigt__p_wxNativeEncodingInfo
,
39764 &_swigt__p_wxNativeFontInfo
,
39765 &_swigt__p_wxNativePixelData
,
39766 &_swigt__p_wxNativePixelData_Accessor
,
39767 &_swigt__p_wxNavigationKeyEvent
,
39768 &_swigt__p_wxNcPaintEvent
,
39769 &_swigt__p_wxNotifyEvent
,
39770 &_swigt__p_wxObject
,
39771 &_swigt__p_wxOverlay
,
39772 &_swigt__p_wxPCXHandler
,
39773 &_swigt__p_wxPNGHandler
,
39774 &_swigt__p_wxPNMHandler
,
39775 &_swigt__p_wxPaintDC
,
39776 &_swigt__p_wxPaintEvent
,
39777 &_swigt__p_wxPalette
,
39778 &_swigt__p_wxPaletteChangedEvent
,
39779 &_swigt__p_wxPaperSize
,
39781 &_swigt__p_wxPenList
,
39782 &_swigt__p_wxPixelDataBase
,
39783 &_swigt__p_wxPoint
,
39784 &_swigt__p_wxPoint2D
,
39785 &_swigt__p_wxPoint2DDouble
,
39786 &_swigt__p_wxPostScriptDC
,
39787 &_swigt__p_wxPrintData
,
39788 &_swigt__p_wxPrinterDC
,
39789 &_swigt__p_wxPseudoDC
,
39790 &_swigt__p_wxPyApp
,
39791 &_swigt__p_wxPyCommandEvent
,
39792 &_swigt__p_wxPyEvent
,
39793 &_swigt__p_wxPyFontEnumerator
,
39794 &_swigt__p_wxPyImageHandler
,
39795 &_swigt__p_wxPyLocale
,
39796 &_swigt__p_wxPySizer
,
39797 &_swigt__p_wxPyValidator
,
39798 &_swigt__p_wxQueryNewPaletteEvent
,
39800 &_swigt__p_wxRect2DDouble
,
39801 &_swigt__p_wxRegion
,
39802 &_swigt__p_wxRegionIterator
,
39803 &_swigt__p_wxRendererNative
,
39804 &_swigt__p_wxRendererVersion
,
39805 &_swigt__p_wxScreenDC
,
39806 &_swigt__p_wxScrollEvent
,
39807 &_swigt__p_wxScrollWinEvent
,
39808 &_swigt__p_wxSetCursorEvent
,
39809 &_swigt__p_wxShowEvent
,
39811 &_swigt__p_wxSizeEvent
,
39812 &_swigt__p_wxSizer
,
39813 &_swigt__p_wxSizerItem
,
39814 &_swigt__p_wxSplitterRenderParams
,
39815 &_swigt__p_wxStaticBoxSizer
,
39816 &_swigt__p_wxStdDialogButtonSizer
,
39817 &_swigt__p_wxStockGDI
,
39818 &_swigt__p_wxString
,
39819 &_swigt__p_wxSysColourChangedEvent
,
39820 &_swigt__p_wxTIFFHandler
,
39821 &_swigt__p_wxUpdateUIEvent
,
39822 &_swigt__p_wxValidator
,
39823 &_swigt__p_wxWindow
,
39824 &_swigt__p_wxWindowCreateEvent
,
39825 &_swigt__p_wxWindowDC
,
39826 &_swigt__p_wxWindowDestroyEvent
,
39827 &_swigt__p_wxXPMHandler
,
39830 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
39831 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39832 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
39833 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39834 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39835 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39836 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39837 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39838 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39839 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
39840 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39841 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39842 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39843 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
39844 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
39845 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}};
39846 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39847 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39848 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}};
39849 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
39850 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39851 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
39852 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39853 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}};
39854 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
39855 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
39856 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39857 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
39858 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
39859 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
39860 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39861 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
39862 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
39863 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39864 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
39865 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
39866 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
39867 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}};
39868 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}};
39869 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
39870 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
39871 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
39872 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
39873 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}};
39874 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
39875 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
39876 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
39877 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
39878 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39879 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
39880 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
39881 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39882 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
39883 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
39884 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}};
39885 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
39886 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}};
39887 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
39888 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
39889 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
39890 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
39891 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
39892 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
39893 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39894 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39895 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39896 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39897 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39898 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39899 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39900 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39901 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39902 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39903 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39904 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39905 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
39906 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39907 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39908 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39909 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39910 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39911 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39912 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39913 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39914 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39915 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39916 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39917 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39918 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39919 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39920 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39921 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39922 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39923 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39924 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39925 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39926 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39927 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39928 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39929 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39930 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39931 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39932 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39933 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
39934 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39935 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39936 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39937 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39938 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39939 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39940 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39941 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39942 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39943 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39944 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39945 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39946 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39947 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39948 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39949 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39950 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39951 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39952 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39953 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39954 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39955 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39956 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39957 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39958 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39959 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39960 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39961 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39962 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39963 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39964 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39965 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39966 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39967 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39968 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39969 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39970 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}};
39971 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39972 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39973 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
39974 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39975 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
39976 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
39977 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}};
39978 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39979 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
39980 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39981 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
39982 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
39983 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
39984 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
39985 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
39986 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
39987 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39988 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
39989 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
39990 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
39991 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
39992 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
39993 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
39994 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39995 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
39996 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
39997 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39998 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}};
39999 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}};
40001 static swig_cast_info
*swig_cast_initial
[] = {
40005 _swigc__p_form_ops_t
,
40007 _swigc__p_unsigned_char
,
40008 _swigc__p_unsigned_int
,
40009 _swigc__p_unsigned_long
,
40011 _swigc__p_wxANIHandler
,
40012 _swigc__p_wxAcceleratorTable
,
40013 _swigc__p_wxActivateEvent
,
40014 _swigc__p_wxAlphaPixelData
,
40015 _swigc__p_wxAlphaPixelData_Accessor
,
40016 _swigc__p_wxAutoBufferedPaintDC
,
40017 _swigc__p_wxBMPHandler
,
40018 _swigc__p_wxBitmap
,
40019 _swigc__p_wxBoxSizer
,
40021 _swigc__p_wxBrushList
,
40022 _swigc__p_wxBufferedDC
,
40023 _swigc__p_wxBufferedPaintDC
,
40024 _swigc__p_wxCURHandler
,
40026 _swigc__p_wxChildFocusEvent
,
40027 _swigc__p_wxClientDC
,
40028 _swigc__p_wxClipboardTextEvent
,
40029 _swigc__p_wxCloseEvent
,
40031 _swigc__p_wxColour
,
40032 _swigc__p_wxColourDatabase
,
40033 _swigc__p_wxCommandEvent
,
40034 _swigc__p_wxContextMenuEvent
,
40035 _swigc__p_wxControl
,
40036 _swigc__p_wxControlWithItems
,
40037 _swigc__p_wxCursor
,
40039 _swigc__p_wxDCBrushChanger
,
40040 _swigc__p_wxDCClipper
,
40041 _swigc__p_wxDCOverlay
,
40042 _swigc__p_wxDCPenChanger
,
40043 _swigc__p_wxDCTextColourChanger
,
40045 _swigc__p_wxDateEvent
,
40046 _swigc__p_wxDisplayChangedEvent
,
40047 _swigc__p_wxDropFilesEvent
,
40048 _swigc__p_wxDuplexMode
,
40049 _swigc__p_wxEffects
,
40050 _swigc__p_wxEncodingConverter
,
40051 _swigc__p_wxEraseEvent
,
40053 _swigc__p_wxEvtHandler
,
40054 _swigc__p_wxFSFile
,
40055 _swigc__p_wxFileSystem
,
40056 _swigc__p_wxFlexGridSizer
,
40057 _swigc__p_wxFocusEvent
,
40059 _swigc__p_wxFontList
,
40060 _swigc__p_wxFontMapper
,
40061 _swigc__p_wxGBSizerItem
,
40063 _swigc__p_wxGDIObjListBase
,
40064 _swigc__p_wxGDIObject
,
40065 _swigc__p_wxGIFHandler
,
40066 _swigc__p_wxGraphicsBrush
,
40067 _swigc__p_wxGraphicsContext
,
40068 _swigc__p_wxGraphicsFont
,
40069 _swigc__p_wxGraphicsMatrix
,
40070 _swigc__p_wxGraphicsObject
,
40071 _swigc__p_wxGraphicsPath
,
40072 _swigc__p_wxGraphicsPen
,
40073 _swigc__p_wxGraphicsRenderer
,
40074 _swigc__p_wxGridBagSizer
,
40075 _swigc__p_wxGridSizer
,
40076 _swigc__p_wxHeaderButtonParams
,
40077 _swigc__p_wxICOHandler
,
40079 _swigc__p_wxIconBundle
,
40080 _swigc__p_wxIconLocation
,
40081 _swigc__p_wxIconizeEvent
,
40082 _swigc__p_wxIdleEvent
,
40084 _swigc__p_wxImageHandler
,
40085 _swigc__p_wxImageList
,
40086 _swigc__p_wxIndividualLayoutConstraint
,
40087 _swigc__p_wxInitDialogEvent
,
40088 _swigc__p_wxJPEGHandler
,
40089 _swigc__p_wxKeyEvent
,
40090 _swigc__p_wxLanguageInfo
,
40091 _swigc__p_wxLayoutConstraints
,
40092 _swigc__p_wxLocale
,
40094 _swigc__p_wxMaximizeEvent
,
40095 _swigc__p_wxMemoryDC
,
40097 _swigc__p_wxMenuBar
,
40098 _swigc__p_wxMenuEvent
,
40099 _swigc__p_wxMenuItem
,
40100 _swigc__p_wxMetaFile
,
40101 _swigc__p_wxMetaFileDC
,
40102 _swigc__p_wxMirrorDC
,
40103 _swigc__p_wxMouseCaptureChangedEvent
,
40104 _swigc__p_wxMouseCaptureLostEvent
,
40105 _swigc__p_wxMouseEvent
,
40106 _swigc__p_wxMoveEvent
,
40107 _swigc__p_wxNativeEncodingInfo
,
40108 _swigc__p_wxNativeFontInfo
,
40109 _swigc__p_wxNativePixelData
,
40110 _swigc__p_wxNativePixelData_Accessor
,
40111 _swigc__p_wxNavigationKeyEvent
,
40112 _swigc__p_wxNcPaintEvent
,
40113 _swigc__p_wxNotifyEvent
,
40114 _swigc__p_wxObject
,
40115 _swigc__p_wxOverlay
,
40116 _swigc__p_wxPCXHandler
,
40117 _swigc__p_wxPNGHandler
,
40118 _swigc__p_wxPNMHandler
,
40119 _swigc__p_wxPaintDC
,
40120 _swigc__p_wxPaintEvent
,
40121 _swigc__p_wxPalette
,
40122 _swigc__p_wxPaletteChangedEvent
,
40123 _swigc__p_wxPaperSize
,
40125 _swigc__p_wxPenList
,
40126 _swigc__p_wxPixelDataBase
,
40128 _swigc__p_wxPoint2D
,
40129 _swigc__p_wxPoint2DDouble
,
40130 _swigc__p_wxPostScriptDC
,
40131 _swigc__p_wxPrintData
,
40132 _swigc__p_wxPrinterDC
,
40133 _swigc__p_wxPseudoDC
,
40135 _swigc__p_wxPyCommandEvent
,
40136 _swigc__p_wxPyEvent
,
40137 _swigc__p_wxPyFontEnumerator
,
40138 _swigc__p_wxPyImageHandler
,
40139 _swigc__p_wxPyLocale
,
40140 _swigc__p_wxPySizer
,
40141 _swigc__p_wxPyValidator
,
40142 _swigc__p_wxQueryNewPaletteEvent
,
40144 _swigc__p_wxRect2DDouble
,
40145 _swigc__p_wxRegion
,
40146 _swigc__p_wxRegionIterator
,
40147 _swigc__p_wxRendererNative
,
40148 _swigc__p_wxRendererVersion
,
40149 _swigc__p_wxScreenDC
,
40150 _swigc__p_wxScrollEvent
,
40151 _swigc__p_wxScrollWinEvent
,
40152 _swigc__p_wxSetCursorEvent
,
40153 _swigc__p_wxShowEvent
,
40155 _swigc__p_wxSizeEvent
,
40157 _swigc__p_wxSizerItem
,
40158 _swigc__p_wxSplitterRenderParams
,
40159 _swigc__p_wxStaticBoxSizer
,
40160 _swigc__p_wxStdDialogButtonSizer
,
40161 _swigc__p_wxStockGDI
,
40162 _swigc__p_wxString
,
40163 _swigc__p_wxSysColourChangedEvent
,
40164 _swigc__p_wxTIFFHandler
,
40165 _swigc__p_wxUpdateUIEvent
,
40166 _swigc__p_wxValidator
,
40167 _swigc__p_wxWindow
,
40168 _swigc__p_wxWindowCreateEvent
,
40169 _swigc__p_wxWindowDC
,
40170 _swigc__p_wxWindowDestroyEvent
,
40171 _swigc__p_wxXPMHandler
,
40175 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40177 static swig_const_info swig_const_table
[] = {
40178 {0, 0, 0, 0.0, 0, 0}};
40183 /* -----------------------------------------------------------------------------
40184 * Type initialization:
40185 * This problem is tough by the requirement that no dynamic
40186 * memory is used. Also, since swig_type_info structures store pointers to
40187 * swig_cast_info structures and swig_cast_info structures store pointers back
40188 * to swig_type_info structures, we need some lookup code at initialization.
40189 * The idea is that swig generates all the structures that are needed.
40190 * The runtime then collects these partially filled structures.
40191 * The SWIG_InitializeModule function takes these initial arrays out of
40192 * swig_module, and does all the lookup, filling in the swig_module.types
40193 * array with the correct data and linking the correct swig_cast_info
40194 * structures together.
40196 * The generated swig_type_info structures are assigned staticly to an initial
40197 * array. We just loop though that array, and handle each type individually.
40198 * First we lookup if this type has been already loaded, and if so, use the
40199 * loaded structure instead of the generated one. Then we have to fill in the
40200 * cast linked list. The cast data is initially stored in something like a
40201 * two-dimensional array. Each row corresponds to a type (there are the same
40202 * number of rows as there are in the swig_type_initial array). Each entry in
40203 * a column is one of the swig_cast_info structures for that type.
40204 * The cast_initial array is actually an array of arrays, because each row has
40205 * a variable number of columns. So to actually build the cast linked list,
40206 * we find the array of casts associated with the type, and loop through it
40207 * adding the casts to the list. The one last trick we need to do is making
40208 * sure the type pointer in the swig_cast_info struct is correct.
40210 * First off, we lookup the cast->type name to see if it is already loaded.
40211 * There are three cases to handle:
40212 * 1) If the cast->type has already been loaded AND the type we are adding
40213 * casting info to has not been loaded (it is in this module), THEN we
40214 * replace the cast->type pointer with the type pointer that has already
40216 * 2) If BOTH types (the one we are adding casting info to, and the
40217 * cast->type) are loaded, THEN the cast info has already been loaded by
40218 * the previous module so we just ignore it.
40219 * 3) Finally, if cast->type has not already been loaded, then we add that
40220 * swig_cast_info to the linked list (because the cast->type) pointer will
40222 * ----------------------------------------------------------------------------- */
40232 #define SWIGRUNTIME_DEBUG
40236 SWIG_InitializeModule(void *clientdata
) {
40238 swig_module_info
*module_head
;
40239 static int init_run
= 0;
40241 clientdata
= clientdata
;
40243 if (init_run
) return;
40246 /* Initialize the swig_module */
40247 swig_module
.type_initial
= swig_type_initial
;
40248 swig_module
.cast_initial
= swig_cast_initial
;
40250 /* Try and load any already created modules */
40251 module_head
= SWIG_GetModule(clientdata
);
40253 swig_module
.next
= module_head
->next
;
40254 module_head
->next
= &swig_module
;
40256 /* This is the first module loaded */
40257 swig_module
.next
= &swig_module
;
40258 SWIG_SetModule(clientdata
, &swig_module
);
40261 /* Now work on filling in swig_module.types */
40262 #ifdef SWIGRUNTIME_DEBUG
40263 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40265 for (i
= 0; i
< swig_module
.size
; ++i
) {
40266 swig_type_info
*type
= 0;
40267 swig_type_info
*ret
;
40268 swig_cast_info
*cast
;
40270 #ifdef SWIGRUNTIME_DEBUG
40271 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40274 /* if there is another module already loaded */
40275 if (swig_module
.next
!= &swig_module
) {
40276 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40279 /* Overwrite clientdata field */
40280 #ifdef SWIGRUNTIME_DEBUG
40281 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40283 if (swig_module
.type_initial
[i
]->clientdata
) {
40284 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40285 #ifdef SWIGRUNTIME_DEBUG
40286 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40290 type
= swig_module
.type_initial
[i
];
40293 /* Insert casting types */
40294 cast
= swig_module
.cast_initial
[i
];
40295 while (cast
->type
) {
40296 /* Don't need to add information already in the list */
40298 #ifdef SWIGRUNTIME_DEBUG
40299 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40301 if (swig_module
.next
!= &swig_module
) {
40302 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40303 #ifdef SWIGRUNTIME_DEBUG
40304 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40308 if (type
== swig_module
.type_initial
[i
]) {
40309 #ifdef SWIGRUNTIME_DEBUG
40310 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40315 /* Check for casting already in the list */
40316 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40317 #ifdef SWIGRUNTIME_DEBUG
40318 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40320 if (!ocast
) ret
= 0;
40325 #ifdef SWIGRUNTIME_DEBUG
40326 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40329 type
->cast
->prev
= cast
;
40330 cast
->next
= type
->cast
;
40336 /* Set entry in modules->types array equal to the type */
40337 swig_module
.types
[i
] = type
;
40339 swig_module
.types
[i
] = 0;
40341 #ifdef SWIGRUNTIME_DEBUG
40342 printf("**** SWIG_InitializeModule: Cast List ******\n");
40343 for (i
= 0; i
< swig_module
.size
; ++i
) {
40345 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40346 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40347 while (cast
->type
) {
40348 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40352 printf("---- Total casts: %d\n",j
);
40354 printf("**** SWIG_InitializeModule: Cast List ******\n");
40358 /* This function will propagate the clientdata field of type to
40359 * any new swig_type_info structures that have been added into the list
40360 * of equivalent types. It is like calling
40361 * SWIG_TypeClientData(type, clientdata) a second time.
40364 SWIG_PropagateClientData(void) {
40366 swig_cast_info
*equiv
;
40367 static int init_run
= 0;
40369 if (init_run
) return;
40372 for (i
= 0; i
< swig_module
.size
; i
++) {
40373 if (swig_module
.types
[i
]->clientdata
) {
40374 equiv
= swig_module
.types
[i
]->cast
;
40376 if (!equiv
->converter
) {
40377 if (equiv
->type
&& !equiv
->type
->clientdata
)
40378 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40380 equiv
= equiv
->next
;
40400 /* Python-specific SWIG API */
40401 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40402 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40403 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40405 /* -----------------------------------------------------------------------------
40406 * global variable support code.
40407 * ----------------------------------------------------------------------------- */
40409 typedef struct swig_globalvar
{
40410 char *name
; /* Name of global variable */
40411 PyObject
*(*get_attr
)(void); /* Return the current value */
40412 int (*set_attr
)(PyObject
*); /* Set the value */
40413 struct swig_globalvar
*next
;
40416 typedef struct swig_varlinkobject
{
40418 swig_globalvar
*vars
;
40419 } swig_varlinkobject
;
40421 SWIGINTERN PyObject
*
40422 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40423 return PyString_FromString("<Swig global variables>");
40426 SWIGINTERN PyObject
*
40427 swig_varlink_str(swig_varlinkobject
*v
) {
40428 PyObject
*str
= PyString_FromString("(");
40429 swig_globalvar
*var
;
40430 for (var
= v
->vars
; var
; var
=var
->next
) {
40431 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40432 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40434 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40439 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40440 PyObject
*str
= swig_varlink_str(v
);
40441 fprintf(fp
,"Swig global variables ");
40442 fprintf(fp
,"%s\n", PyString_AsString(str
));
40448 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40449 swig_globalvar
*var
= v
->vars
;
40451 swig_globalvar
*n
= var
->next
;
40458 SWIGINTERN PyObject
*
40459 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40460 PyObject
*res
= NULL
;
40461 swig_globalvar
*var
= v
->vars
;
40463 if (strcmp(var
->name
,n
) == 0) {
40464 res
= (*var
->get_attr
)();
40469 if (res
== NULL
&& !PyErr_Occurred()) {
40470 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40476 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40478 swig_globalvar
*var
= v
->vars
;
40480 if (strcmp(var
->name
,n
) == 0) {
40481 res
= (*var
->set_attr
)(p
);
40486 if (res
== 1 && !PyErr_Occurred()) {
40487 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40492 SWIGINTERN PyTypeObject
*
40493 swig_varlink_type(void) {
40494 static char varlink__doc__
[] = "Swig var link object";
40495 static PyTypeObject varlink_type
;
40496 static int type_init
= 0;
40498 const PyTypeObject tmp
40500 PyObject_HEAD_INIT(NULL
)
40501 0, /* Number of items in variable part (ob_size) */
40502 (char *)"swigvarlink", /* Type name (tp_name) */
40503 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40504 0, /* Itemsize (tp_itemsize) */
40505 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40506 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40507 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40508 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40509 0, /* tp_compare */
40510 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40511 0, /* tp_as_number */
40512 0, /* tp_as_sequence */
40513 0, /* tp_as_mapping */
40516 (reprfunc
)swig_varlink_str
, /* tp_str */
40517 0, /* tp_getattro */
40518 0, /* tp_setattro */
40519 0, /* tp_as_buffer */
40521 varlink__doc__
, /* tp_doc */
40522 0, /* tp_traverse */
40524 0, /* tp_richcompare */
40525 0, /* tp_weaklistoffset */
40526 #if PY_VERSION_HEX >= 0x02020000
40527 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40529 #if PY_VERSION_HEX >= 0x02030000
40532 #ifdef COUNT_ALLOCS
40533 0,0,0,0 /* tp_alloc -> tp_next */
40536 varlink_type
= tmp
;
40537 varlink_type
.ob_type
= &PyType_Type
;
40540 return &varlink_type
;
40543 /* Create a variable linking object for use later */
40544 SWIGINTERN PyObject
*
40545 SWIG_Python_newvarlink(void) {
40546 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40550 return ((PyObject
*) result
);
40554 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40555 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40556 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40558 size_t size
= strlen(name
)+1;
40559 gv
->name
= (char *)malloc(size
);
40561 strncpy(gv
->name
,name
,size
);
40562 gv
->get_attr
= get_attr
;
40563 gv
->set_attr
= set_attr
;
40564 gv
->next
= v
->vars
;
40570 SWIGINTERN PyObject
*
40572 static PyObject
*_SWIG_globals
= 0;
40573 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40574 return _SWIG_globals
;
40577 /* -----------------------------------------------------------------------------
40578 * constants/methods manipulation
40579 * ----------------------------------------------------------------------------- */
40581 /* Install Constants */
40583 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40586 for (i
= 0; constants
[i
].type
; ++i
) {
40587 switch(constants
[i
].type
) {
40588 case SWIG_PY_POINTER
:
40589 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40591 case SWIG_PY_BINARY
:
40592 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40599 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40605 /* -----------------------------------------------------------------------------*/
40606 /* Fix SwigMethods to carry the callback ptrs when needed */
40607 /* -----------------------------------------------------------------------------*/
40610 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40611 swig_const_info
*const_table
,
40612 swig_type_info
**types
,
40613 swig_type_info
**types_initial
) {
40615 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40616 const char *c
= methods
[i
].ml_doc
;
40617 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40619 swig_const_info
*ci
= 0;
40620 const char *name
= c
+ 10;
40621 for (j
= 0; const_table
[j
].type
; ++j
) {
40622 if (strncmp(const_table
[j
].name
, name
,
40623 strlen(const_table
[j
].name
)) == 0) {
40624 ci
= &(const_table
[j
]);
40629 size_t shift
= (ci
->ptype
) - types
;
40630 swig_type_info
*ty
= types_initial
[shift
];
40631 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40632 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40633 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40636 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40638 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40640 strncpy(buff
, "swig_ptr: ", 10);
40642 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40643 methods
[i
].ml_doc
= ndoc
;
40655 /* -----------------------------------------------------------------------------*
40656 * Partial Init method
40657 * -----------------------------------------------------------------------------*/
40662 SWIGEXPORT
void SWIG_init(void) {
40665 /* Fix SwigMethods to carry the callback ptrs when needed */
40666 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40668 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40669 d
= PyModule_GetDict(m
);
40671 SWIG_InitializeModule(0);
40672 SWIG_InstallConstants(d
,swig_const_table
);
40675 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40676 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40677 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40678 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40679 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40680 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40681 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40682 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40683 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40684 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40685 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40686 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40687 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40688 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40689 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40690 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40691 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40692 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40693 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40694 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40695 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40696 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40697 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40698 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40699 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40700 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40701 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40702 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40703 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40704 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40705 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40706 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40707 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40708 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40709 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40710 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40711 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40712 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40713 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40714 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40715 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40716 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40717 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40718 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40719 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40720 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40721 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40722 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40723 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40724 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40725 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40726 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40727 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40728 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40729 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40730 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40731 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40732 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40733 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40734 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40735 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40736 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40737 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40738 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40739 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40740 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40741 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40742 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40743 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40744 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40745 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40746 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40747 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40748 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40749 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40750 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40751 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40752 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40753 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40754 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40755 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40756 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40757 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40758 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40759 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40760 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40761 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40762 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40763 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40764 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40765 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40766 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40767 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40768 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40769 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40770 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40771 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40772 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40773 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40774 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40775 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40776 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40777 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40778 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40779 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40780 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40781 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40782 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40783 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40784 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40785 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40786 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40787 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40788 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40789 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40790 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40791 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40792 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40793 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40794 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40795 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40796 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40797 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40798 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40799 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40800 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40801 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40802 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40803 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40804 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40805 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40806 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40808 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40810 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40811 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40812 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40813 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
40814 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
40815 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
40816 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
40817 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
40818 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
40819 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
40820 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
40821 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
40822 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
40823 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
40824 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
40825 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
40826 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
40827 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
40828 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
40829 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
40830 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
40831 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
40832 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
40833 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
40834 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
40835 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
40836 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
40837 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
40838 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
40839 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
40840 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
40841 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
40842 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
40843 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
40844 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
40845 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
40846 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
40847 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
40848 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
40849 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
40850 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
40851 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
40852 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
40853 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
40854 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
40855 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
40856 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
40857 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
40858 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
40859 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
40860 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
40861 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
40862 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
40863 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
40864 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
40865 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
40866 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
40867 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
40868 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
40869 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
40870 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
40871 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
40872 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
40873 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
40874 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
40875 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
40876 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
40877 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
40878 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
40879 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
40880 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
40881 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
40882 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
40883 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
40884 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
40885 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
40886 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
40887 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
40888 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
40889 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
40890 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
40891 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
40892 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
40893 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
40894 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
40895 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
40896 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
40897 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
40898 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
40899 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
40900 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
40901 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
40902 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
40903 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
40904 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
40905 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
40906 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
40907 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
40908 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
40909 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
40910 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
40911 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
40912 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
40913 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
40914 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
40915 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
40916 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
40917 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
40918 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
40919 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
40920 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
40921 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
40922 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
40923 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
40924 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
40925 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
40926 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
40927 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
40928 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
40929 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
40930 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
40931 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
40932 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
40933 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
40934 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
40935 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
40936 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
40937 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
40938 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
40939 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
40940 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
40941 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
40942 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
40943 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
40944 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
40945 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
40946 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
40947 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
40948 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
40949 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
40950 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
40951 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
40952 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
40953 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
40954 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
40955 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
40956 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
40957 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
40958 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
40959 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
40960 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
40961 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
40962 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
40963 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
40964 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
40965 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
40966 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
40967 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
40968 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
40969 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
40970 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
40971 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
40972 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
40973 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
40974 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
40975 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
40976 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
40977 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
40978 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
40979 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
40980 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
40981 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
40982 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
40983 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
40984 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
40985 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
40986 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
40987 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
40988 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
40989 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
40990 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
40991 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
40992 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
40993 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
40994 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
40995 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
40996 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
40997 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
40998 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
40999 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41000 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41001 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41002 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41003 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41004 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41005 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41006 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41007 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41008 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41009 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41010 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41011 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41012 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41013 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41014 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41015 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41016 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41017 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41018 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41019 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41020 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41021 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41022 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41023 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41024 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41025 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41041 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41042 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41043 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41044 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41045 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41046 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41047 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41048 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41049 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41050 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41051 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41052 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41053 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41054 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41055 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41056 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41057 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41058 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41059 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41060 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41061 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41062 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41063 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41064 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41065 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41066 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41067 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41068 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41069 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41070 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41071 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41072 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41073 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41074 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41075 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41076 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41077 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41078 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41079 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41080 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41081 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41082 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41083 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41084 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41085 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41086 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41087 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41088 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41089 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41090 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41091 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41092 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41093 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41094 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41095 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41096 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41097 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41098 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41099 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41100 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41101 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41102 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41103 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41104 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41105 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41106 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41107 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41108 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41109 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41110 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41111 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41112 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41113 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41114 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41115 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41116 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41117 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41118 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41119 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41120 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41121 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41122 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41123 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41124 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41125 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41126 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41127 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41128 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41129 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41130 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41131 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41132 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41133 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41135 // Work around a chicken/egg problem in drawlist.cpp
41136 wxPyDrawList_SetAPIPtr();