1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3263 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3264 return self
->operator bool();
3267 #include <wx/fontutil.h>
3268 #include <wx/fontmap.h>
3269 #include <wx/fontenum.h>
3271 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3272 return self
->ToString();
3275 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3276 static wxNativeEncodingInfo info
;
3277 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 class wxMetaFile
: public wxObject
{
3610 wxMetaFile(const wxString
&)
3611 { wxPyRaiseNotImplemented(); }
3614 class wxMetaFileDC
: public wxClientDC
{
3616 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3617 { wxPyRaiseNotImplemented(); }
3622 class wxPrinterDC
: public wxClientDC
{
3624 wxPrinterDC(const wxPrintData
&)
3625 { wxPyRaiseNotImplemented(); }
3630 #include <wx/graphics.h>
3633 #if !wxUSE_GRAPHICS_CONTEXT
3634 // C++ stub classes for platforms or build configurations that don't have
3635 // wxGraphicsContext yet.
3638 class wxGraphicsObject
: public wxObject
3641 wxGraphicsObject( wxGraphicsRenderer
* ) {
3642 PyErr_SetString(PyExc_NotImplementedError
,
3643 "wx.GraphicsObject is not available on this platform.");
3645 wxGraphicsObject( const wxGraphicsObject
& ) {}
3646 virtual ~wxGraphicsObject() {}
3647 bool IsNull() const { return false; }
3648 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3653 class wxGraphicsPen
: public wxGraphicsObject
3656 virtual ~wxGraphicsPen() {}
3658 wxGraphicsPen wxNullGraphicsPen
;
3662 class wxGraphicsBrush
: public wxGraphicsObject
3665 wxGraphicsBrush() {}
3666 virtual ~wxGraphicsBrush() {}
3668 wxGraphicsBrush wxNullGraphicsBrush
;
3672 class wxGraphicsFont
: public wxGraphicsObject
3676 virtual ~wxGraphicsFont() {}
3678 wxGraphicsFont wxNullGraphicsFont
;
3682 class wxGraphicsPath
: public wxGraphicsObject
3685 wxGraphicsPath(wxGraphicsRenderer
* ) {
3686 PyErr_SetString(PyExc_NotImplementedError
,
3687 "wx.GraphicsPath is not available on this platform.");
3689 virtual ~wxGraphicsPath() {}
3691 void MoveToPoint( wxDouble
, wxDouble
) {}
3692 void MoveToPoint( const wxPoint2DDouble
& ) {}
3693 void AddLineToPoint( wxDouble
, wxDouble
) {}
3694 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3695 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3697 void AddPath( const wxGraphicsPath
* ) {}
3698 void CloseSubpath() {}
3699 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3700 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3701 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3702 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3704 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3705 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3706 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3707 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void * GetNativePath() const { return NULL
; }
3712 void UnGetNativePath(void *) {}
3713 void Transform( wxGraphicsMatrix
* ) {}
3714 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3715 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3717 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3718 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3720 wxGraphicsPath wxNullGraphicsPath
;
3723 class wxGraphicsMatrix
: public wxGraphicsObject
3726 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3727 PyErr_SetString(PyExc_NotImplementedError
,
3728 "wx.GraphicsMatrix is not available on this platform.");
3730 virtual ~wxGraphicsMatrix() {}
3731 virtual void Concat( const wxGraphicsMatrix
* ) {}
3732 virtual void Copy( const wxGraphicsMatrix
* ) {}
3733 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3734 wxDouble
, wxDouble
) {}
3735 virtual void Invert() {}
3736 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3737 virtual bool IsIdentity() { return false; }
3738 virtual void Translate( wxDouble
, wxDouble
) {}
3739 virtual void Scale( wxDouble
, wxDouble
) {}
3740 virtual void Rotate( wxDouble
) {}
3741 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3742 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3743 virtual void * GetNativeMatrix() const { return NULL
; }
3745 wxGraphicsMatrix wxNullGraphicsMatrix
;
3748 class wxGraphicsContext
: public wxGraphicsObject
3752 wxGraphicsContext(wxGraphicsRenderer
* ) {
3753 PyErr_SetString(PyExc_NotImplementedError
,
3754 "wx.GraphicsContext is not available on this platform.");
3757 virtual ~wxGraphicsContext() {}
3759 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3764 static wxGraphicsContext
* CreateFromNative( void * ) {
3765 PyErr_SetString(PyExc_NotImplementedError
,
3766 "wx.GraphicsContext is not available on this platform.");
3769 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3770 PyErr_SetString(PyExc_NotImplementedError
,
3771 "wx.GraphicsContext is not available on this platform.");
3774 static wxGraphicsContext
* Create( wxWindow
* ) {
3775 PyErr_SetString(PyExc_NotImplementedError
,
3776 "wx.GraphicsContext is not available on this platform.");
3779 wxGraphicsPath
* CreatePath() { return NULL
; }
3781 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3783 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3785 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3786 const wxColour
&, const wxColour
&) { return NULL
; }
3788 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3789 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3790 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3792 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3794 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3795 wxDouble
, wxDouble
) { return NULL
; }
3797 virtual void PushState() {}
3798 virtual void PopState() {}
3799 virtual void Clip( const wxRegion
& ) {}
3800 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3801 virtual void ResetClip() {}
3802 virtual void * GetNativeContext() { return NULL
; }
3803 virtual void Translate( wxDouble
, wxDouble
) {}
3804 virtual void Scale( wxDouble
, wxDouble
) {}
3805 virtual void Rotate( wxDouble
) {}
3806 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3807 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3808 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3810 virtual void SetPen( const wxGraphicsPen
& ) {}
3811 void SetPen( const wxPen
& ) {}
3813 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3814 void SetBrush( const wxBrush
& ) {}
3816 virtual void SetFont( const wxGraphicsFont
& ) {}
3817 void SetFont( const wxFont
&, const wxColour
& ) {}
3819 virtual void StrokePath( const wxGraphicsPath
* ) {}
3820 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3821 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3823 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3825 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3826 wxDouble
*, wxDouble
* ) const {}
3827 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3829 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3830 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3832 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3833 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3834 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3835 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3836 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3838 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3839 virtual bool ShouldOffset() const { return false; }
3843 class wxGraphicsRenderer
: public wxObject
3846 wxGraphicsRenderer() {
3847 PyErr_SetString(PyExc_NotImplementedError
,
3848 "wx.GraphicsRenderer is not available on this platform.");
3851 virtual ~wxGraphicsRenderer() {}
3853 static wxGraphicsRenderer
* GetDefaultRenderer(
3854 PyErr_SetString(PyExc_NotImplementedError
,
3855 "wx.GraphicsRenderer is not available on this platform.");
3858 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3859 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3860 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3861 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3863 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3865 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3866 wxDouble
, wxDouble
) { return NULL
; }
3868 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3869 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3870 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3871 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3872 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3873 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3874 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3879 class wxGCDC
: public wxWindowDC
3882 wxGCDC(const wxWindowDC
&) {
3883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3884 PyErr_SetString(PyExc_NotImplementedError
,
3885 "wxGCDC is not available on this platform.");
3886 wxPyEndBlockThreads(blocked
);
3890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3891 PyErr_SetString(PyExc_NotImplementedError
,
3892 "wxGCDC is not available on this platform.");
3893 wxPyEndBlockThreads(blocked
);
3896 virtual ~wxGCDC() {}
3898 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3899 void SetGraphicsContext( wxGraphicsContext
* ) {}
3904 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3907 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3908 wxDouble width
= 0.0,
3910 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3911 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3912 PyObject
* rv
= PyTuple_New(2);
3913 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3914 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3917 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3918 wxArrayDouble widths
;
3919 self
->GetPartialTextExtents(text
, widths
);
3922 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3923 size_t c1
, c2
, count
;
3924 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3925 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3927 if ( beginP
!= NULL
&& endP
!= NULL
)
3929 count
= wxMin(c1
, c2
);
3930 self
->StrokeLines(count
, beginP
, endP
);
3936 #include "wx/dcgraph.h"
3939 #include <wx/overlay.h>
3943 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3944 self
->AddColour(name
, wxColour(red
, green
, blue
));
3947 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3948 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3949 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3950 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3953 #include <wx/effects.h>
3956 #include "wx/renderer.h"
3959 SWIGINTERNINLINE PyObject
*
3960 SWIG_From_bool (bool value
)
3962 return PyBool_FromLong(value
? 1 : 0);
3966 #include "wx/wxPython/pseudodc.h"
3968 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3970 self
->GetIdBounds(id
, rect
);
3976 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3977 PyObject
*resultobj
= 0;
3978 wxGDIObject
*result
= 0 ;
3980 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3982 if (!wxPyCheckForApp()) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 result
= (wxGDIObject
*)new wxGDIObject();
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3995 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3996 PyObject
*resultobj
= 0;
3997 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4000 PyObject
*swig_obj
[1] ;
4002 if (!args
) SWIG_fail
;
4004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4005 if (!SWIG_IsOK(res1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4008 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_Py_Void();
4023 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4024 PyObject
*resultobj
= 0;
4025 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4029 PyObject
*swig_obj
[1] ;
4031 if (!args
) SWIG_fail
;
4033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4034 if (!SWIG_IsOK(res1
)) {
4035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4037 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 result
= (bool)(arg1
)->IsNull();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4053 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4056 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4057 return SWIG_Py_Void();
4060 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4061 return SWIG_Python_InitShadowInstance(args
);
4064 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
= 0;
4066 byte arg1
= (byte
) 0 ;
4067 byte arg2
= (byte
) 0 ;
4068 byte arg3
= (byte
) 0 ;
4069 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4070 wxColour
*result
= 0 ;
4071 unsigned char val1
;
4073 unsigned char val2
;
4075 unsigned char val3
;
4077 unsigned char val4
;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4081 PyObject
* obj2
= 0 ;
4082 PyObject
* obj3
= 0 ;
4083 char * kwnames
[] = {
4084 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4089 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4090 if (!SWIG_IsOK(ecode1
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4093 arg1
= static_cast< byte
>(val1
);
4096 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4097 if (!SWIG_IsOK(ecode2
)) {
4098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4100 arg2
= static_cast< byte
>(val2
);
4103 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4104 if (!SWIG_IsOK(ecode3
)) {
4105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4107 arg3
= static_cast< byte
>(val3
);
4110 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4111 if (!SWIG_IsOK(ecode4
)) {
4112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4114 arg4
= static_cast< byte
>(val4
);
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4129 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
= 0;
4131 wxString
*arg1
= 0 ;
4132 wxColour
*result
= 0 ;
4133 bool temp1
= false ;
4134 PyObject
* obj0
= 0 ;
4135 char * kwnames
[] = {
4136 (char *) "colorName", NULL
4139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4141 arg1
= wxString_in_helper(obj0
);
4142 if (arg1
== NULL
) SWIG_fail
;
4146 if (!wxPyCheckForApp()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4149 wxPyEndAllowThreads(__tstate
);
4150 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4167 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
= 0;
4169 unsigned long arg1
;
4170 wxColour
*result
= 0 ;
4171 unsigned long val1
;
4173 PyObject
* obj0
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "colRGB", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4179 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4180 if (!SWIG_IsOK(ecode1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4183 arg1
= static_cast< unsigned long >(val1
);
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (wxColour
*)new wxColour(arg1
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4197 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4198 PyObject
*resultobj
= 0;
4199 wxColour
*arg1
= (wxColour
*) 0 ;
4202 PyObject
*swig_obj
[1] ;
4204 if (!args
) SWIG_fail
;
4206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4207 if (!SWIG_IsOK(res1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4210 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4226 PyObject
*resultobj
= 0;
4227 wxColour
*arg1
= (wxColour
*) 0 ;
4231 PyObject
*swig_obj
[1] ;
4233 if (!args
) SWIG_fail
;
4235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4236 if (!SWIG_IsOK(res1
)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4239 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (byte
)(arg1
)->Red();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4253 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4254 PyObject
*resultobj
= 0;
4255 wxColour
*arg1
= (wxColour
*) 0 ;
4259 PyObject
*swig_obj
[1] ;
4261 if (!args
) SWIG_fail
;
4263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4264 if (!SWIG_IsOK(res1
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4267 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (byte
)(arg1
)->Green();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4281 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4282 PyObject
*resultobj
= 0;
4283 wxColour
*arg1
= (wxColour
*) 0 ;
4287 PyObject
*swig_obj
[1] ;
4289 if (!args
) SWIG_fail
;
4291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4292 if (!SWIG_IsOK(res1
)) {
4293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4295 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (byte
)(arg1
)->Blue();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4309 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4310 PyObject
*resultobj
= 0;
4311 wxColour
*arg1
= (wxColour
*) 0 ;
4315 PyObject
*swig_obj
[1] ;
4317 if (!args
) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4323 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (byte
)(arg1
)->Alpha();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4337 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4338 PyObject
*resultobj
= 0;
4339 wxColour
*arg1
= (wxColour
*) 0 ;
4343 PyObject
*swig_obj
[1] ;
4345 if (!args
) SWIG_fail
;
4347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4348 if (!SWIG_IsOK(res1
)) {
4349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4351 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= (bool)(arg1
)->IsOk();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4367 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
= 0;
4369 wxColour
*arg1
= (wxColour
*) 0 ;
4373 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4376 unsigned char val2
;
4378 unsigned char val3
;
4380 unsigned char val4
;
4382 unsigned char val5
;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4386 PyObject
* obj2
= 0 ;
4387 PyObject
* obj3
= 0 ;
4388 PyObject
* obj4
= 0 ;
4389 char * kwnames
[] = {
4390 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4395 if (!SWIG_IsOK(res1
)) {
4396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4398 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4399 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4400 if (!SWIG_IsOK(ecode2
)) {
4401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4403 arg2
= static_cast< byte
>(val2
);
4404 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4405 if (!SWIG_IsOK(ecode3
)) {
4406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4408 arg3
= static_cast< byte
>(val3
);
4409 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4410 if (!SWIG_IsOK(ecode4
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4413 arg4
= static_cast< byte
>(val4
);
4415 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4416 if (!SWIG_IsOK(ecode5
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4419 arg5
= static_cast< byte
>(val5
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_Py_Void();
4434 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
= 0;
4436 wxColour
*arg1
= (wxColour
*) 0 ;
4437 unsigned long arg2
;
4440 unsigned long val2
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 char * kwnames
[] = {
4445 (char *) "self",(char *) "colRGB", NULL
4448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4450 if (!SWIG_IsOK(res1
)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4453 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4454 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4455 if (!SWIG_IsOK(ecode2
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4458 arg2
= static_cast< unsigned long >(val2
);
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 resultobj
= SWIG_Py_Void();
4472 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
= 0;
4474 wxColour
*arg1
= (wxColour
*) 0 ;
4475 wxString
*arg2
= 0 ;
4478 bool temp2
= false ;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 char * kwnames
[] = {
4482 (char *) "self",(char *) "colourName", NULL
4485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4487 if (!SWIG_IsOK(res1
)) {
4488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4490 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4492 arg2
= wxString_in_helper(obj1
);
4493 if (arg2
== NULL
) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 (arg1
)->Set((wxString
const &)*arg2
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= SWIG_Py_Void();
4517 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxColour
*arg1
= (wxColour
*) 0 ;
4520 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4526 PyObject
* obj0
= 0 ;
4527 PyObject
* obj1
= 0 ;
4528 char * kwnames
[] = {
4529 (char *) "self",(char *) "flags", NULL
4532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4534 if (!SWIG_IsOK(res1
)) {
4535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4537 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4539 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4540 if (!SWIG_IsOK(ecode2
)) {
4541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4543 arg2
= static_cast< long >(val2
);
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4564 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4565 PyObject
*resultobj
= 0;
4566 wxColour
*arg1
= (wxColour
*) 0 ;
4570 PyObject
*swig_obj
[1] ;
4572 if (!args
) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4578 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= SWIG_From_long(static_cast< long >(result
));
4592 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
= 0;
4594 wxColour
*arg1
= (wxColour
*) 0 ;
4595 PyObject
*arg2
= (PyObject
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 char * kwnames
[] = {
4602 (char *) "self",(char *) "other", NULL
4605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4607 if (!SWIG_IsOK(res1
)) {
4608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4610 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4613 result
= (bool)wxColour___eq__(arg1
,arg2
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4625 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
= 0;
4627 wxColour
*arg1
= (wxColour
*) 0 ;
4628 PyObject
*arg2
= (PyObject
*) 0 ;
4632 PyObject
* obj0
= 0 ;
4633 PyObject
* obj1
= 0 ;
4634 char * kwnames
[] = {
4635 (char *) "self",(char *) "other", NULL
4638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4640 if (!SWIG_IsOK(res1
)) {
4641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4643 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4646 result
= (bool)wxColour___ne__(arg1
,arg2
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4658 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
= 0;
4660 wxColour
*arg1
= (wxColour
*) 0 ;
4661 bool arg2
= (bool) false ;
4662 PyObject
*result
= 0 ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 char * kwnames
[] = {
4670 (char *) "self",(char *) "includeAlpha", NULL
4673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4675 if (!SWIG_IsOK(res1
)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4678 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4681 if (!SWIG_IsOK(ecode2
)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4684 arg2
= static_cast< bool >(val2
);
4687 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4697 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4698 PyObject
*resultobj
= 0;
4699 wxColour
*arg1
= (wxColour
*) 0 ;
4700 unsigned long result
;
4703 PyObject
*swig_obj
[1] ;
4705 if (!args
) SWIG_fail
;
4707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4708 if (!SWIG_IsOK(res1
)) {
4709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4711 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4713 result
= (unsigned long)wxColour_GetRGB(arg1
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4723 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4726 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4727 return SWIG_Py_Void();
4730 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4731 return SWIG_Python_InitShadowInstance(args
);
4734 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
*resultobj
= 0;
4737 unsigned char *arg2
= (unsigned char *) 0 ;
4738 unsigned char *arg3
= (unsigned char *) 0 ;
4739 unsigned char *arg4
= (unsigned char *) 0 ;
4740 wxPalette
*result
= 0 ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 PyObject
* obj2
= 0 ;
4752 PyObject
* obj3
= 0 ;
4753 char * kwnames
[] = {
4754 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4759 if (!SWIG_IsOK(ecode1
)) {
4760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4762 arg1
= static_cast< int >(val1
);
4763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4764 if (!SWIG_IsOK(res2
)) {
4765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4767 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4768 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4769 if (!SWIG_IsOK(res3
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4772 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4773 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4774 if (!SWIG_IsOK(res4
)) {
4775 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4777 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4779 if (!wxPyCheckForApp()) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4792 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4793 PyObject
*resultobj
= 0;
4794 wxPalette
*arg1
= (wxPalette
*) 0 ;
4797 PyObject
*swig_obj
[1] ;
4799 if (!args
) SWIG_fail
;
4801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4802 if (!SWIG_IsOK(res1
)) {
4803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4805 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_Py_Void();
4820 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
= 0;
4822 wxPalette
*arg1
= (wxPalette
*) 0 ;
4829 unsigned char val2
;
4831 unsigned char val3
;
4833 unsigned char val4
;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4837 PyObject
* obj2
= 0 ;
4838 PyObject
* obj3
= 0 ;
4839 char * kwnames
[] = {
4840 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4848 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4849 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4850 if (!SWIG_IsOK(ecode2
)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4853 arg2
= static_cast< byte
>(val2
);
4854 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4855 if (!SWIG_IsOK(ecode3
)) {
4856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4858 arg3
= static_cast< byte
>(val3
);
4859 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4860 if (!SWIG_IsOK(ecode4
)) {
4861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4863 arg4
= static_cast< byte
>(val4
);
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= SWIG_From_int(static_cast< int >(result
));
4877 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
= 0;
4879 wxPalette
*arg1
= (wxPalette
*) 0 ;
4881 byte
*arg3
= (byte
*) 0 ;
4882 byte
*arg4
= (byte
*) 0 ;
4883 byte
*arg5
= (byte
*) 0 ;
4890 int res3
= SWIG_TMPOBJ
;
4892 int res4
= SWIG_TMPOBJ
;
4894 int res5
= SWIG_TMPOBJ
;
4895 PyObject
* obj0
= 0 ;
4896 PyObject
* obj1
= 0 ;
4897 char * kwnames
[] = {
4898 (char *) "self",(char *) "pixel", NULL
4904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4906 if (!SWIG_IsOK(res1
)) {
4907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4909 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4911 if (!SWIG_IsOK(ecode2
)) {
4912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4914 arg2
= static_cast< int >(val2
);
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4924 if (SWIG_IsTmpObj(res3
)) {
4925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4927 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4930 if (SWIG_IsTmpObj(res4
)) {
4931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4933 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4936 if (SWIG_IsTmpObj(res5
)) {
4937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4939 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4948 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4949 PyObject
*resultobj
= 0;
4950 wxPalette
*arg1
= (wxPalette
*) 0 ;
4954 PyObject
*swig_obj
[1] ;
4956 if (!args
) SWIG_fail
;
4958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4959 if (!SWIG_IsOK(res1
)) {
4960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4962 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= SWIG_From_int(static_cast< int >(result
));
4976 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4977 PyObject
*resultobj
= 0;
4978 wxPalette
*arg1
= (wxPalette
*) 0 ;
4982 PyObject
*swig_obj
[1] ;
4984 if (!args
) SWIG_fail
;
4986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4987 if (!SWIG_IsOK(res1
)) {
4988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4990 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (bool)(arg1
)->IsOk();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5006 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5009 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5010 return SWIG_Py_Void();
5013 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5014 return SWIG_Python_InitShadowInstance(args
);
5017 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
= 0;
5019 wxColour
*arg1
= 0 ;
5020 int arg2
= (int) 1 ;
5021 int arg3
= (int) wxSOLID
;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5030 PyObject
* obj2
= 0 ;
5031 char * kwnames
[] = {
5032 (char *) "colour",(char *) "width",(char *) "style", NULL
5035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5038 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5042 if (!SWIG_IsOK(ecode2
)) {
5043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5045 arg2
= static_cast< int >(val2
);
5048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5049 if (!SWIG_IsOK(ecode3
)) {
5050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5052 arg3
= static_cast< int >(val3
);
5055 if (!wxPyCheckForApp()) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5068 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 PyObject
*resultobj
= 0;
5070 wxPen
*arg1
= (wxPen
*) 0 ;
5073 PyObject
*swig_obj
[1] ;
5075 if (!args
) SWIG_fail
;
5077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5078 if (!SWIG_IsOK(res1
)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5081 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_Py_Void();
5096 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5097 PyObject
*resultobj
= 0;
5098 wxPen
*arg1
= (wxPen
*) 0 ;
5102 PyObject
*swig_obj
[1] ;
5104 if (!args
) SWIG_fail
;
5106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5107 if (!SWIG_IsOK(res1
)) {
5108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5110 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (int)(arg1
)->GetCap();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= SWIG_From_int(static_cast< int >(result
));
5124 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5125 PyObject
*resultobj
= 0;
5126 wxPen
*arg1
= (wxPen
*) 0 ;
5130 PyObject
*swig_obj
[1] ;
5132 if (!args
) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5138 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 result
= (arg1
)->GetColour();
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5152 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5153 PyObject
*resultobj
= 0;
5154 wxPen
*arg1
= (wxPen
*) 0 ;
5158 PyObject
*swig_obj
[1] ;
5160 if (!args
) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5166 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (int)(arg1
)->GetJoin();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_From_int(static_cast< int >(result
));
5180 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5181 PyObject
*resultobj
= 0;
5182 wxPen
*arg1
= (wxPen
*) 0 ;
5186 PyObject
*swig_obj
[1] ;
5188 if (!args
) SWIG_fail
;
5190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5191 if (!SWIG_IsOK(res1
)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5194 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (int)(arg1
)->GetStyle();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_From_int(static_cast< int >(result
));
5208 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5209 PyObject
*resultobj
= 0;
5210 wxPen
*arg1
= (wxPen
*) 0 ;
5214 PyObject
*swig_obj
[1] ;
5216 if (!args
) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5222 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (int)(arg1
)->GetWidth();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_From_int(static_cast< int >(result
));
5236 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5237 PyObject
*resultobj
= 0;
5238 wxPen
*arg1
= (wxPen
*) 0 ;
5242 PyObject
*swig_obj
[1] ;
5244 if (!args
) SWIG_fail
;
5246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5247 if (!SWIG_IsOK(res1
)) {
5248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5250 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)(arg1
)->IsOk();
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5266 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
= 0;
5268 wxPen
*arg1
= (wxPen
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5275 PyObject
* obj1
= 0 ;
5276 char * kwnames
[] = {
5277 (char *) "self",(char *) "cap_style", NULL
5280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5282 if (!SWIG_IsOK(res1
)) {
5283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5285 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5287 if (!SWIG_IsOK(ecode2
)) {
5288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5290 arg2
= static_cast< int >(val2
);
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 (arg1
)->SetCap(arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= SWIG_Py_Void();
5304 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
= 0;
5306 wxPen
*arg1
= (wxPen
*) 0 ;
5307 wxColour
*arg2
= 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 char * kwnames
[] = {
5314 (char *) "self",(char *) "colour", NULL
5317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5319 if (!SWIG_IsOK(res1
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5322 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 (arg1
)->SetColour(*arg2
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_Py_Void();
5340 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
= 0;
5342 wxPen
*arg1
= (wxPen
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 char * kwnames
[] = {
5351 (char *) "self",(char *) "join_style", NULL
5354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5356 if (!SWIG_IsOK(res1
)) {
5357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5359 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5361 if (!SWIG_IsOK(ecode2
)) {
5362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5364 arg2
= static_cast< int >(val2
);
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 (arg1
)->SetJoin(arg2
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_Py_Void();
5378 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
= 0;
5380 wxPen
*arg1
= (wxPen
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 char * kwnames
[] = {
5389 (char *) "self",(char *) "style", NULL
5392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5394 if (!SWIG_IsOK(res1
)) {
5395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5397 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5399 if (!SWIG_IsOK(ecode2
)) {
5400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5402 arg2
= static_cast< int >(val2
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->SetStyle(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
= 0;
5418 wxPen
*arg1
= (wxPen
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5426 char * kwnames
[] = {
5427 (char *) "self",(char *) "width", NULL
5430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5432 if (!SWIG_IsOK(res1
)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5435 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5437 if (!SWIG_IsOK(ecode2
)) {
5438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5440 arg2
= static_cast< int >(val2
);
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 (arg1
)->SetWidth(arg2
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_Py_Void();
5454 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
= 0;
5456 wxPen
*arg1
= (wxPen
*) 0 ;
5458 wxDash
*arg3
= (wxDash
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5463 char * kwnames
[] = {
5464 (char *) "self",(char *) "dashes", NULL
5467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5469 if (!SWIG_IsOK(res1
)) {
5470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5472 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5474 arg2
= PyList_Size(obj1
);
5475 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5476 if (arg3
== NULL
) SWIG_fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 (arg1
)->SetDashes(arg2
,arg3
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= SWIG_Py_Void();
5486 if (arg3
) delete [] arg3
;
5491 if (arg3
) delete [] arg3
;
5497 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5498 PyObject
*resultobj
= 0;
5499 wxPen
*arg1
= (wxPen
*) 0 ;
5500 PyObject
*result
= 0 ;
5503 PyObject
*swig_obj
[1] ;
5505 if (!args
) SWIG_fail
;
5507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5508 if (!SWIG_IsOK(res1
)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5511 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5525 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
= 0;
5527 wxPen
*arg1
= (wxPen
*) 0 ;
5528 PyObject
*arg2
= (PyObject
*) 0 ;
5529 PyObject
*arg3
= (PyObject
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 PyObject
* obj2
= 0 ;
5535 char * kwnames
[] = {
5536 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5541 if (!SWIG_IsOK(res1
)) {
5542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5544 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 wxPen__SetDashes(arg1
,arg2
,arg3
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= SWIG_Py_Void();
5560 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5561 PyObject
*resultobj
= 0;
5562 wxPen
*arg1
= (wxPen
*) 0 ;
5566 PyObject
*swig_obj
[1] ;
5568 if (!args
) SWIG_fail
;
5570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5571 if (!SWIG_IsOK(res1
)) {
5572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5574 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_From_int(static_cast< int >(result
));
5588 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
= 0;
5590 wxPen
*arg1
= (wxPen
*) 0 ;
5591 wxPen
*arg2
= (wxPen
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5599 char * kwnames
[] = {
5600 (char *) "self",(char *) "other", NULL
5603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5605 if (!SWIG_IsOK(res1
)) {
5606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5608 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5609 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5610 if (!SWIG_IsOK(res2
)) {
5611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5613 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5629 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxPen
*arg1
= (wxPen
*) 0 ;
5632 wxPen
*arg2
= (wxPen
*) 0 ;
5638 PyObject
* obj0
= 0 ;
5639 PyObject
* obj1
= 0 ;
5640 char * kwnames
[] = {
5641 (char *) "self",(char *) "other", NULL
5644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5646 if (!SWIG_IsOK(res1
)) {
5647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5649 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5651 if (!SWIG_IsOK(res2
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5654 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5670 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5673 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5674 return SWIG_Py_Void();
5677 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5678 return SWIG_Python_InitShadowInstance(args
);
5681 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
= 0;
5683 wxColour
*arg1
= 0 ;
5684 int arg2
= (int) wxSOLID
;
5685 wxBrush
*result
= 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "colour",(char *) "style", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5698 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5702 if (!SWIG_IsOK(ecode2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5705 arg2
= static_cast< int >(val2
);
5708 if (!wxPyCheckForApp()) SWIG_fail
;
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5721 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= 0;
5723 wxBitmap
*arg1
= 0 ;
5724 wxBrush
*result
= 0 ;
5727 PyObject
* obj0
= 0 ;
5728 char * kwnames
[] = {
5729 (char *) "stippleBitmap", NULL
5732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5733 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5734 if (!SWIG_IsOK(res1
)) {
5735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5740 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5742 if (!wxPyCheckForApp()) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5755 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5756 PyObject
*resultobj
= 0;
5757 wxBrush
*arg1
= (wxBrush
*) 0 ;
5760 PyObject
*swig_obj
[1] ;
5762 if (!args
) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5768 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= SWIG_Py_Void();
5783 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
= 0;
5785 wxBrush
*arg1
= (wxBrush
*) 0 ;
5786 wxColour
*arg2
= 0 ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "self",(char *) "col", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5798 if (!SWIG_IsOK(res1
)) {
5799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5801 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5804 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 (arg1
)->SetColour((wxColour
const &)*arg2
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= SWIG_Py_Void();
5819 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
= 0;
5821 wxBrush
*arg1
= (wxBrush
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 char * kwnames
[] = {
5830 (char *) "self",(char *) "style", NULL
5833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5838 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5840 if (!SWIG_IsOK(ecode2
)) {
5841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5843 arg2
= static_cast< int >(val2
);
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 (arg1
)->SetStyle(arg2
);
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= SWIG_Py_Void();
5857 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
= 0;
5859 wxBrush
*arg1
= (wxBrush
*) 0 ;
5860 wxBitmap
*arg2
= 0 ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "self",(char *) "stipple", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5876 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5878 if (!SWIG_IsOK(res2
)) {
5879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5884 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_Py_Void();
5898 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5899 PyObject
*resultobj
= 0;
5900 wxBrush
*arg1
= (wxBrush
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5912 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= ((wxBrush
const *)arg1
)->GetColour();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5926 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxBrush
*arg1
= (wxBrush
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5940 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_From_int(static_cast< int >(result
));
5954 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxBrush
*arg1
= (wxBrush
*) 0 ;
5957 wxBitmap
*result
= 0 ;
5960 PyObject
*swig_obj
[1] ;
5962 if (!args
) SWIG_fail
;
5964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5965 if (!SWIG_IsOK(res1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5968 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5982 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5983 PyObject
*resultobj
= 0;
5984 wxBrush
*arg1
= (wxBrush
*) 0 ;
5988 PyObject
*swig_obj
[1] ;
5990 if (!args
) SWIG_fail
;
5992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5993 if (!SWIG_IsOK(res1
)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5996 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6012 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6013 PyObject
*resultobj
= 0;
6014 wxBrush
*arg1
= (wxBrush
*) 0 ;
6018 PyObject
*swig_obj
[1] ;
6020 if (!args
) SWIG_fail
;
6022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6023 if (!SWIG_IsOK(res1
)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6026 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 result
= (bool)(arg1
)->IsOk();
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6042 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6045 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6046 return SWIG_Py_Void();
6049 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 return SWIG_Python_InitShadowInstance(args
);
6053 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
= 0;
6055 wxString
*arg1
= 0 ;
6056 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6057 wxBitmap
*result
= 0 ;
6058 bool temp1
= false ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 char * kwnames
[] = {
6064 (char *) "name",(char *) "type", NULL
6067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6069 arg1
= wxString_in_helper(obj0
);
6070 if (arg1
== NULL
) SWIG_fail
;
6074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6075 if (!SWIG_IsOK(ecode2
)) {
6076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6078 arg2
= static_cast< wxBitmapType
>(val2
);
6081 if (!wxPyCheckForApp()) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6102 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6103 PyObject
*resultobj
= 0;
6104 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6107 PyObject
*swig_obj
[1] ;
6109 if (!args
) SWIG_fail
;
6111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6112 if (!SWIG_IsOK(res1
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6115 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_Py_Void();
6128 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6132 int arg3
= (int) -1 ;
6133 wxBitmap
*result
= 0 ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6142 PyObject
* obj2
= 0 ;
6143 char * kwnames
[] = {
6144 (char *) "width",(char *) "height",(char *) "depth", NULL
6147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6149 if (!SWIG_IsOK(ecode1
)) {
6150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6152 arg1
= static_cast< int >(val1
);
6153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6154 if (!SWIG_IsOK(ecode2
)) {
6155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6157 arg2
= static_cast< int >(val2
);
6159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6160 if (!SWIG_IsOK(ecode3
)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6163 arg3
= static_cast< int >(val3
);
6166 if (!wxPyCheckForApp()) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6179 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
*resultobj
= 0;
6182 wxBitmap
*result
= 0 ;
6185 PyObject
* obj0
= 0 ;
6186 char * kwnames
[] = {
6187 (char *) "icon", NULL
6190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6191 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6192 if (!SWIG_IsOK(res1
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6198 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6200 if (!wxPyCheckForApp()) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6213 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
= 0;
6216 int arg2
= (int) -1 ;
6217 wxBitmap
*result
= 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 char * kwnames
[] = {
6225 (char *) "image",(char *) "depth", NULL
6228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6230 if (!SWIG_IsOK(res1
)) {
6231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6236 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6239 if (!SWIG_IsOK(ecode2
)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6242 arg2
= static_cast< int >(val2
);
6245 if (!wxPyCheckForApp()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6258 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
= 0;
6260 PyObject
*arg1
= (PyObject
*) 0 ;
6261 wxBitmap
*result
= 0 ;
6262 PyObject
* obj0
= 0 ;
6263 char * kwnames
[] = {
6264 (char *) "listOfStrings", NULL
6267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6270 if (!wxPyCheckForApp()) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6283 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
= 0;
6285 PyObject
*arg1
= (PyObject
*) 0 ;
6288 int arg4
= (int) 1 ;
6289 wxBitmap
*result
= 0 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6298 PyObject
* obj2
= 0 ;
6299 PyObject
* obj3
= 0 ;
6300 char * kwnames
[] = {
6301 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6307 if (!SWIG_IsOK(ecode2
)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6310 arg2
= static_cast< int >(val2
);
6311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6312 if (!SWIG_IsOK(ecode3
)) {
6313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6315 arg3
= static_cast< int >(val3
);
6317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6318 if (!SWIG_IsOK(ecode4
)) {
6319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6321 arg4
= static_cast< int >(val4
);
6324 if (!wxPyCheckForApp()) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6337 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6338 PyObject
*resultobj
= 0;
6339 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6343 PyObject
*swig_obj
[1] ;
6345 if (!args
) SWIG_fail
;
6347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6348 if (!SWIG_IsOK(res1
)) {
6349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6351 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6353 result
= (bool)(arg1
)->IsOk();
6354 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6365 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6366 PyObject
*resultobj
= 0;
6367 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6371 PyObject
*swig_obj
[1] ;
6373 if (!args
) SWIG_fail
;
6375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6376 if (!SWIG_IsOK(res1
)) {
6377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6379 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6381 result
= (int)(arg1
)->GetWidth();
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 resultobj
= SWIG_From_int(static_cast< int >(result
));
6391 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6392 PyObject
*resultobj
= 0;
6393 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6397 PyObject
*swig_obj
[1] ;
6399 if (!args
) SWIG_fail
;
6401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6402 if (!SWIG_IsOK(res1
)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6407 result
= (int)(arg1
)->GetHeight();
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_From_int(static_cast< int >(result
));
6417 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6418 PyObject
*resultobj
= 0;
6419 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6423 PyObject
*swig_obj
[1] ;
6425 if (!args
) SWIG_fail
;
6427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6428 if (!SWIG_IsOK(res1
)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6431 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6433 result
= (int)(arg1
)->GetDepth();
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_From_int(static_cast< int >(result
));
6443 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6444 PyObject
*resultobj
= 0;
6445 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6449 PyObject
*swig_obj
[1] ;
6451 if (!args
) SWIG_fail
;
6453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6454 if (!SWIG_IsOK(res1
)) {
6455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6457 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6459 result
= wxBitmap_GetSize(arg1
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6469 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6470 PyObject
*resultobj
= 0;
6471 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6472 SwigValueWrapper
<wxImage
> result
;
6475 PyObject
*swig_obj
[1] ;
6477 if (!args
) SWIG_fail
;
6479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6480 if (!SWIG_IsOK(res1
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6483 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6485 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6495 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6496 PyObject
*resultobj
= 0;
6497 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6498 wxMask
*result
= 0 ;
6501 PyObject
*swig_obj
[1] ;
6503 if (!args
) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6509 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6511 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6521 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
= 0;
6523 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6524 wxMask
*arg2
= (wxMask
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6530 char * kwnames
[] = {
6531 (char *) "self",(char *) "mask", NULL
6534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6539 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6540 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6541 if (!SWIG_IsOK(res2
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6545 (arg1
)->SetMask(arg2
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= SWIG_Py_Void();
6555 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
= 0;
6557 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6558 wxColour
*arg2
= 0 ;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 char * kwnames
[] = {
6565 (char *) "self",(char *) "colour", NULL
6568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6570 if (!SWIG_IsOK(res1
)) {
6571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6573 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6576 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6579 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= SWIG_Py_Void();
6589 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
*resultobj
= 0;
6591 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6593 SwigValueWrapper
<wxBitmap
> result
;
6597 PyObject
* obj0
= 0 ;
6598 PyObject
* obj1
= 0 ;
6599 char * kwnames
[] = {
6600 (char *) "self",(char *) "rect", NULL
6603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6605 if (!SWIG_IsOK(res1
)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6608 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6611 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6614 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6624 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
*resultobj
= 0;
6626 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6627 wxString
*arg2
= 0 ;
6629 wxPalette
*arg4
= (wxPalette
*) NULL
;
6633 bool temp2
= false ;
6638 PyObject
* obj0
= 0 ;
6639 PyObject
* obj1
= 0 ;
6640 PyObject
* obj2
= 0 ;
6641 PyObject
* obj3
= 0 ;
6642 char * kwnames
[] = {
6643 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6648 if (!SWIG_IsOK(res1
)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6651 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6653 arg2
= wxString_in_helper(obj1
);
6654 if (arg2
== NULL
) SWIG_fail
;
6657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6658 if (!SWIG_IsOK(ecode3
)) {
6659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6661 arg3
= static_cast< wxBitmapType
>(val3
);
6663 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6664 if (!SWIG_IsOK(res4
)) {
6665 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6667 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6670 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6690 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
*resultobj
= 0;
6692 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6693 wxString
*arg2
= 0 ;
6698 bool temp2
= false ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6703 PyObject
* obj2
= 0 ;
6704 char * kwnames
[] = {
6705 (char *) "self",(char *) "name",(char *) "type", NULL
6708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6710 if (!SWIG_IsOK(res1
)) {
6711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6713 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6715 arg2
= wxString_in_helper(obj1
);
6716 if (arg2
== NULL
) SWIG_fail
;
6719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6720 if (!SWIG_IsOK(ecode3
)) {
6721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6723 arg3
= static_cast< wxBitmapType
>(val3
);
6725 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6745 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6746 PyObject
*resultobj
= 0;
6747 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6748 wxPalette
*result
= 0 ;
6751 PyObject
*swig_obj
[1] ;
6753 if (!args
) SWIG_fail
;
6755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6756 if (!SWIG_IsOK(res1
)) {
6757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6759 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6761 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6771 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
= 0;
6773 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 char * kwnames
[] = {
6783 (char *) "self",(char *) "icon", NULL
6786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6788 if (!SWIG_IsOK(res1
)) {
6789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6791 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6793 if (!SWIG_IsOK(res2
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6799 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6801 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6813 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= 0;
6815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6823 char * kwnames
[] = {
6824 (char *) "self",(char *) "height", NULL
6827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6829 if (!SWIG_IsOK(res1
)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6834 if (!SWIG_IsOK(ecode2
)) {
6835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6837 arg2
= static_cast< int >(val2
);
6839 (arg1
)->SetHeight(arg2
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_Py_Void();
6849 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
= 0;
6851 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 char * kwnames
[] = {
6860 (char *) "self",(char *) "width", NULL
6863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6865 if (!SWIG_IsOK(res1
)) {
6866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6868 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6870 if (!SWIG_IsOK(ecode2
)) {
6871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6873 arg2
= static_cast< int >(val2
);
6875 (arg1
)->SetWidth(arg2
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= SWIG_Py_Void();
6885 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
*resultobj
= 0;
6887 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 char * kwnames
[] = {
6896 (char *) "self",(char *) "depth", NULL
6899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6904 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6906 if (!SWIG_IsOK(ecode2
)) {
6907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6909 arg2
= static_cast< int >(val2
);
6911 (arg1
)->SetDepth(arg2
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_Py_Void();
6921 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
= 0;
6923 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 char * kwnames
[] = {
6931 (char *) "self",(char *) "size", NULL
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6936 if (!SWIG_IsOK(res1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6939 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6942 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6945 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= SWIG_Py_Void();
6955 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
= 0;
6957 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 char * kwnames
[] = {
6966 (char *) "self",(char *) "data", NULL
6969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6971 if (!SWIG_IsOK(res1
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
6974 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6976 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
6980 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_Py_Void();
6990 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
= 0;
6992 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7000 char * kwnames
[] = {
7001 (char *) "self",(char *) "data", NULL
7004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7006 if (!SWIG_IsOK(res1
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7009 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7011 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7015 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_Py_Void();
7025 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
= 0;
7027 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7028 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7036 char * kwnames
[] = {
7037 (char *) "self",(char *) "other", NULL
7040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7042 if (!SWIG_IsOK(res1
)) {
7043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7045 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7047 if (!SWIG_IsOK(res2
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7050 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7052 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7067 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 char * kwnames
[] = {
7076 (char *) "self",(char *) "other", NULL
7079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7081 if (!SWIG_IsOK(res1
)) {
7082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7086 if (!SWIG_IsOK(res2
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7089 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7091 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7103 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7106 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7107 return SWIG_Py_Void();
7110 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7111 return SWIG_Python_InitShadowInstance(args
);
7114 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= 0;
7122 wxBitmap
*result
= 0 ;
7129 PyObject
* obj0
= 0 ;
7130 PyObject
* obj1
= 0 ;
7131 PyObject
* obj2
= 0 ;
7132 PyObject
* obj3
= 0 ;
7133 char * kwnames
[] = {
7134 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7139 if (!SWIG_IsOK(ecode1
)) {
7140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7142 arg1
= static_cast< int >(val1
);
7143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7144 if (!SWIG_IsOK(ecode2
)) {
7145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7147 arg2
= static_cast< int >(val2
);
7149 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7153 if (obj3
!= Py_None
) {
7154 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7159 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7169 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
= 0;
7175 wxBitmap
*result
= 0 ;
7181 PyObject
* obj0
= 0 ;
7182 PyObject
* obj1
= 0 ;
7183 PyObject
* obj2
= 0 ;
7184 char * kwnames
[] = {
7185 (char *) "width",(char *) "height",(char *) "data", NULL
7188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7190 if (!SWIG_IsOK(ecode1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7193 arg1
= static_cast< int >(val1
);
7194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7195 if (!SWIG_IsOK(ecode2
)) {
7196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7198 arg2
= static_cast< int >(val2
);
7200 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7204 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7214 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
= 0;
7220 wxBitmap
*result
= 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7228 PyObject
* obj2
= 0 ;
7229 char * kwnames
[] = {
7230 (char *) "width",(char *) "height",(char *) "data", NULL
7233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7235 if (!SWIG_IsOK(ecode1
)) {
7236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7238 arg1
= static_cast< int >(val1
);
7239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7240 if (!SWIG_IsOK(ecode2
)) {
7241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7243 arg2
= static_cast< int >(val2
);
7245 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7249 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7259 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7260 PyObject
*resultobj
= 0;
7261 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7265 PyObject
*swig_obj
[1] ;
7267 if (!args
) SWIG_fail
;
7269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7270 if (!SWIG_IsOK(res1
)) {
7271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7273 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7275 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7285 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7286 PyObject
*resultobj
= 0;
7287 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7291 PyObject
*swig_obj
[1] ;
7293 if (!args
) SWIG_fail
;
7295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7296 if (!SWIG_IsOK(res1
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7299 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7301 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_From_int(static_cast< int >(result
));
7311 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7312 PyObject
*resultobj
= 0;
7313 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7317 PyObject
*swig_obj
[1] ;
7319 if (!args
) SWIG_fail
;
7321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7322 if (!SWIG_IsOK(res1
)) {
7323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7325 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7327 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_From_int(static_cast< int >(result
));
7337 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7338 PyObject
*resultobj
= 0;
7339 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7343 PyObject
*swig_obj
[1] ;
7345 if (!args
) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7351 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7353 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7363 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7364 PyObject
*resultobj
= 0;
7365 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7369 PyObject
*swig_obj
[1] ;
7371 if (!args
) SWIG_fail
;
7373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7374 if (!SWIG_IsOK(res1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7377 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7379 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= SWIG_From_int(static_cast< int >(result
));
7389 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7393 return SWIG_Py_Void();
7396 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7397 PyObject
*resultobj
= 0;
7398 wxBitmap
*arg1
= 0 ;
7399 wxNativePixelData
*result
= 0 ;
7403 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7411 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7413 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7423 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7424 PyObject
*resultobj
= 0;
7425 wxBitmap
*arg1
= 0 ;
7427 wxNativePixelData
*result
= 0 ;
7432 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7434 if (!SWIG_IsOK(res1
)) {
7435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7440 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7443 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7446 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7456 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7457 PyObject
*resultobj
= 0;
7458 wxBitmap
*arg1
= 0 ;
7461 wxNativePixelData
*result
= 0 ;
7467 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7469 if (!SWIG_IsOK(res1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7475 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7478 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7482 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7485 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7495 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7499 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7502 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7505 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7508 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7512 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7517 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7518 PyObject
*resultobj
= 0;
7519 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7522 PyObject
*swig_obj
[1] ;
7524 if (!args
) SWIG_fail
;
7526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7527 if (!SWIG_IsOK(res1
)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7530 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= SWIG_Py_Void();
7543 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7544 PyObject
*resultobj
= 0;
7545 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7546 wxNativePixelData_Accessor result
;
7549 PyObject
*swig_obj
[1] ;
7551 if (!args
) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7557 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7559 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7569 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7570 PyObject
*resultobj
= 0;
7571 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7574 PyObject
*swig_obj
[1] ;
7576 if (!args
) SWIG_fail
;
7578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7579 if (!SWIG_IsOK(res1
)) {
7580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7582 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_Py_Void();
7594 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7595 PyObject
*resultobj
= 0;
7596 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7600 PyObject
*swig_obj
[1] ;
7602 if (!args
) SWIG_fail
;
7604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7605 if (!SWIG_IsOK(res1
)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7608 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7610 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7622 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7625 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7626 return SWIG_Py_Void();
7629 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7630 return SWIG_Python_InitShadowInstance(args
);
7633 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7634 PyObject
*resultobj
= 0;
7635 wxNativePixelData
*arg1
= 0 ;
7636 wxNativePixelData_Accessor
*result
= 0 ;
7640 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7642 if (!SWIG_IsOK(res1
)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7648 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7650 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7660 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7661 PyObject
*resultobj
= 0;
7662 wxBitmap
*arg1
= 0 ;
7663 wxNativePixelData
*arg2
= 0 ;
7664 wxNativePixelData_Accessor
*result
= 0 ;
7670 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7672 if (!SWIG_IsOK(res1
)) {
7673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7678 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7679 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7680 if (!SWIG_IsOK(res2
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7686 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7688 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7698 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7699 PyObject
*resultobj
= 0;
7700 wxNativePixelData_Accessor
*result
= 0 ;
7702 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7704 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7714 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7718 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7721 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7724 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7727 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7731 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7736 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7737 PyObject
*resultobj
= 0;
7738 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7741 PyObject
*swig_obj
[1] ;
7743 if (!args
) SWIG_fail
;
7745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7746 if (!SWIG_IsOK(res1
)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7749 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= SWIG_Py_Void();
7762 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
= 0;
7764 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7765 wxNativePixelData
*arg2
= 0 ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7772 char * kwnames
[] = {
7773 (char *) "self",(char *) "data", NULL
7776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7778 if (!SWIG_IsOK(res1
)) {
7779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7781 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7783 if (!SWIG_IsOK(res2
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7789 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7791 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_Py_Void();
7801 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 PyObject
*resultobj
= 0;
7803 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7807 PyObject
*swig_obj
[1] ;
7809 if (!args
) SWIG_fail
;
7811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7812 if (!SWIG_IsOK(res1
)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7815 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7817 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7818 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7829 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7834 PyObject
*swig_obj
[1] ;
7836 if (!args
) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7842 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7844 wxNativePixelData_Accessor_nextPixel(arg1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_Py_Void();
7854 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
= 0;
7856 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7857 wxNativePixelData
*arg2
= 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7870 PyObject
* obj2
= 0 ;
7871 PyObject
* obj3
= 0 ;
7872 char * kwnames
[] = {
7873 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7881 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7883 if (!SWIG_IsOK(res2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7889 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7891 if (!SWIG_IsOK(ecode3
)) {
7892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7894 arg3
= static_cast< int >(val3
);
7895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7896 if (!SWIG_IsOK(ecode4
)) {
7897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7899 arg4
= static_cast< int >(val4
);
7901 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_Py_Void();
7911 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
= 0;
7913 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7914 wxNativePixelData
*arg2
= 0 ;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7924 PyObject
* obj2
= 0 ;
7925 char * kwnames
[] = {
7926 (char *) "self",(char *) "data",(char *) "x", NULL
7929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7931 if (!SWIG_IsOK(res1
)) {
7932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7934 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7936 if (!SWIG_IsOK(res2
)) {
7937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7942 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7944 if (!SWIG_IsOK(ecode3
)) {
7945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7947 arg3
= static_cast< int >(val3
);
7949 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_Py_Void();
7959 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
= 0;
7961 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7962 wxNativePixelData
*arg2
= 0 ;
7970 PyObject
* obj0
= 0 ;
7971 PyObject
* obj1
= 0 ;
7972 PyObject
* obj2
= 0 ;
7973 char * kwnames
[] = {
7974 (char *) "self",(char *) "data",(char *) "y", NULL
7977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7979 if (!SWIG_IsOK(res1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7982 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7984 if (!SWIG_IsOK(res2
)) {
7985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7990 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7992 if (!SWIG_IsOK(ecode3
)) {
7993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7995 arg3
= static_cast< int >(val3
);
7997 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_Py_Void();
8007 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
= 0;
8009 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8010 wxNativePixelData
*arg2
= 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8024 PyObject
* obj3
= 0 ;
8025 char * kwnames
[] = {
8026 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8031 if (!SWIG_IsOK(res1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8034 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8036 if (!SWIG_IsOK(res2
)) {
8037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8042 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8044 if (!SWIG_IsOK(ecode3
)) {
8045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8047 arg3
= static_cast< int >(val3
);
8048 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8049 if (!SWIG_IsOK(ecode4
)) {
8050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8052 arg4
= static_cast< int >(val4
);
8054 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_Py_Void();
8064 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8072 unsigned char val2
;
8074 unsigned char val3
;
8076 unsigned char val4
;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8080 PyObject
* obj2
= 0 ;
8081 PyObject
* obj3
= 0 ;
8082 char * kwnames
[] = {
8083 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8091 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8092 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8093 if (!SWIG_IsOK(ecode2
)) {
8094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8096 arg2
= static_cast< byte
>(val2
);
8097 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8098 if (!SWIG_IsOK(ecode3
)) {
8099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8101 arg3
= static_cast< byte
>(val3
);
8102 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8103 if (!SWIG_IsOK(ecode4
)) {
8104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8106 arg4
= static_cast< byte
>(val4
);
8108 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_Py_Void();
8118 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8119 PyObject
*resultobj
= 0;
8120 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8121 PyObject
*result
= 0 ;
8124 PyObject
*swig_obj
[1] ;
8126 if (!args
) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8132 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8134 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8144 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8147 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8148 return SWIG_Py_Void();
8151 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8152 return SWIG_Python_InitShadowInstance(args
);
8155 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8156 PyObject
*resultobj
= 0;
8157 wxBitmap
*arg1
= 0 ;
8158 wxAlphaPixelData
*result
= 0 ;
8162 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8164 if (!SWIG_IsOK(res1
)) {
8165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8172 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8182 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8183 PyObject
*resultobj
= 0;
8184 wxBitmap
*arg1
= 0 ;
8186 wxAlphaPixelData
*result
= 0 ;
8191 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8193 if (!SWIG_IsOK(res1
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8199 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8202 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8205 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8215 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8216 PyObject
*resultobj
= 0;
8217 wxBitmap
*arg1
= 0 ;
8220 wxAlphaPixelData
*result
= 0 ;
8226 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8234 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8237 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8241 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8244 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8254 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8258 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8261 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8264 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8267 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8271 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8276 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8277 PyObject
*resultobj
= 0;
8278 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8281 PyObject
*swig_obj
[1] ;
8283 if (!args
) SWIG_fail
;
8285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8286 if (!SWIG_IsOK(res1
)) {
8287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8289 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_Py_Void();
8302 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8303 PyObject
*resultobj
= 0;
8304 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8305 wxAlphaPixelData_Accessor result
;
8308 PyObject
*swig_obj
[1] ;
8310 if (!args
) SWIG_fail
;
8312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8313 if (!SWIG_IsOK(res1
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8316 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8318 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8328 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8329 PyObject
*resultobj
= 0;
8330 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8333 PyObject
*swig_obj
[1] ;
8335 if (!args
) SWIG_fail
;
8337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8338 if (!SWIG_IsOK(res1
)) {
8339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8341 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 PyObject
*resultobj
= 0;
8355 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8359 PyObject
*swig_obj
[1] ;
8361 if (!args
) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8367 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8369 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8381 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8384 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8385 return SWIG_Py_Void();
8388 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8389 return SWIG_Python_InitShadowInstance(args
);
8392 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8393 PyObject
*resultobj
= 0;
8394 wxAlphaPixelData
*arg1
= 0 ;
8395 wxAlphaPixelData_Accessor
*result
= 0 ;
8399 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8407 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8409 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8419 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8420 PyObject
*resultobj
= 0;
8421 wxBitmap
*arg1
= 0 ;
8422 wxAlphaPixelData
*arg2
= 0 ;
8423 wxAlphaPixelData_Accessor
*result
= 0 ;
8429 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8431 if (!SWIG_IsOK(res1
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8437 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8438 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8439 if (!SWIG_IsOK(res2
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8445 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8447 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8457 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8458 PyObject
*resultobj
= 0;
8459 wxAlphaPixelData_Accessor
*result
= 0 ;
8461 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8463 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8473 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8477 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8480 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8483 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8486 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8490 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8495 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 PyObject
*resultobj
= 0;
8497 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8500 PyObject
*swig_obj
[1] ;
8502 if (!args
) SWIG_fail
;
8504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8505 if (!SWIG_IsOK(res1
)) {
8506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8508 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_Py_Void();
8521 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
= 0;
8523 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8524 wxAlphaPixelData
*arg2
= 0 ;
8529 PyObject
* obj0
= 0 ;
8530 PyObject
* obj1
= 0 ;
8531 char * kwnames
[] = {
8532 (char *) "self",(char *) "data", NULL
8535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8540 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8542 if (!SWIG_IsOK(res2
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8548 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8550 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_Py_Void();
8560 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8561 PyObject
*resultobj
= 0;
8562 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8566 PyObject
*swig_obj
[1] ;
8568 if (!args
) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8574 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8576 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8577 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8588 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8589 PyObject
*resultobj
= 0;
8590 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8593 PyObject
*swig_obj
[1] ;
8595 if (!args
) SWIG_fail
;
8597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8598 if (!SWIG_IsOK(res1
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8601 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8603 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_Py_Void();
8613 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
= 0;
8615 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8616 wxAlphaPixelData
*arg2
= 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 PyObject
* obj2
= 0 ;
8630 PyObject
* obj3
= 0 ;
8631 char * kwnames
[] = {
8632 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8637 if (!SWIG_IsOK(res1
)) {
8638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8640 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8642 if (!SWIG_IsOK(res2
)) {
8643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8648 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8650 if (!SWIG_IsOK(ecode3
)) {
8651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8653 arg3
= static_cast< int >(val3
);
8654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8655 if (!SWIG_IsOK(ecode4
)) {
8656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8658 arg4
= static_cast< int >(val4
);
8660 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_Py_Void();
8670 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
= 0;
8672 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8673 wxAlphaPixelData
*arg2
= 0 ;
8681 PyObject
* obj0
= 0 ;
8682 PyObject
* obj1
= 0 ;
8683 PyObject
* obj2
= 0 ;
8684 char * kwnames
[] = {
8685 (char *) "self",(char *) "data",(char *) "x", NULL
8688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8690 if (!SWIG_IsOK(res1
)) {
8691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8693 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8695 if (!SWIG_IsOK(res2
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8701 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8703 if (!SWIG_IsOK(ecode3
)) {
8704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8706 arg3
= static_cast< int >(val3
);
8708 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_Py_Void();
8718 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
= 0;
8720 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8721 wxAlphaPixelData
*arg2
= 0 ;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8731 PyObject
* obj2
= 0 ;
8732 char * kwnames
[] = {
8733 (char *) "self",(char *) "data",(char *) "y", NULL
8736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8738 if (!SWIG_IsOK(res1
)) {
8739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8741 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8743 if (!SWIG_IsOK(res2
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8749 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8751 if (!SWIG_IsOK(ecode3
)) {
8752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8754 arg3
= static_cast< int >(val3
);
8756 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_Py_Void();
8766 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
= 0;
8768 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8769 wxAlphaPixelData
*arg2
= 0 ;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8783 PyObject
* obj3
= 0 ;
8784 char * kwnames
[] = {
8785 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8790 if (!SWIG_IsOK(res1
)) {
8791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8793 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8795 if (!SWIG_IsOK(res2
)) {
8796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8801 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8803 if (!SWIG_IsOK(ecode3
)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8806 arg3
= static_cast< int >(val3
);
8807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8808 if (!SWIG_IsOK(ecode4
)) {
8809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8811 arg4
= static_cast< int >(val4
);
8813 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= SWIG_Py_Void();
8823 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
= 0;
8825 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8832 unsigned char val2
;
8834 unsigned char val3
;
8836 unsigned char val4
;
8838 unsigned char val5
;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8843 PyObject
* obj3
= 0 ;
8844 PyObject
* obj4
= 0 ;
8845 char * kwnames
[] = {
8846 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8851 if (!SWIG_IsOK(res1
)) {
8852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8854 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8855 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8856 if (!SWIG_IsOK(ecode2
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8859 arg2
= static_cast< byte
>(val2
);
8860 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8861 if (!SWIG_IsOK(ecode3
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8864 arg3
= static_cast< byte
>(val3
);
8865 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8866 if (!SWIG_IsOK(ecode4
)) {
8867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8869 arg4
= static_cast< byte
>(val4
);
8870 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8871 if (!SWIG_IsOK(ecode5
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8874 arg5
= static_cast< byte
>(val5
);
8876 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_Py_Void();
8886 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8887 PyObject
*resultobj
= 0;
8888 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8889 PyObject
*result
= 0 ;
8892 PyObject
*swig_obj
[1] ;
8894 if (!args
) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8900 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8902 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8912 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8915 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8916 return SWIG_Py_Void();
8919 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8920 return SWIG_Python_InitShadowInstance(args
);
8923 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
= 0;
8925 wxBitmap
*arg1
= 0 ;
8926 wxColour
const &arg2_defvalue
= wxNullColour
;
8927 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8928 wxMask
*result
= 0 ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8934 char * kwnames
[] = {
8935 (char *) "bitmap",(char *) "colour", NULL
8938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8939 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8940 if (!SWIG_IsOK(res1
)) {
8941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8946 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8950 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8954 if (!wxPyCheckForApp()) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8967 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8968 PyObject
*resultobj
= 0;
8969 wxMask
*arg1
= (wxMask
*) 0 ;
8972 PyObject
*swig_obj
[1] ;
8974 if (!args
) SWIG_fail
;
8976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8977 if (!SWIG_IsOK(res1
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8980 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_Py_Void();
8993 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8996 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8997 return SWIG_Py_Void();
9000 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9001 return SWIG_Python_InitShadowInstance(args
);
9004 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
= 0;
9006 wxString
*arg1
= 0 ;
9008 int arg3
= (int) -1 ;
9009 int arg4
= (int) -1 ;
9010 wxIcon
*result
= 0 ;
9011 bool temp1
= false ;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9020 PyObject
* obj2
= 0 ;
9021 PyObject
* obj3
= 0 ;
9022 char * kwnames
[] = {
9023 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9028 arg1
= wxString_in_helper(obj0
);
9029 if (arg1
== NULL
) SWIG_fail
;
9032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9033 if (!SWIG_IsOK(ecode2
)) {
9034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9036 arg2
= static_cast< wxBitmapType
>(val2
);
9038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9039 if (!SWIG_IsOK(ecode3
)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9042 arg3
= static_cast< int >(val3
);
9045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9046 if (!SWIG_IsOK(ecode4
)) {
9047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9049 arg4
= static_cast< int >(val4
);
9052 if (!wxPyCheckForApp()) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9073 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9074 PyObject
*resultobj
= 0;
9075 wxIcon
*arg1
= (wxIcon
*) 0 ;
9078 PyObject
*swig_obj
[1] ;
9080 if (!args
) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9086 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= SWIG_Py_Void();
9101 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9102 PyObject
*resultobj
= 0;
9103 wxIcon
*result
= 0 ;
9105 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9107 if (!wxPyCheckForApp()) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (wxIcon
*)new wxIcon();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9120 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
= 0;
9122 wxIconLocation
*arg1
= 0 ;
9123 wxIcon
*result
= 0 ;
9126 PyObject
* obj0
= 0 ;
9127 char * kwnames
[] = {
9128 (char *) "loc", NULL
9131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9132 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9133 if (!SWIG_IsOK(res1
)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9139 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9141 if (!wxPyCheckForApp()) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9154 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
= 0;
9156 wxBitmap
*arg1
= 0 ;
9157 wxIcon
*result
= 0 ;
9160 PyObject
* obj0
= 0 ;
9161 char * kwnames
[] = {
9162 (char *) "bmp", NULL
9165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9173 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9175 if (!wxPyCheckForApp()) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9188 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
= 0;
9190 PyObject
*arg1
= (PyObject
*) 0 ;
9191 wxIcon
*result
= 0 ;
9192 PyObject
* obj0
= 0 ;
9193 char * kwnames
[] = {
9194 (char *) "listOfStrings", NULL
9197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9200 if (!wxPyCheckForApp()) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (wxIcon
*)new_wxIcon(arg1
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9213 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxIcon
*arg1
= (wxIcon
*) 0 ;
9216 wxString
*arg2
= 0 ;
9221 bool temp2
= false ;
9224 PyObject
* obj0
= 0 ;
9225 PyObject
* obj1
= 0 ;
9226 PyObject
* obj2
= 0 ;
9227 char * kwnames
[] = {
9228 (char *) "self",(char *) "name",(char *) "type", NULL
9231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9233 if (!SWIG_IsOK(res1
)) {
9234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9236 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9238 arg2
= wxString_in_helper(obj1
);
9239 if (arg2
== NULL
) SWIG_fail
;
9242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9243 if (!SWIG_IsOK(ecode3
)) {
9244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9246 arg3
= static_cast< wxBitmapType
>(val3
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9270 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9271 PyObject
*resultobj
= 0;
9272 wxIcon
*arg1
= (wxIcon
*) 0 ;
9276 PyObject
*swig_obj
[1] ;
9278 if (!args
) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9284 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (bool)(arg1
)->IsOk();
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9300 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9301 PyObject
*resultobj
= 0;
9302 wxIcon
*arg1
= (wxIcon
*) 0 ;
9306 PyObject
*swig_obj
[1] ;
9308 if (!args
) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9314 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (int)(arg1
)->GetWidth();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_From_int(static_cast< int >(result
));
9328 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9329 PyObject
*resultobj
= 0;
9330 wxIcon
*arg1
= (wxIcon
*) 0 ;
9334 PyObject
*swig_obj
[1] ;
9336 if (!args
) SWIG_fail
;
9338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9339 if (!SWIG_IsOK(res1
)) {
9340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9342 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (int)(arg1
)->GetHeight();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_From_int(static_cast< int >(result
));
9356 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9357 PyObject
*resultobj
= 0;
9358 wxIcon
*arg1
= (wxIcon
*) 0 ;
9362 PyObject
*swig_obj
[1] ;
9364 if (!args
) SWIG_fail
;
9366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9367 if (!SWIG_IsOK(res1
)) {
9368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9370 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (int)(arg1
)->GetDepth();
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= SWIG_From_int(static_cast< int >(result
));
9384 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
= 0;
9386 wxIcon
*arg1
= (wxIcon
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 char * kwnames
[] = {
9395 (char *) "self",(char *) "w", NULL
9398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9400 if (!SWIG_IsOK(res1
)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9403 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9405 if (!SWIG_IsOK(ecode2
)) {
9406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9408 arg2
= static_cast< int >(val2
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 (arg1
)->SetWidth(arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_Py_Void();
9422 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
= 0;
9424 wxIcon
*arg1
= (wxIcon
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9432 char * kwnames
[] = {
9433 (char *) "self",(char *) "h", NULL
9436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9438 if (!SWIG_IsOK(res1
)) {
9439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9441 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9443 if (!SWIG_IsOK(ecode2
)) {
9444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9446 arg2
= static_cast< int >(val2
);
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 (arg1
)->SetHeight(arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_Py_Void();
9460 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
= 0;
9462 wxIcon
*arg1
= (wxIcon
*) 0 ;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 char * kwnames
[] = {
9471 (char *) "self",(char *) "d", NULL
9474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9476 if (!SWIG_IsOK(res1
)) {
9477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9479 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9481 if (!SWIG_IsOK(ecode2
)) {
9482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9484 arg2
= static_cast< int >(val2
);
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 (arg1
)->SetDepth(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_Py_Void();
9498 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxIcon
*arg1
= (wxIcon
*) 0 ;
9501 wxBitmap
*arg2
= 0 ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 char * kwnames
[] = {
9509 (char *) "self",(char *) "bmp", NULL
9512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9514 if (!SWIG_IsOK(res1
)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9517 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9519 if (!SWIG_IsOK(res2
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9525 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_Py_Void();
9539 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9542 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9543 return SWIG_Py_Void();
9546 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9547 return SWIG_Python_InitShadowInstance(args
);
9550 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
= 0;
9552 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9553 int arg2
= (int) 0 ;
9554 wxIconLocation
*result
= 0 ;
9555 bool temp1
= false ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 char * kwnames
[] = {
9561 (char *) "filename",(char *) "num", NULL
9564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9567 arg1
= wxString_in_helper(obj0
);
9568 if (arg1
== NULL
) SWIG_fail
;
9573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9574 if (!SWIG_IsOK(ecode2
)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9577 arg2
= static_cast< int >(val2
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9600 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9601 PyObject
*resultobj
= 0;
9602 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9605 PyObject
*swig_obj
[1] ;
9607 if (!args
) SWIG_fail
;
9609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9610 if (!SWIG_IsOK(res1
)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9613 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_Py_Void();
9628 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9629 PyObject
*resultobj
= 0;
9630 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9634 PyObject
*swig_obj
[1] ;
9636 if (!args
) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9642 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9658 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
= 0;
9660 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9661 wxString
*arg2
= 0 ;
9664 bool temp2
= false ;
9665 PyObject
* obj0
= 0 ;
9666 PyObject
* obj1
= 0 ;
9667 char * kwnames
[] = {
9668 (char *) "self",(char *) "filename", NULL
9671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9673 if (!SWIG_IsOK(res1
)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9676 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9678 arg2
= wxString_in_helper(obj1
);
9679 if (arg2
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 (arg1
)->SetFileName((wxString
const &)*arg2
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_Py_Void();
9703 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9704 PyObject
*resultobj
= 0;
9705 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9706 wxString
*result
= 0 ;
9709 PyObject
*swig_obj
[1] ;
9711 if (!args
) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9717 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9722 result
= (wxString
*) &_result_ref
;
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9731 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9740 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
= 0;
9742 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9750 char * kwnames
[] = {
9751 (char *) "self",(char *) "num", NULL
9754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9759 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9761 if (!SWIG_IsOK(ecode2
)) {
9762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9764 arg2
= static_cast< int >(val2
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 wxIconLocation_SetIndex(arg1
,arg2
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= SWIG_Py_Void();
9778 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9779 PyObject
*resultobj
= 0;
9780 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9784 PyObject
*swig_obj
[1] ;
9786 if (!args
) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9792 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (int)wxIconLocation_GetIndex(arg1
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_From_int(static_cast< int >(result
));
9806 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9809 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9810 return SWIG_Py_Void();
9813 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9814 return SWIG_Python_InitShadowInstance(args
);
9817 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9818 PyObject
*resultobj
= 0;
9819 wxIconBundle
*result
= 0 ;
9821 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (wxIconBundle
*)new wxIconBundle();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9835 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxString
*arg1
= 0 ;
9839 wxIconBundle
*result
= 0 ;
9840 bool temp1
= false ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 char * kwnames
[] = {
9846 (char *) "file",(char *) "type", NULL
9849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9851 arg1
= wxString_in_helper(obj0
);
9852 if (arg1
== NULL
) SWIG_fail
;
9855 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9856 if (!SWIG_IsOK(ecode2
)) {
9857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9859 arg2
= static_cast< long >(val2
);
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9881 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
= 0;
9884 wxIconBundle
*result
= 0 ;
9887 PyObject
* obj0
= 0 ;
9888 char * kwnames
[] = {
9889 (char *) "icon", NULL
9892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9893 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9894 if (!SWIG_IsOK(res1
)) {
9895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9900 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9914 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9915 PyObject
*resultobj
= 0;
9916 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9919 PyObject
*swig_obj
[1] ;
9921 if (!args
) SWIG_fail
;
9923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9924 if (!SWIG_IsOK(res1
)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9927 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_Py_Void();
9942 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
= 0;
9944 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9952 char * kwnames
[] = {
9953 (char *) "self",(char *) "icon", NULL
9956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9958 if (!SWIG_IsOK(res1
)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9961 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9962 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9963 if (!SWIG_IsOK(res2
)) {
9964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9969 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_Py_Void();
9983 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9985 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9986 wxString
*arg2
= 0 ;
9990 bool temp2
= false ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9995 PyObject
* obj2
= 0 ;
9996 char * kwnames
[] = {
9997 (char *) "self",(char *) "file",(char *) "type", NULL
10000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10005 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10007 arg2
= wxString_in_helper(obj1
);
10008 if (arg2
== NULL
) SWIG_fail
;
10011 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10012 if (!SWIG_IsOK(ecode3
)) {
10013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10015 arg3
= static_cast< long >(val3
);
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_Py_Void();
10037 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
= 0;
10039 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10041 wxIcon
*result
= 0 ;
10045 PyObject
* obj0
= 0 ;
10046 PyObject
* obj1
= 0 ;
10047 char * kwnames
[] = {
10048 (char *) "self",(char *) "size", NULL
10051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10053 if (!SWIG_IsOK(res1
)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10056 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10065 result
= (wxIcon
*) &_result_ref
;
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10071 wxIcon
* resultptr
= new wxIcon(*result
);
10072 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10080 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10083 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10084 return SWIG_Py_Void();
10087 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10088 return SWIG_Python_InitShadowInstance(args
);
10091 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
= 0;
10093 wxString
*arg1
= 0 ;
10095 int arg3
= (int) 0 ;
10096 int arg4
= (int) 0 ;
10097 wxCursor
*result
= 0 ;
10098 bool temp1
= false ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 PyObject
* obj2
= 0 ;
10108 PyObject
* obj3
= 0 ;
10109 char * kwnames
[] = {
10110 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10115 arg1
= wxString_in_helper(obj0
);
10116 if (arg1
== NULL
) SWIG_fail
;
10119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10120 if (!SWIG_IsOK(ecode2
)) {
10121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10123 arg2
= static_cast< long >(val2
);
10125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10126 if (!SWIG_IsOK(ecode3
)) {
10127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10129 arg3
= static_cast< int >(val3
);
10132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10133 if (!SWIG_IsOK(ecode4
)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10136 arg4
= static_cast< int >(val4
);
10139 if (!wxPyCheckForApp()) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10160 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 PyObject
*resultobj
= 0;
10162 wxCursor
*arg1
= (wxCursor
*) 0 ;
10165 PyObject
*swig_obj
[1] ;
10167 if (!args
) SWIG_fail
;
10168 swig_obj
[0] = args
;
10169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10173 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_Py_Void();
10188 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
= 0;
10191 wxCursor
*result
= 0 ;
10194 PyObject
* obj0
= 0 ;
10195 char * kwnames
[] = {
10196 (char *) "id", NULL
10199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10201 if (!SWIG_IsOK(ecode1
)) {
10202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10204 arg1
= static_cast< int >(val1
);
10206 if (!wxPyCheckForApp()) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (wxCursor
*)new wxCursor(arg1
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10219 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
= 0;
10221 wxImage
*arg1
= 0 ;
10222 wxCursor
*result
= 0 ;
10225 PyObject
* obj0
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "image", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10231 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10238 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10240 if (!wxPyCheckForApp()) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10253 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10254 PyObject
*resultobj
= 0;
10255 wxCursor
*arg1
= (wxCursor
*) 0 ;
10259 PyObject
*swig_obj
[1] ;
10261 if (!args
) SWIG_fail
;
10262 swig_obj
[0] = args
;
10263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10264 if (!SWIG_IsOK(res1
)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10267 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (bool)(arg1
)->IsOk();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10283 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10286 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10287 return SWIG_Py_Void();
10290 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10291 return SWIG_Python_InitShadowInstance(args
);
10294 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
= 0;
10296 int arg1
= (int) 0 ;
10297 int arg2
= (int) 0 ;
10298 int arg3
= (int) 0 ;
10299 int arg4
= (int) 0 ;
10300 wxRegion
*result
= 0 ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 PyObject
* obj3
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10320 if (!SWIG_IsOK(ecode1
)) {
10321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10323 arg1
= static_cast< int >(val1
);
10326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10327 if (!SWIG_IsOK(ecode2
)) {
10328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10330 arg2
= static_cast< int >(val2
);
10333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10334 if (!SWIG_IsOK(ecode3
)) {
10335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10337 arg3
= static_cast< int >(val3
);
10340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10341 if (!SWIG_IsOK(ecode4
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10344 arg4
= static_cast< int >(val4
);
10347 if (!wxPyCheckForApp()) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10360 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
= 0;
10362 wxBitmap
*arg1
= 0 ;
10363 wxRegion
*result
= 0 ;
10366 PyObject
* obj0
= 0 ;
10367 char * kwnames
[] = {
10368 (char *) "bmp", NULL
10371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10372 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10379 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10381 if (!wxPyCheckForApp()) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10394 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxBitmap
*arg1
= 0 ;
10397 wxColour
*arg2
= 0 ;
10398 int arg3
= (int) 0 ;
10399 wxRegion
*result
= 0 ;
10405 PyObject
* obj0
= 0 ;
10406 PyObject
* obj1
= 0 ;
10407 PyObject
* obj2
= 0 ;
10408 char * kwnames
[] = {
10409 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10413 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10414 if (!SWIG_IsOK(res1
)) {
10415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10423 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10427 if (!SWIG_IsOK(ecode3
)) {
10428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10430 arg3
= static_cast< int >(val3
);
10433 if (!wxPyCheckForApp()) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10446 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
= 0;
10449 wxPoint
*arg2
= (wxPoint
*) 0 ;
10450 int arg3
= (int) wxWINDING_RULE
;
10451 wxRegion
*result
= 0 ;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "points",(char *) "fillStyle", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10462 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10463 if (arg2
== NULL
) SWIG_fail
;
10466 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10467 if (!SWIG_IsOK(ecode3
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10470 arg3
= static_cast< int >(val3
);
10473 if (!wxPyCheckForApp()) SWIG_fail
;
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10481 if (arg2
) delete [] arg2
;
10486 if (arg2
) delete [] arg2
;
10492 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxRegion
*arg1
= (wxRegion
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10505 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_Py_Void();
10520 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10521 PyObject
*resultobj
= 0;
10522 wxRegion
*arg1
= (wxRegion
*) 0 ;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10533 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_Py_Void();
10547 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= 0;
10549 wxRegion
*arg1
= (wxRegion
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 PyObject
* obj2
= 0 ;
10562 char * kwnames
[] = {
10563 (char *) "self",(char *) "x",(char *) "y", NULL
10566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10568 if (!SWIG_IsOK(res1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10571 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10573 if (!SWIG_IsOK(ecode2
)) {
10574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10576 arg2
= static_cast< int >(val2
);
10577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10578 if (!SWIG_IsOK(ecode3
)) {
10579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10581 arg3
= static_cast< int >(val3
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10597 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
= 0;
10599 wxRegion
*arg1
= (wxRegion
*) 0 ;
10602 wxRegionContain result
;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 PyObject
* obj2
= 0 ;
10612 char * kwnames
[] = {
10613 (char *) "self",(char *) "x",(char *) "y", NULL
10616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10621 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10623 if (!SWIG_IsOK(ecode2
)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10626 arg2
= static_cast< int >(val2
);
10627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10628 if (!SWIG_IsOK(ecode3
)) {
10629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10631 arg3
= static_cast< int >(val3
);
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_From_int(static_cast< int >(result
));
10645 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
= 0;
10647 wxRegion
*arg1
= (wxRegion
*) 0 ;
10648 wxPoint
*arg2
= 0 ;
10649 wxRegionContain result
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 char * kwnames
[] = {
10656 (char *) "self",(char *) "pt", NULL
10659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10661 if (!SWIG_IsOK(res1
)) {
10662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10664 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_From_int(static_cast< int >(result
));
10682 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10686 wxRegionContain result
;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 char * kwnames
[] = {
10693 (char *) "self",(char *) "rect", NULL
10696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10698 if (!SWIG_IsOK(res1
)) {
10699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10701 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int(static_cast< int >(result
));
10719 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxRegion
*arg1
= (wxRegion
*) 0 ;
10726 wxRegionContain result
;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 PyObject
* obj2
= 0 ;
10740 PyObject
* obj3
= 0 ;
10741 PyObject
* obj4
= 0 ;
10742 char * kwnames
[] = {
10743 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10748 if (!SWIG_IsOK(res1
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10751 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10753 if (!SWIG_IsOK(ecode2
)) {
10754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10756 arg2
= static_cast< int >(val2
);
10757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10758 if (!SWIG_IsOK(ecode3
)) {
10759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10761 arg3
= static_cast< int >(val3
);
10762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10763 if (!SWIG_IsOK(ecode4
)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10766 arg4
= static_cast< int >(val4
);
10767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10768 if (!SWIG_IsOK(ecode5
)) {
10769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10771 arg5
= static_cast< int >(val5
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_From_int(static_cast< int >(result
));
10785 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10786 PyObject
*resultobj
= 0;
10787 wxRegion
*arg1
= (wxRegion
*) 0 ;
10791 PyObject
*swig_obj
[1] ;
10793 if (!args
) SWIG_fail
;
10794 swig_obj
[0] = args
;
10795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10799 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (arg1
)->GetBox();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10806 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10813 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
= 0;
10815 wxRegion
*arg1
= (wxRegion
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 PyObject
* obj2
= 0 ;
10834 PyObject
* obj3
= 0 ;
10835 PyObject
* obj4
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10845 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10847 if (!SWIG_IsOK(ecode2
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10850 arg2
= static_cast< int >(val2
);
10851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10852 if (!SWIG_IsOK(ecode3
)) {
10853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10855 arg3
= static_cast< int >(val3
);
10856 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10857 if (!SWIG_IsOK(ecode4
)) {
10858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10860 arg4
= static_cast< int >(val4
);
10861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10862 if (!SWIG_IsOK(ecode5
)) {
10863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10865 arg5
= static_cast< int >(val5
);
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10881 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
= 0;
10883 wxRegion
*arg1
= (wxRegion
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 PyObject
* obj1
= 0 ;
10891 char * kwnames
[] = {
10892 (char *) "self",(char *) "rect", NULL
10895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10897 if (!SWIG_IsOK(res1
)) {
10898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10900 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10903 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10920 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxRegion
*arg1
= (wxRegion
*) 0 ;
10923 wxRegion
*arg2
= 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "region", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10940 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10942 if (!SWIG_IsOK(res2
)) {
10943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10948 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10964 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10965 PyObject
*resultobj
= 0;
10966 wxRegion
*arg1
= (wxRegion
*) 0 ;
10970 PyObject
*swig_obj
[1] ;
10972 if (!args
) SWIG_fail
;
10973 swig_obj
[0] = args
;
10974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10975 if (!SWIG_IsOK(res1
)) {
10976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10978 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 result
= (bool)(arg1
)->IsEmpty();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10994 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxRegion
*arg1
= (wxRegion
*) 0 ;
10997 wxRegion
*arg2
= 0 ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 char * kwnames
[] = {
11006 (char *) "self",(char *) "region", NULL
11009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11011 if (!SWIG_IsOK(res1
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11014 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11016 if (!SWIG_IsOK(res2
)) {
11017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11022 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11038 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
= 0;
11040 wxRegion
*arg1
= (wxRegion
*) 0 ;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 PyObject
* obj2
= 0 ;
11059 PyObject
* obj3
= 0 ;
11060 PyObject
* obj4
= 0 ;
11061 char * kwnames
[] = {
11062 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11070 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11072 if (!SWIG_IsOK(ecode2
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11075 arg2
= static_cast< int >(val2
);
11076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11077 if (!SWIG_IsOK(ecode3
)) {
11078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11080 arg3
= static_cast< int >(val3
);
11081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11082 if (!SWIG_IsOK(ecode4
)) {
11083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11085 arg4
= static_cast< int >(val4
);
11086 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11087 if (!SWIG_IsOK(ecode5
)) {
11088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11090 arg5
= static_cast< int >(val5
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= 0;
11108 wxRegion
*arg1
= (wxRegion
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 char * kwnames
[] = {
11117 (char *) "self",(char *) "rect", NULL
11120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11122 if (!SWIG_IsOK(res1
)) {
11123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11125 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11128 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
= 0;
11147 wxRegion
*arg1
= (wxRegion
*) 0 ;
11148 wxRegion
*arg2
= 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char * kwnames
[] = {
11157 (char *) "self",(char *) "region", NULL
11160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11162 if (!SWIG_IsOK(res1
)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11165 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11167 if (!SWIG_IsOK(res2
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11173 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
= 0;
11191 wxRegion
*arg1
= (wxRegion
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 PyObject
* obj2
= 0 ;
11210 PyObject
* obj3
= 0 ;
11211 PyObject
* obj4
= 0 ;
11212 char * kwnames
[] = {
11213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11218 if (!SWIG_IsOK(res1
)) {
11219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11221 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11223 if (!SWIG_IsOK(ecode2
)) {
11224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11226 arg2
= static_cast< int >(val2
);
11227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11228 if (!SWIG_IsOK(ecode3
)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11231 arg3
= static_cast< int >(val3
);
11232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11233 if (!SWIG_IsOK(ecode4
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11236 arg4
= static_cast< int >(val4
);
11237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11238 if (!SWIG_IsOK(ecode5
)) {
11239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11241 arg5
= static_cast< int >(val5
);
11243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11244 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11257 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
= 0;
11259 wxRegion
*arg1
= (wxRegion
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 char * kwnames
[] = {
11268 (char *) "self",(char *) "rect", NULL
11271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11273 if (!SWIG_IsOK(res1
)) {
11274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11276 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11296 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
= 0;
11298 wxRegion
*arg1
= (wxRegion
*) 0 ;
11299 wxRegion
*arg2
= 0 ;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "self",(char *) "region", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11316 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11318 if (!SWIG_IsOK(res2
)) {
11319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11324 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11340 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= 0;
11342 wxRegion
*arg1
= (wxRegion
*) 0 ;
11358 PyObject
* obj0
= 0 ;
11359 PyObject
* obj1
= 0 ;
11360 PyObject
* obj2
= 0 ;
11361 PyObject
* obj3
= 0 ;
11362 PyObject
* obj4
= 0 ;
11363 char * kwnames
[] = {
11364 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11372 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11374 if (!SWIG_IsOK(ecode2
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11377 arg2
= static_cast< int >(val2
);
11378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11379 if (!SWIG_IsOK(ecode3
)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11382 arg3
= static_cast< int >(val3
);
11383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11384 if (!SWIG_IsOK(ecode4
)) {
11385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11387 arg4
= static_cast< int >(val4
);
11388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11389 if (!SWIG_IsOK(ecode5
)) {
11390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11392 arg5
= static_cast< int >(val5
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11408 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
= 0;
11410 wxRegion
*arg1
= (wxRegion
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11418 char * kwnames
[] = {
11419 (char *) "self",(char *) "rect", NULL
11422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11424 if (!SWIG_IsOK(res1
)) {
11425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11427 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11430 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11447 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
= 0;
11449 wxRegion
*arg1
= (wxRegion
*) 0 ;
11450 wxRegion
*arg2
= 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "self",(char *) "region", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11467 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11468 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11469 if (!SWIG_IsOK(res2
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11475 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11491 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11492 PyObject
*resultobj
= 0;
11493 wxRegion
*arg1
= (wxRegion
*) 0 ;
11494 SwigValueWrapper
<wxBitmap
> result
;
11497 PyObject
*swig_obj
[1] ;
11499 if (!args
) SWIG_fail
;
11500 swig_obj
[0] = args
;
11501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11505 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= (arg1
)->ConvertToBitmap();
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11519 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
= 0;
11521 wxRegion
*arg1
= (wxRegion
*) 0 ;
11522 wxBitmap
*arg2
= 0 ;
11528 PyObject
* obj0
= 0 ;
11529 PyObject
* obj1
= 0 ;
11530 char * kwnames
[] = {
11531 (char *) "self",(char *) "bmp", NULL
11534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11536 if (!SWIG_IsOK(res1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11539 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11541 if (!SWIG_IsOK(res2
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11547 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11563 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
= 0;
11565 wxRegion
*arg1
= (wxRegion
*) 0 ;
11566 wxBitmap
*arg2
= 0 ;
11567 wxColour
*arg3
= 0 ;
11568 int arg4
= (int) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 PyObject
* obj2
= 0 ;
11580 PyObject
* obj3
= 0 ;
11581 char * kwnames
[] = {
11582 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11587 if (!SWIG_IsOK(res1
)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11590 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11591 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11592 if (!SWIG_IsOK(res2
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11598 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11601 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11605 if (!SWIG_IsOK(ecode4
)) {
11606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11608 arg4
= static_cast< int >(val4
);
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11625 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11628 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11629 return SWIG_Py_Void();
11632 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11633 return SWIG_Python_InitShadowInstance(args
);
11636 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
= 0;
11638 wxRegion
*arg1
= 0 ;
11639 wxRegionIterator
*result
= 0 ;
11642 PyObject
* obj0
= 0 ;
11643 char * kwnames
[] = {
11644 (char *) "region", NULL
11647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11648 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11655 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11657 if (!wxPyCheckForApp()) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11670 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11671 PyObject
*resultobj
= 0;
11672 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11675 PyObject
*swig_obj
[1] ;
11677 if (!args
) SWIG_fail
;
11678 swig_obj
[0] = args
;
11679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11680 if (!SWIG_IsOK(res1
)) {
11681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11683 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_Py_Void();
11698 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 PyObject
*resultobj
= 0;
11700 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11704 PyObject
*swig_obj
[1] ;
11706 if (!args
) SWIG_fail
;
11707 swig_obj
[0] = args
;
11708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11709 if (!SWIG_IsOK(res1
)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11712 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (int)(arg1
)->GetX();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_From_int(static_cast< int >(result
));
11726 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11727 PyObject
*resultobj
= 0;
11728 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11732 PyObject
*swig_obj
[1] ;
11734 if (!args
) SWIG_fail
;
11735 swig_obj
[0] = args
;
11736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11740 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (int)(arg1
)->GetY();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_From_int(static_cast< int >(result
));
11754 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 PyObject
*resultobj
= 0;
11756 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11760 PyObject
*swig_obj
[1] ;
11762 if (!args
) SWIG_fail
;
11763 swig_obj
[0] = args
;
11764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11765 if (!SWIG_IsOK(res1
)) {
11766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11768 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 result
= (int)(arg1
)->GetW();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= SWIG_From_int(static_cast< int >(result
));
11782 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11783 PyObject
*resultobj
= 0;
11784 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11788 PyObject
*swig_obj
[1] ;
11790 if (!args
) SWIG_fail
;
11791 swig_obj
[0] = args
;
11792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11793 if (!SWIG_IsOK(res1
)) {
11794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11796 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (int)(arg1
)->GetWidth();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_From_int(static_cast< int >(result
));
11810 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11811 PyObject
*resultobj
= 0;
11812 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11816 PyObject
*swig_obj
[1] ;
11818 if (!args
) SWIG_fail
;
11819 swig_obj
[0] = args
;
11820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11821 if (!SWIG_IsOK(res1
)) {
11822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11824 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (int)(arg1
)->GetH();
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_From_int(static_cast< int >(result
));
11838 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11839 PyObject
*resultobj
= 0;
11840 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11844 PyObject
*swig_obj
[1] ;
11846 if (!args
) SWIG_fail
;
11847 swig_obj
[0] = args
;
11848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11849 if (!SWIG_IsOK(res1
)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11852 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (int)(arg1
)->GetHeight();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_From_int(static_cast< int >(result
));
11866 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 PyObject
*resultobj
= 0;
11868 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11872 PyObject
*swig_obj
[1] ;
11874 if (!args
) SWIG_fail
;
11875 swig_obj
[0] = args
;
11876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11877 if (!SWIG_IsOK(res1
)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11880 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (arg1
)->GetRect();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11894 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11895 PyObject
*resultobj
= 0;
11896 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11900 PyObject
*swig_obj
[1] ;
11902 if (!args
) SWIG_fail
;
11903 swig_obj
[0] = args
;
11904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11908 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (bool)(arg1
)->HaveRects();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11924 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11925 PyObject
*resultobj
= 0;
11926 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11929 PyObject
*swig_obj
[1] ;
11931 if (!args
) SWIG_fail
;
11932 swig_obj
[0] = args
;
11933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11934 if (!SWIG_IsOK(res1
)) {
11935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11937 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_Py_Void();
11951 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11952 PyObject
*resultobj
= 0;
11953 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11956 PyObject
*swig_obj
[1] ;
11958 if (!args
) SWIG_fail
;
11959 swig_obj
[0] = args
;
11960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11961 if (!SWIG_IsOK(res1
)) {
11962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11964 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 wxRegionIterator_Next(arg1
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_Py_Void();
11978 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11979 PyObject
*resultobj
= 0;
11980 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11984 PyObject
*swig_obj
[1] ;
11986 if (!args
) SWIG_fail
;
11987 swig_obj
[0] = args
;
11988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11989 if (!SWIG_IsOK(res1
)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11992 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12008 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12011 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12012 return SWIG_Py_Void();
12015 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12016 return SWIG_Python_InitShadowInstance(args
);
12019 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxNativeFontInfo
*result
= 0 ;
12023 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12037 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12038 PyObject
*resultobj
= 0;
12039 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12042 PyObject
*swig_obj
[1] ;
12044 if (!args
) SWIG_fail
;
12045 swig_obj
[0] = args
;
12046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12047 if (!SWIG_IsOK(res1
)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12050 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_Py_Void();
12065 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12066 PyObject
*resultobj
= 0;
12067 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12070 PyObject
*swig_obj
[1] ;
12072 if (!args
) SWIG_fail
;
12073 swig_obj
[0] = args
;
12074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12078 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_Py_Void();
12092 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
= 0;
12094 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char * kwnames
[] = {
12103 (char *) "self",(char *) "font", NULL
12106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12108 if (!SWIG_IsOK(res1
)) {
12109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12111 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12113 if (!SWIG_IsOK(res2
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12119 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_Py_Void();
12133 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12134 PyObject
*resultobj
= 0;
12135 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12139 PyObject
*swig_obj
[1] ;
12141 if (!args
) SWIG_fail
;
12142 swig_obj
[0] = args
;
12143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12144 if (!SWIG_IsOK(res1
)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12147 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= SWIG_From_int(static_cast< int >(result
));
12161 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12162 PyObject
*resultobj
= 0;
12163 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12164 wxFontStyle result
;
12167 PyObject
*swig_obj
[1] ;
12169 if (!args
) SWIG_fail
;
12170 swig_obj
[0] = args
;
12171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12175 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_From_int(static_cast< int >(result
));
12189 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12190 PyObject
*resultobj
= 0;
12191 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12192 wxFontWeight result
;
12195 PyObject
*swig_obj
[1] ;
12197 if (!args
) SWIG_fail
;
12198 swig_obj
[0] = args
;
12199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12200 if (!SWIG_IsOK(res1
)) {
12201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12203 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_From_int(static_cast< int >(result
));
12217 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12218 PyObject
*resultobj
= 0;
12219 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12223 PyObject
*swig_obj
[1] ;
12225 if (!args
) SWIG_fail
;
12226 swig_obj
[0] = args
;
12227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12231 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12247 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12253 PyObject
*swig_obj
[1] ;
12255 if (!args
) SWIG_fail
;
12256 swig_obj
[0] = args
;
12257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12261 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12281 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12282 PyObject
*resultobj
= 0;
12283 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12284 wxFontFamily result
;
12287 PyObject
*swig_obj
[1] ;
12289 if (!args
) SWIG_fail
;
12290 swig_obj
[0] = args
;
12291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12292 if (!SWIG_IsOK(res1
)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12295 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_From_int(static_cast< int >(result
));
12309 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12310 PyObject
*resultobj
= 0;
12311 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12312 wxFontEncoding result
;
12315 PyObject
*swig_obj
[1] ;
12317 if (!args
) SWIG_fail
;
12318 swig_obj
[0] = args
;
12319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12320 if (!SWIG_IsOK(res1
)) {
12321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12323 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12326 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_From_int(static_cast< int >(result
));
12337 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= 0;
12339 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "self",(char *) "pointsize", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12353 if (!SWIG_IsOK(res1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12356 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12358 if (!SWIG_IsOK(ecode2
)) {
12359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12361 arg2
= static_cast< int >(val2
);
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 (arg1
)->SetPointSize(arg2
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_Py_Void();
12375 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
= 0;
12377 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 PyObject
* obj1
= 0 ;
12385 char * kwnames
[] = {
12386 (char *) "self",(char *) "style", NULL
12389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12391 if (!SWIG_IsOK(res1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12394 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12396 if (!SWIG_IsOK(ecode2
)) {
12397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12399 arg2
= static_cast< wxFontStyle
>(val2
);
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 (arg1
)->SetStyle(arg2
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_Py_Void();
12413 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
= 0;
12415 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12416 wxFontWeight arg2
;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char * kwnames
[] = {
12424 (char *) "self",(char *) "weight", NULL
12427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12432 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12434 if (!SWIG_IsOK(ecode2
)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12437 arg2
= static_cast< wxFontWeight
>(val2
);
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 (arg1
)->SetWeight(arg2
);
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_Py_Void();
12451 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
= 0;
12453 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "self",(char *) "underlined", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12470 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12471 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12472 if (!SWIG_IsOK(ecode2
)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12475 arg2
= static_cast< bool >(val2
);
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->SetUnderlined(arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_Py_Void();
12489 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
= 0;
12491 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char * kwnames
[] = {
12499 (char *) "self",(char *) "facename", NULL
12502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12507 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12509 wxString
* sptr
= wxString_in_helper(obj1
);
12510 if (sptr
== NULL
) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (bool)(arg1
)->SetFaceName(arg2
);
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12529 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
= 0;
12531 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12532 wxFontFamily arg2
;
12537 PyObject
* obj0
= 0 ;
12538 PyObject
* obj1
= 0 ;
12539 char * kwnames
[] = {
12540 (char *) "self",(char *) "family", NULL
12543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12548 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12550 if (!SWIG_IsOK(ecode2
)) {
12551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12553 arg2
= static_cast< wxFontFamily
>(val2
);
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 (arg1
)->SetFamily(arg2
);
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= SWIG_Py_Void();
12567 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
= 0;
12569 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12570 wxFontEncoding arg2
;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 char * kwnames
[] = {
12578 (char *) "self",(char *) "encoding", NULL
12581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12583 if (!SWIG_IsOK(res1
)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12586 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12588 if (!SWIG_IsOK(ecode2
)) {
12589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12591 arg2
= static_cast< wxFontEncoding
>(val2
);
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 (arg1
)->SetEncoding(arg2
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= SWIG_Py_Void();
12605 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
= 0;
12607 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12608 wxString
*arg2
= 0 ;
12612 bool temp2
= false ;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 char * kwnames
[] = {
12616 (char *) "self",(char *) "s", NULL
12619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12621 if (!SWIG_IsOK(res1
)) {
12622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12624 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12626 arg2
= wxString_in_helper(obj1
);
12627 if (arg2
== NULL
) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12653 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12654 PyObject
*resultobj
= 0;
12655 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12659 PyObject
*swig_obj
[1] ;
12661 if (!args
) SWIG_fail
;
12662 swig_obj
[0] = args
;
12663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12664 if (!SWIG_IsOK(res1
)) {
12665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12667 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12687 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12688 PyObject
*resultobj
= 0;
12689 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12693 PyObject
*swig_obj
[1] ;
12695 if (!args
) SWIG_fail
;
12696 swig_obj
[0] = args
;
12697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12701 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= wxNativeFontInfo___str__(arg1
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12721 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
= 0;
12723 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12724 wxString
*arg2
= 0 ;
12728 bool temp2
= false ;
12729 PyObject
* obj0
= 0 ;
12730 PyObject
* obj1
= 0 ;
12731 char * kwnames
[] = {
12732 (char *) "self",(char *) "s", NULL
12735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12737 if (!SWIG_IsOK(res1
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12740 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12742 arg2
= wxString_in_helper(obj1
);
12743 if (arg2
== NULL
) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12769 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12770 PyObject
*resultobj
= 0;
12771 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12775 PyObject
*swig_obj
[1] ;
12777 if (!args
) SWIG_fail
;
12778 swig_obj
[0] = args
;
12779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12783 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12803 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12806 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12807 return SWIG_Py_Void();
12810 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12811 return SWIG_Python_InitShadowInstance(args
);
12814 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12815 PyObject
*resultobj
= 0;
12816 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12817 wxString
*arg2
= (wxString
*) 0 ;
12820 bool temp2
= false ;
12821 PyObject
*swig_obj
[2] ;
12823 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12825 if (!SWIG_IsOK(res1
)) {
12826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12828 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12830 arg2
= wxString_in_helper(swig_obj
[1]);
12831 if (arg2
== NULL
) SWIG_fail
;
12834 if (arg1
) (arg1
)->facename
= *arg2
;
12836 resultobj
= SWIG_Py_Void();
12851 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 PyObject
*resultobj
= 0;
12853 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12854 wxString
*result
= 0 ;
12857 PyObject
*swig_obj
[1] ;
12859 if (!args
) SWIG_fail
;
12860 swig_obj
[0] = args
;
12861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12862 if (!SWIG_IsOK(res1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12865 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12866 result
= (wxString
*)& ((arg1
)->facename
);
12869 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12871 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12880 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12881 PyObject
*resultobj
= 0;
12882 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12883 wxFontEncoding arg2
;
12888 PyObject
*swig_obj
[2] ;
12890 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12895 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12896 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12897 if (!SWIG_IsOK(ecode2
)) {
12898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12900 arg2
= static_cast< wxFontEncoding
>(val2
);
12901 if (arg1
) (arg1
)->encoding
= arg2
;
12903 resultobj
= SWIG_Py_Void();
12910 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12911 PyObject
*resultobj
= 0;
12912 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12913 wxFontEncoding result
;
12916 PyObject
*swig_obj
[1] ;
12918 if (!args
) SWIG_fail
;
12919 swig_obj
[0] = args
;
12920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12924 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12925 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12926 resultobj
= SWIG_From_int(static_cast< int >(result
));
12933 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12934 PyObject
*resultobj
= 0;
12935 wxNativeEncodingInfo
*result
= 0 ;
12937 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12951 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12952 PyObject
*resultobj
= 0;
12953 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12956 PyObject
*swig_obj
[1] ;
12958 if (!args
) SWIG_fail
;
12959 swig_obj
[0] = args
;
12960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12961 if (!SWIG_IsOK(res1
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12964 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= SWIG_Py_Void();
12979 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
= 0;
12981 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12982 wxString
*arg2
= 0 ;
12986 bool temp2
= false ;
12987 PyObject
* obj0
= 0 ;
12988 PyObject
* obj1
= 0 ;
12989 char * kwnames
[] = {
12990 (char *) "self",(char *) "s", NULL
12993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12995 if (!SWIG_IsOK(res1
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12998 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13000 arg2
= wxString_in_helper(obj1
);
13001 if (arg2
== NULL
) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13027 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13028 PyObject
*resultobj
= 0;
13029 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13033 PyObject
*swig_obj
[1] ;
13035 if (!args
) SWIG_fail
;
13036 swig_obj
[0] = args
;
13037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13038 if (!SWIG_IsOK(res1
)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13041 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13061 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13064 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13065 return SWIG_Py_Void();
13068 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13069 return SWIG_Python_InitShadowInstance(args
);
13072 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= 0;
13074 wxFontEncoding arg1
;
13075 wxNativeEncodingInfo
*result
= 0 ;
13078 PyObject
* obj0
= 0 ;
13079 char * kwnames
[] = {
13080 (char *) "encoding", NULL
13083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13085 if (!SWIG_IsOK(ecode1
)) {
13086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13088 arg1
= static_cast< wxFontEncoding
>(val1
);
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13102 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
= 0;
13104 wxNativeEncodingInfo
*arg1
= 0 ;
13108 PyObject
* obj0
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "info", NULL
13113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13114 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13115 if (!SWIG_IsOK(res1
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13121 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13137 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13138 PyObject
*resultobj
= 0;
13139 wxFontMapper
*result
= 0 ;
13141 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (wxFontMapper
*)new wxFontMapper();
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13155 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13156 PyObject
*resultobj
= 0;
13157 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13160 PyObject
*swig_obj
[1] ;
13162 if (!args
) SWIG_fail
;
13163 swig_obj
[0] = args
;
13164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13165 if (!SWIG_IsOK(res1
)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13168 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_Py_Void();
13183 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13184 PyObject
*resultobj
= 0;
13185 wxFontMapper
*result
= 0 ;
13187 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 result
= (wxFontMapper
*)wxFontMapper::Get();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13201 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
= 0;
13203 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13204 wxFontMapper
*result
= 0 ;
13207 PyObject
* obj0
= 0 ;
13208 char * kwnames
[] = {
13209 (char *) "mapper", NULL
13212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13217 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13231 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
= 0;
13233 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13234 wxString
*arg2
= 0 ;
13235 bool arg3
= (bool) true ;
13236 wxFontEncoding result
;
13239 bool temp2
= false ;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 PyObject
* obj2
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13254 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13256 arg2
= wxString_in_helper(obj1
);
13257 if (arg2
== NULL
) SWIG_fail
;
13261 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13262 if (!SWIG_IsOK(ecode3
)) {
13263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13265 arg3
= static_cast< bool >(val3
);
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_From_int(static_cast< int >(result
));
13288 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13289 PyObject
*resultobj
= 0;
13292 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13306 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13309 wxFontEncoding result
;
13312 PyObject
* obj0
= 0 ;
13313 char * kwnames
[] = {
13317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13318 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13319 if (!SWIG_IsOK(ecode1
)) {
13320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13322 arg1
= static_cast< size_t >(val1
);
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= SWIG_From_int(static_cast< int >(result
));
13336 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
= 0;
13338 wxFontEncoding arg1
;
13342 PyObject
* obj0
= 0 ;
13343 char * kwnames
[] = {
13344 (char *) "encoding", NULL
13347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13349 if (!SWIG_IsOK(ecode1
)) {
13350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13352 arg1
= static_cast< wxFontEncoding
>(val1
);
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= wxFontMapper::GetEncodingName(arg1
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13372 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
= 0;
13374 wxFontEncoding arg1
;
13378 PyObject
* obj0
= 0 ;
13379 char * kwnames
[] = {
13380 (char *) "encoding", NULL
13383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13385 if (!SWIG_IsOK(ecode1
)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13388 arg1
= static_cast< wxFontEncoding
>(val1
);
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= wxFontMapper::GetEncodingDescription(arg1
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13408 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
= 0;
13410 wxString
*arg1
= 0 ;
13411 wxFontEncoding result
;
13412 bool temp1
= false ;
13413 PyObject
* obj0
= 0 ;
13414 char * kwnames
[] = {
13415 (char *) "name", NULL
13418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13420 arg1
= wxString_in_helper(obj0
);
13421 if (arg1
== NULL
) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_From_int(static_cast< int >(result
));
13445 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
= 0;
13447 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13448 wxString
*arg2
= 0 ;
13451 bool temp2
= false ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 char * kwnames
[] = {
13455 (char *) "self",(char *) "prefix", NULL
13458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13460 if (!SWIG_IsOK(res1
)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13463 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13465 arg2
= wxString_in_helper(obj1
);
13466 if (arg2
== NULL
) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= SWIG_Py_Void();
13490 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13491 PyObject
*resultobj
= 0;
13494 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= wxFontMapper::GetDefaultConfigPath();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13514 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
= 0;
13516 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13517 wxFontEncoding arg2
;
13518 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13519 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13520 bool arg4
= (bool) true ;
13521 PyObject
*result
= 0 ;
13526 bool temp3
= false ;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 PyObject
* obj2
= 0 ;
13532 PyObject
* obj3
= 0 ;
13533 char * kwnames
[] = {
13534 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13539 if (!SWIG_IsOK(res1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13542 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13544 if (!SWIG_IsOK(ecode2
)) {
13545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13547 arg2
= static_cast< wxFontEncoding
>(val2
);
13550 arg3
= wxString_in_helper(obj2
);
13551 if (arg3
== NULL
) SWIG_fail
;
13556 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13557 if (!SWIG_IsOK(ecode4
)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13560 arg4
= static_cast< bool >(val4
);
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= result
;
13583 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
= 0;
13585 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13586 wxFontEncoding arg2
;
13587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13594 bool temp3
= false ;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 PyObject
* obj2
= 0 ;
13598 char * kwnames
[] = {
13599 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13604 if (!SWIG_IsOK(res1
)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13607 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13609 if (!SWIG_IsOK(ecode2
)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13612 arg2
= static_cast< wxFontEncoding
>(val2
);
13615 arg3
= wxString_in_helper(obj2
);
13616 if (arg3
== NULL
) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13643 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
= 0;
13645 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13646 wxWindow
*arg2
= (wxWindow
*) 0 ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 char * kwnames
[] = {
13654 (char *) "self",(char *) "parent", NULL
13657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13659 if (!SWIG_IsOK(res1
)) {
13660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13662 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13664 if (!SWIG_IsOK(res2
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13667 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 (arg1
)->SetDialogParent(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_Py_Void();
13681 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
= 0;
13683 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13684 wxString
*arg2
= 0 ;
13687 bool temp2
= false ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "self",(char *) "title", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13699 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13701 arg2
= wxString_in_helper(obj1
);
13702 if (arg2
== NULL
) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= SWIG_Py_Void();
13726 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13728 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13729 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13730 return SWIG_Py_Void();
13733 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13734 return SWIG_Python_InitShadowInstance(args
);
13737 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
= 0;
13743 bool arg5
= (bool) false ;
13744 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13745 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13746 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13747 wxFont
*result
= 0 ;
13758 bool temp6
= false ;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 PyObject
* obj2
= 0 ;
13764 PyObject
* obj3
= 0 ;
13765 PyObject
* obj4
= 0 ;
13766 PyObject
* obj5
= 0 ;
13767 PyObject
* obj6
= 0 ;
13768 char * kwnames
[] = {
13769 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13774 if (!SWIG_IsOK(ecode1
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13777 arg1
= static_cast< int >(val1
);
13778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13779 if (!SWIG_IsOK(ecode2
)) {
13780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13782 arg2
= static_cast< int >(val2
);
13783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13784 if (!SWIG_IsOK(ecode3
)) {
13785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13787 arg3
= static_cast< int >(val3
);
13788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13789 if (!SWIG_IsOK(ecode4
)) {
13790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13792 arg4
= static_cast< int >(val4
);
13794 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13795 if (!SWIG_IsOK(ecode5
)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13798 arg5
= static_cast< bool >(val5
);
13802 arg6
= wxString_in_helper(obj5
);
13803 if (arg6
== NULL
) SWIG_fail
;
13808 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13809 if (!SWIG_IsOK(ecode7
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13812 arg7
= static_cast< wxFontEncoding
>(val7
);
13815 if (!wxPyCheckForApp()) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13836 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxFont
*arg1
= (wxFont
*) 0 ;
13841 PyObject
*swig_obj
[1] ;
13843 if (!args
) SWIG_fail
;
13844 swig_obj
[0] = args
;
13845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13846 if (!SWIG_IsOK(res1
)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13849 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_Py_Void();
13864 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
= 0;
13866 wxNativeFontInfo
*arg1
= 0 ;
13867 wxFont
*result
= 0 ;
13870 PyObject
* obj0
= 0 ;
13871 char * kwnames
[] = {
13872 (char *) "info", NULL
13875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13876 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13877 if (!SWIG_IsOK(res1
)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13883 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13885 if (!wxPyCheckForApp()) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13898 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13899 PyObject
*resultobj
= 0;
13900 wxString
*arg1
= 0 ;
13901 wxFont
*result
= 0 ;
13902 bool temp1
= false ;
13903 PyObject
* obj0
= 0 ;
13904 char * kwnames
[] = {
13905 (char *) "info", NULL
13908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13910 arg1
= wxString_in_helper(obj0
);
13911 if (arg1
== NULL
) SWIG_fail
;
13915 if (!wxPyCheckForApp()) SWIG_fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13918 wxPyEndAllowThreads(__tstate
);
13919 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13936 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
= 0;
13939 wxFontFamily arg2
;
13940 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13941 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13942 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13943 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13944 wxFont
*result
= 0 ;
13951 bool temp4
= false ;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 PyObject
* obj2
= 0 ;
13957 PyObject
* obj3
= 0 ;
13958 PyObject
* obj4
= 0 ;
13959 char * kwnames
[] = {
13960 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13964 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13965 if (!SWIG_IsOK(ecode1
)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13968 arg1
= static_cast< int >(val1
);
13969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13970 if (!SWIG_IsOK(ecode2
)) {
13971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13973 arg2
= static_cast< wxFontFamily
>(val2
);
13975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13976 if (!SWIG_IsOK(ecode3
)) {
13977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13979 arg3
= static_cast< int >(val3
);
13983 arg4
= wxString_in_helper(obj3
);
13984 if (arg4
== NULL
) SWIG_fail
;
13989 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13990 if (!SWIG_IsOK(ecode5
)) {
13991 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13993 arg5
= static_cast< wxFontEncoding
>(val5
);
13996 if (!wxPyCheckForApp()) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14017 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
= 0;
14023 bool arg5
= (bool) false ;
14024 wxString
const &arg6_defvalue
= wxEmptyString
;
14025 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14026 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14027 wxFont
*result
= 0 ;
14037 bool temp6
= false ;
14040 PyObject
* obj0
= 0 ;
14041 PyObject
* obj1
= 0 ;
14042 PyObject
* obj2
= 0 ;
14043 PyObject
* obj3
= 0 ;
14044 PyObject
* obj4
= 0 ;
14045 PyObject
* obj5
= 0 ;
14046 PyObject
* obj6
= 0 ;
14047 char * kwnames
[] = {
14048 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14054 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14057 if (!SWIG_IsOK(ecode2
)) {
14058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14060 arg2
= static_cast< int >(val2
);
14061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14062 if (!SWIG_IsOK(ecode3
)) {
14063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14065 arg3
= static_cast< int >(val3
);
14066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14067 if (!SWIG_IsOK(ecode4
)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14070 arg4
= static_cast< int >(val4
);
14072 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14073 if (!SWIG_IsOK(ecode5
)) {
14074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14076 arg5
= static_cast< bool >(val5
);
14080 arg6
= wxString_in_helper(obj5
);
14081 if (arg6
== NULL
) SWIG_fail
;
14086 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14087 if (!SWIG_IsOK(ecode7
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14090 arg7
= static_cast< wxFontEncoding
>(val7
);
14093 if (!wxPyCheckForApp()) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14114 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
= 0;
14117 wxFontFamily arg2
;
14118 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14119 wxString
const &arg4_defvalue
= wxEmptyString
;
14120 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14121 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14122 wxFont
*result
= 0 ;
14128 bool temp4
= false ;
14131 PyObject
* obj0
= 0 ;
14132 PyObject
* obj1
= 0 ;
14133 PyObject
* obj2
= 0 ;
14134 PyObject
* obj3
= 0 ;
14135 PyObject
* obj4
= 0 ;
14136 char * kwnames
[] = {
14137 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14143 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14146 if (!SWIG_IsOK(ecode2
)) {
14147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14149 arg2
= static_cast< wxFontFamily
>(val2
);
14151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14152 if (!SWIG_IsOK(ecode3
)) {
14153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14155 arg3
= static_cast< int >(val3
);
14159 arg4
= wxString_in_helper(obj3
);
14160 if (arg4
== NULL
) SWIG_fail
;
14165 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14166 if (!SWIG_IsOK(ecode5
)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14169 arg5
= static_cast< wxFontEncoding
>(val5
);
14172 if (!wxPyCheckForApp()) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14193 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14194 PyObject
*resultobj
= 0;
14195 wxFont
*arg1
= (wxFont
*) 0 ;
14199 PyObject
*swig_obj
[1] ;
14201 if (!args
) SWIG_fail
;
14202 swig_obj
[0] = args
;
14203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14204 if (!SWIG_IsOK(res1
)) {
14205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14207 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14223 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
= 0;
14225 wxFont
*arg1
= (wxFont
*) 0 ;
14226 wxFont
*arg2
= (wxFont
*) 0 ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 char * kwnames
[] = {
14235 (char *) "self",(char *) "other", NULL
14238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14240 if (!SWIG_IsOK(res1
)) {
14241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14243 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14245 if (!SWIG_IsOK(res2
)) {
14246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14248 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14264 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
= 0;
14266 wxFont
*arg1
= (wxFont
*) 0 ;
14267 wxFont
*arg2
= (wxFont
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 char * kwnames
[] = {
14276 (char *) "self",(char *) "other", NULL
14279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14281 if (!SWIG_IsOK(res1
)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14284 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14286 if (!SWIG_IsOK(res2
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14289 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14306 PyObject
*resultobj
= 0;
14307 wxFont
*arg1
= (wxFont
*) 0 ;
14311 PyObject
*swig_obj
[1] ;
14313 if (!args
) SWIG_fail
;
14314 swig_obj
[0] = args
;
14315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14316 if (!SWIG_IsOK(res1
)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14319 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_From_int(static_cast< int >(result
));
14333 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14334 PyObject
*resultobj
= 0;
14335 wxFont
*arg1
= (wxFont
*) 0 ;
14339 PyObject
*swig_obj
[1] ;
14341 if (!args
) SWIG_fail
;
14342 swig_obj
[0] = args
;
14343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14344 if (!SWIG_IsOK(res1
)) {
14345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14347 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14361 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14362 PyObject
*resultobj
= 0;
14363 wxFont
*arg1
= (wxFont
*) 0 ;
14367 PyObject
*swig_obj
[1] ;
14369 if (!args
) SWIG_fail
;
14370 swig_obj
[0] = args
;
14371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14375 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14391 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14392 PyObject
*resultobj
= 0;
14393 wxFont
*arg1
= (wxFont
*) 0 ;
14397 PyObject
*swig_obj
[1] ;
14399 if (!args
) SWIG_fail
;
14400 swig_obj
[0] = args
;
14401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14405 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_From_int(static_cast< int >(result
));
14419 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14420 PyObject
*resultobj
= 0;
14421 wxFont
*arg1
= (wxFont
*) 0 ;
14425 PyObject
*swig_obj
[1] ;
14427 if (!args
) SWIG_fail
;
14428 swig_obj
[0] = args
;
14429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14433 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_From_int(static_cast< int >(result
));
14447 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14448 PyObject
*resultobj
= 0;
14449 wxFont
*arg1
= (wxFont
*) 0 ;
14453 PyObject
*swig_obj
[1] ;
14455 if (!args
) SWIG_fail
;
14456 swig_obj
[0] = args
;
14457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14458 if (!SWIG_IsOK(res1
)) {
14459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14461 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= SWIG_From_int(static_cast< int >(result
));
14475 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14476 PyObject
*resultobj
= 0;
14477 wxFont
*arg1
= (wxFont
*) 0 ;
14481 PyObject
*swig_obj
[1] ;
14483 if (!args
) SWIG_fail
;
14484 swig_obj
[0] = args
;
14485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14486 if (!SWIG_IsOK(res1
)) {
14487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14489 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14505 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14506 PyObject
*resultobj
= 0;
14507 wxFont
*arg1
= (wxFont
*) 0 ;
14511 PyObject
*swig_obj
[1] ;
14513 if (!args
) SWIG_fail
;
14514 swig_obj
[0] = args
;
14515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14516 if (!SWIG_IsOK(res1
)) {
14517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14519 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= ((wxFont
const *)arg1
)->GetFaceName();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14539 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14540 PyObject
*resultobj
= 0;
14541 wxFont
*arg1
= (wxFont
*) 0 ;
14542 wxFontEncoding result
;
14545 PyObject
*swig_obj
[1] ;
14547 if (!args
) SWIG_fail
;
14548 swig_obj
[0] = args
;
14549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14550 if (!SWIG_IsOK(res1
)) {
14551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14553 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= SWIG_From_int(static_cast< int >(result
));
14567 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14568 PyObject
*resultobj
= 0;
14569 wxFont
*arg1
= (wxFont
*) 0 ;
14570 wxNativeFontInfo
*result
= 0 ;
14573 PyObject
*swig_obj
[1] ;
14575 if (!args
) SWIG_fail
;
14576 swig_obj
[0] = args
;
14577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14581 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14595 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14596 PyObject
*resultobj
= 0;
14597 wxFont
*arg1
= (wxFont
*) 0 ;
14601 PyObject
*swig_obj
[1] ;
14603 if (!args
) SWIG_fail
;
14604 swig_obj
[0] = args
;
14605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14606 if (!SWIG_IsOK(res1
)) {
14607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14609 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14625 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14626 PyObject
*resultobj
= 0;
14627 wxFont
*arg1
= (wxFont
*) 0 ;
14631 PyObject
*swig_obj
[1] ;
14633 if (!args
) SWIG_fail
;
14634 swig_obj
[0] = args
;
14635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14636 if (!SWIG_IsOK(res1
)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14639 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14659 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14660 PyObject
*resultobj
= 0;
14661 wxFont
*arg1
= (wxFont
*) 0 ;
14665 PyObject
*swig_obj
[1] ;
14667 if (!args
) SWIG_fail
;
14668 swig_obj
[0] = args
;
14669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14670 if (!SWIG_IsOK(res1
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14673 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14693 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
= 0;
14695 wxFont
*arg1
= (wxFont
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 char * kwnames
[] = {
14704 (char *) "self",(char *) "pointSize", NULL
14707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14709 if (!SWIG_IsOK(res1
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14712 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14714 if (!SWIG_IsOK(ecode2
)) {
14715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14717 arg2
= static_cast< int >(val2
);
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->SetPointSize(arg2
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= SWIG_Py_Void();
14731 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
= 0;
14733 wxFont
*arg1
= (wxFont
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 char * kwnames
[] = {
14741 (char *) "self",(char *) "pixelSize", NULL
14744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14746 if (!SWIG_IsOK(res1
)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14749 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14752 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_Py_Void();
14767 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
= 0;
14769 wxFont
*arg1
= (wxFont
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char * kwnames
[] = {
14778 (char *) "self",(char *) "family", NULL
14781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14783 if (!SWIG_IsOK(res1
)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14786 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14788 if (!SWIG_IsOK(ecode2
)) {
14789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14791 arg2
= static_cast< int >(val2
);
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 (arg1
)->SetFamily(arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_Py_Void();
14805 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
= 0;
14807 wxFont
*arg1
= (wxFont
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char * kwnames
[] = {
14816 (char *) "self",(char *) "style", NULL
14819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14824 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14826 if (!SWIG_IsOK(ecode2
)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14829 arg2
= static_cast< int >(val2
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 (arg1
)->SetStyle(arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_Py_Void();
14843 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
= 0;
14845 wxFont
*arg1
= (wxFont
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 char * kwnames
[] = {
14854 (char *) "self",(char *) "weight", NULL
14857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14859 if (!SWIG_IsOK(res1
)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14862 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14864 if (!SWIG_IsOK(ecode2
)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14867 arg2
= static_cast< int >(val2
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 (arg1
)->SetWeight(arg2
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= SWIG_Py_Void();
14881 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
= 0;
14883 wxFont
*arg1
= (wxFont
*) 0 ;
14884 wxString
*arg2
= 0 ;
14888 bool temp2
= false ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char * kwnames
[] = {
14892 (char *) "self",(char *) "faceName", NULL
14895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14900 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14902 arg2
= wxString_in_helper(obj1
);
14903 if (arg2
== NULL
) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14929 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
= 0;
14931 wxFont
*arg1
= (wxFont
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 char * kwnames
[] = {
14940 (char *) "self",(char *) "underlined", NULL
14943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14945 if (!SWIG_IsOK(res1
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14948 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14949 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14950 if (!SWIG_IsOK(ecode2
)) {
14951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14953 arg2
= static_cast< bool >(val2
);
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 (arg1
)->SetUnderlined(arg2
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_Py_Void();
14967 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
= 0;
14969 wxFont
*arg1
= (wxFont
*) 0 ;
14970 wxFontEncoding arg2
;
14975 PyObject
* obj0
= 0 ;
14976 PyObject
* obj1
= 0 ;
14977 char * kwnames
[] = {
14978 (char *) "self",(char *) "encoding", NULL
14981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14983 if (!SWIG_IsOK(res1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14986 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14988 if (!SWIG_IsOK(ecode2
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14991 arg2
= static_cast< wxFontEncoding
>(val2
);
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 (arg1
)->SetEncoding(arg2
);
14995 wxPyEndAllowThreads(__tstate
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= SWIG_Py_Void();
15005 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
= 0;
15007 wxFont
*arg1
= (wxFont
*) 0 ;
15008 wxNativeFontInfo
*arg2
= 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char * kwnames
[] = {
15016 (char *) "self",(char *) "info", NULL
15019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15024 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15026 if (!SWIG_IsOK(res2
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15032 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= 0;
15048 wxFont
*arg1
= (wxFont
*) 0 ;
15049 wxString
*arg2
= 0 ;
15053 bool temp2
= false ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 char * kwnames
[] = {
15057 (char *) "self",(char *) "info", NULL
15060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15062 if (!SWIG_IsOK(res1
)) {
15063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15065 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15067 arg2
= wxString_in_helper(obj1
);
15068 if (arg2
== NULL
) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15094 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
= 0;
15096 wxFont
*arg1
= (wxFont
*) 0 ;
15097 wxString
*arg2
= 0 ;
15101 bool temp2
= false ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 char * kwnames
[] = {
15105 (char *) "self",(char *) "info", NULL
15108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15110 if (!SWIG_IsOK(res1
)) {
15111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15113 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15115 arg2
= wxString_in_helper(obj1
);
15116 if (arg2
== NULL
) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15142 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15143 PyObject
*resultobj
= 0;
15144 wxFont
*arg1
= (wxFont
*) 0 ;
15148 PyObject
*swig_obj
[1] ;
15150 if (!args
) SWIG_fail
;
15151 swig_obj
[0] = args
;
15152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15153 if (!SWIG_IsOK(res1
)) {
15154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15156 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15176 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15177 PyObject
*resultobj
= 0;
15178 wxFont
*arg1
= (wxFont
*) 0 ;
15182 PyObject
*swig_obj
[1] ;
15184 if (!args
) SWIG_fail
;
15185 swig_obj
[0] = args
;
15186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15190 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= ((wxFont
const *)arg1
)->GetStyleString();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15210 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15211 PyObject
*resultobj
= 0;
15212 wxFont
*arg1
= (wxFont
*) 0 ;
15216 PyObject
*swig_obj
[1] ;
15218 if (!args
) SWIG_fail
;
15219 swig_obj
[0] = args
;
15220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15221 if (!SWIG_IsOK(res1
)) {
15222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15224 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= ((wxFont
const *)arg1
)->GetWeightString();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15244 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
= 0;
15246 wxFont
*arg1
= (wxFont
*) 0 ;
15247 bool arg2
= (bool) true ;
15252 PyObject
* obj0
= 0 ;
15253 PyObject
* obj1
= 0 ;
15254 char * kwnames
[] = {
15255 (char *) "self",(char *) "no", NULL
15258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15263 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15265 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15266 if (!SWIG_IsOK(ecode2
)) {
15267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15269 arg2
= static_cast< bool >(val2
);
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 (arg1
)->SetNoAntiAliasing(arg2
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= SWIG_Py_Void();
15284 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15285 PyObject
*resultobj
= 0;
15286 wxFont
*arg1
= (wxFont
*) 0 ;
15290 PyObject
*swig_obj
[1] ;
15292 if (!args
) SWIG_fail
;
15293 swig_obj
[0] = args
;
15294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15295 if (!SWIG_IsOK(res1
)) {
15296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15298 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15314 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15315 PyObject
*resultobj
= 0;
15316 wxFontEncoding result
;
15318 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15320 if (!wxPyCheckForApp()) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= SWIG_From_int(static_cast< int >(result
));
15333 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= 0;
15335 wxFontEncoding arg1
;
15338 PyObject
* obj0
= 0 ;
15339 char * kwnames
[] = {
15340 (char *) "encoding", NULL
15343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15345 if (!SWIG_IsOK(ecode1
)) {
15346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15348 arg1
= static_cast< wxFontEncoding
>(val1
);
15350 if (!wxPyCheckForApp()) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 wxFont::SetDefaultEncoding(arg1
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_Py_Void();
15363 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15366 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15367 return SWIG_Py_Void();
15370 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15371 return SWIG_Python_InitShadowInstance(args
);
15374 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15375 PyObject
*resultobj
= 0;
15376 wxPyFontEnumerator
*result
= 0 ;
15378 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15380 if (!wxPyCheckForApp()) SWIG_fail
;
15381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15382 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15393 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15394 PyObject
*resultobj
= 0;
15395 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15398 PyObject
*swig_obj
[1] ;
15400 if (!args
) SWIG_fail
;
15401 swig_obj
[0] = args
;
15402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15403 if (!SWIG_IsOK(res1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15406 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15414 resultobj
= SWIG_Py_Void();
15421 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15422 PyObject
*resultobj
= 0;
15423 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15424 PyObject
*arg2
= (PyObject
*) 0 ;
15425 PyObject
*arg3
= (PyObject
*) 0 ;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj1
= 0 ;
15433 PyObject
* obj2
= 0 ;
15434 PyObject
* obj3
= 0 ;
15435 char * kwnames
[] = {
15436 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15441 if (!SWIG_IsOK(res1
)) {
15442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15444 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15447 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15448 if (!SWIG_IsOK(ecode4
)) {
15449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15451 arg4
= static_cast< bool >(val4
);
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_Py_Void();
15465 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
= 0;
15467 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15468 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15469 bool arg3
= (bool) false ;
15477 PyObject
* obj0
= 0 ;
15478 PyObject
* obj1
= 0 ;
15479 PyObject
* obj2
= 0 ;
15480 char * kwnames
[] = {
15481 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15486 if (!SWIG_IsOK(res1
)) {
15487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15489 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15492 if (!SWIG_IsOK(ecode2
)) {
15493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15495 arg2
= static_cast< wxFontEncoding
>(val2
);
15498 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15499 if (!SWIG_IsOK(ecode3
)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15502 arg3
= static_cast< bool >(val3
);
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15519 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
= 0;
15521 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15522 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15523 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15527 bool temp2
= false ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 char * kwnames
[] = {
15531 (char *) "self",(char *) "facename", NULL
15534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15536 if (!SWIG_IsOK(res1
)) {
15537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15539 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15542 arg2
= wxString_in_helper(obj1
);
15543 if (arg2
== NULL
) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15571 PyObject
*resultobj
= 0;
15572 PyObject
*result
= 0 ;
15574 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= result
;
15588 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15589 PyObject
*resultobj
= 0;
15590 PyObject
*result
= 0 ;
15592 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= result
;
15606 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= 0;
15608 wxString
*arg1
= 0 ;
15610 bool temp1
= false ;
15611 PyObject
* obj0
= 0 ;
15612 char * kwnames
[] = {
15613 (char *) "str", NULL
15616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15618 arg1
= wxString_in_helper(obj0
);
15619 if (arg1
== NULL
) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15645 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15648 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15649 return SWIG_Py_Void();
15652 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15653 return SWIG_Python_InitShadowInstance(args
);
15656 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15657 PyObject
*resultobj
= 0;
15658 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15664 PyObject
*swig_obj
[2] ;
15666 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15668 if (!SWIG_IsOK(res1
)) {
15669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15671 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15672 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15673 if (!SWIG_IsOK(ecode2
)) {
15674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15676 arg2
= static_cast< int >(val2
);
15677 if (arg1
) (arg1
)->Language
= arg2
;
15679 resultobj
= SWIG_Py_Void();
15686 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15687 PyObject
*resultobj
= 0;
15688 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15692 PyObject
*swig_obj
[1] ;
15694 if (!args
) SWIG_fail
;
15695 swig_obj
[0] = args
;
15696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15700 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15701 result
= (int) ((arg1
)->Language
);
15702 resultobj
= SWIG_From_int(static_cast< int >(result
));
15709 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 PyObject
*resultobj
= 0;
15711 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15712 wxString
*arg2
= (wxString
*) 0 ;
15715 bool temp2
= false ;
15716 PyObject
*swig_obj
[2] ;
15718 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15720 if (!SWIG_IsOK(res1
)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15723 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15725 arg2
= wxString_in_helper(swig_obj
[1]);
15726 if (arg2
== NULL
) SWIG_fail
;
15729 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15731 resultobj
= SWIG_Py_Void();
15746 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15747 PyObject
*resultobj
= 0;
15748 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15749 wxString
*result
= 0 ;
15752 PyObject
*swig_obj
[1] ;
15754 if (!args
) SWIG_fail
;
15755 swig_obj
[0] = args
;
15756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15757 if (!SWIG_IsOK(res1
)) {
15758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15760 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15761 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15764 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15766 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15775 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15776 PyObject
*resultobj
= 0;
15777 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15778 wxString
*arg2
= (wxString
*) 0 ;
15781 bool temp2
= false ;
15782 PyObject
*swig_obj
[2] ;
15784 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15786 if (!SWIG_IsOK(res1
)) {
15787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15789 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15791 arg2
= wxString_in_helper(swig_obj
[1]);
15792 if (arg2
== NULL
) SWIG_fail
;
15795 if (arg1
) (arg1
)->Description
= *arg2
;
15797 resultobj
= SWIG_Py_Void();
15812 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15813 PyObject
*resultobj
= 0;
15814 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15815 wxString
*result
= 0 ;
15818 PyObject
*swig_obj
[1] ;
15820 if (!args
) SWIG_fail
;
15821 swig_obj
[0] = args
;
15822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15823 if (!SWIG_IsOK(res1
)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15826 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15827 result
= (wxString
*)& ((arg1
)->Description
);
15830 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15832 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15841 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15844 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15845 return SWIG_Py_Void();
15848 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
= 0;
15850 int arg1
= (int) -1 ;
15851 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15852 wxLocale
*result
= 0 ;
15857 PyObject
* obj0
= 0 ;
15858 PyObject
* obj1
= 0 ;
15859 char * kwnames
[] = {
15860 (char *) "language",(char *) "flags", NULL
15863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15865 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15866 if (!SWIG_IsOK(ecode1
)) {
15867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15869 arg1
= static_cast< int >(val1
);
15872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15873 if (!SWIG_IsOK(ecode2
)) {
15874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15876 arg2
= static_cast< int >(val2
);
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15891 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15892 PyObject
*resultobj
= 0;
15893 wxLocale
*arg1
= (wxLocale
*) 0 ;
15896 PyObject
*swig_obj
[1] ;
15898 if (!args
) SWIG_fail
;
15899 swig_obj
[0] = args
;
15900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15901 if (!SWIG_IsOK(res1
)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15904 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_Py_Void();
15919 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
= 0;
15921 wxLocale
*arg1
= (wxLocale
*) 0 ;
15922 wxString
*arg2
= 0 ;
15923 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15924 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15925 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15926 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15927 bool arg5
= (bool) true ;
15928 bool arg6
= (bool) false ;
15932 bool temp2
= false ;
15933 bool temp3
= false ;
15934 bool temp4
= false ;
15939 PyObject
* obj0
= 0 ;
15940 PyObject
* obj1
= 0 ;
15941 PyObject
* obj2
= 0 ;
15942 PyObject
* obj3
= 0 ;
15943 PyObject
* obj4
= 0 ;
15944 PyObject
* obj5
= 0 ;
15945 char * kwnames
[] = {
15946 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15951 if (!SWIG_IsOK(res1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15954 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15956 arg2
= wxString_in_helper(obj1
);
15957 if (arg2
== NULL
) SWIG_fail
;
15962 arg3
= wxString_in_helper(obj2
);
15963 if (arg3
== NULL
) SWIG_fail
;
15969 arg4
= wxString_in_helper(obj3
);
15970 if (arg4
== NULL
) SWIG_fail
;
15975 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15976 if (!SWIG_IsOK(ecode5
)) {
15977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15979 arg5
= static_cast< bool >(val5
);
15982 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15983 if (!SWIG_IsOK(ecode6
)) {
15984 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15986 arg6
= static_cast< bool >(val6
);
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
= 0;
16029 wxLocale
*arg1
= (wxLocale
*) 0 ;
16030 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16031 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16039 PyObject
* obj0
= 0 ;
16040 PyObject
* obj1
= 0 ;
16041 PyObject
* obj2
= 0 ;
16042 char * kwnames
[] = {
16043 (char *) "self",(char *) "language",(char *) "flags", NULL
16046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16048 if (!SWIG_IsOK(res1
)) {
16049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16051 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16054 if (!SWIG_IsOK(ecode2
)) {
16055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16057 arg2
= static_cast< int >(val2
);
16060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16061 if (!SWIG_IsOK(ecode3
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16064 arg3
= static_cast< int >(val3
);
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16081 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16082 PyObject
*resultobj
= 0;
16085 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (int)wxLocale::GetSystemLanguage();
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= SWIG_From_int(static_cast< int >(result
));
16099 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16100 PyObject
*resultobj
= 0;
16101 wxFontEncoding result
;
16103 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= SWIG_From_int(static_cast< int >(result
));
16117 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16118 PyObject
*resultobj
= 0;
16121 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= wxLocale::GetSystemEncodingName();
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16141 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 PyObject
*resultobj
= 0;
16143 wxLocale
*arg1
= (wxLocale
*) 0 ;
16147 PyObject
*swig_obj
[1] ;
16149 if (!args
) SWIG_fail
;
16150 swig_obj
[0] = args
;
16151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16152 if (!SWIG_IsOK(res1
)) {
16153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16155 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16172 PyObject
*resultobj
= 0;
16173 wxLocale
*arg1
= (wxLocale
*) 0 ;
16177 PyObject
*swig_obj
[1] ;
16179 if (!args
) SWIG_fail
;
16180 swig_obj
[0] = args
;
16181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16182 if (!SWIG_IsOK(res1
)) {
16183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16185 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= ((wxLocale
const *)arg1
)->GetLocale();
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16205 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16206 PyObject
*resultobj
= 0;
16207 wxLocale
*arg1
= (wxLocale
*) 0 ;
16211 PyObject
*swig_obj
[1] ;
16213 if (!args
) SWIG_fail
;
16214 swig_obj
[0] = args
;
16215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16216 if (!SWIG_IsOK(res1
)) {
16217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16219 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= SWIG_From_int(static_cast< int >(result
));
16233 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16234 PyObject
*resultobj
= 0;
16235 wxLocale
*arg1
= (wxLocale
*) 0 ;
16239 PyObject
*swig_obj
[1] ;
16241 if (!args
) SWIG_fail
;
16242 swig_obj
[0] = args
;
16243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16244 if (!SWIG_IsOK(res1
)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16247 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= ((wxLocale
const *)arg1
)->GetSysName();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16267 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16268 PyObject
*resultobj
= 0;
16269 wxLocale
*arg1
= (wxLocale
*) 0 ;
16273 PyObject
*swig_obj
[1] ;
16275 if (!args
) SWIG_fail
;
16276 swig_obj
[0] = args
;
16277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16278 if (!SWIG_IsOK(res1
)) {
16279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16281 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16301 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
= 0;
16303 wxString
*arg1
= 0 ;
16304 bool temp1
= false ;
16305 PyObject
* obj0
= 0 ;
16306 char * kwnames
[] = {
16307 (char *) "prefix", NULL
16310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16312 arg1
= wxString_in_helper(obj0
);
16313 if (arg1
== NULL
) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_Py_Void();
16337 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
= 0;
16339 wxLocale
*arg1
= (wxLocale
*) 0 ;
16340 wxString
*arg2
= 0 ;
16344 bool temp2
= false ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 char * kwnames
[] = {
16348 (char *) "self",(char *) "szDomain", NULL
16351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16353 if (!SWIG_IsOK(res1
)) {
16354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16356 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16358 arg2
= wxString_in_helper(obj1
);
16359 if (arg2
== NULL
) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16385 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
= 0;
16391 PyObject
* obj0
= 0 ;
16392 char * kwnames
[] = {
16393 (char *) "lang", NULL
16396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16398 if (!SWIG_IsOK(ecode1
)) {
16399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16401 arg1
= static_cast< int >(val1
);
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 result
= (bool)wxLocale::IsAvailable(arg1
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16417 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16418 PyObject
*resultobj
= 0;
16419 wxLocale
*arg1
= (wxLocale
*) 0 ;
16420 wxString
*arg2
= 0 ;
16424 bool temp2
= false ;
16425 PyObject
* obj0
= 0 ;
16426 PyObject
* obj1
= 0 ;
16427 char * kwnames
[] = {
16428 (char *) "self",(char *) "szDomain", NULL
16431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16436 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16438 arg2
= wxString_in_helper(obj1
);
16439 if (arg2
== NULL
) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16465 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16466 PyObject
*resultobj
= 0;
16468 wxLanguageInfo
*result
= 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char * kwnames
[] = {
16473 (char *) "lang", NULL
16476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16477 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16478 if (!SWIG_IsOK(ecode1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16481 arg1
= static_cast< int >(val1
);
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16495 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
= 0;
16501 PyObject
* obj0
= 0 ;
16502 char * kwnames
[] = {
16503 (char *) "lang", NULL
16506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16507 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16508 if (!SWIG_IsOK(ecode1
)) {
16509 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16511 arg1
= static_cast< int >(val1
);
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= wxLocale::GetLanguageName(arg1
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16531 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
= 0;
16533 wxString
*arg1
= 0 ;
16534 wxLanguageInfo
*result
= 0 ;
16535 bool temp1
= false ;
16536 PyObject
* obj0
= 0 ;
16537 char * kwnames
[] = {
16538 (char *) "locale", NULL
16541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16543 arg1
= wxString_in_helper(obj0
);
16544 if (arg1
== NULL
) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16568 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
= 0;
16570 wxLanguageInfo
*arg1
= 0 ;
16573 PyObject
* obj0
= 0 ;
16574 char * kwnames
[] = {
16575 (char *) "info", NULL
16578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16579 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16580 if (!SWIG_IsOK(res1
)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16586 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_Py_Void();
16600 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
= 0;
16602 wxLocale
*arg1
= (wxLocale
*) 0 ;
16603 wxString
*arg2
= 0 ;
16604 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16605 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16609 bool temp2
= false ;
16610 bool temp3
= false ;
16611 PyObject
* obj0
= 0 ;
16612 PyObject
* obj1
= 0 ;
16613 PyObject
* obj2
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16623 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16625 arg2
= wxString_in_helper(obj1
);
16626 if (arg2
== NULL
) SWIG_fail
;
16631 arg3
= wxString_in_helper(obj2
);
16632 if (arg3
== NULL
) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16671 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16672 PyObject
*resultobj
= 0;
16673 wxLocale
*arg1
= (wxLocale
*) 0 ;
16674 wxString
*result
= 0 ;
16677 PyObject
*swig_obj
[1] ;
16679 if (!args
) SWIG_fail
;
16680 swig_obj
[0] = args
;
16681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16682 if (!SWIG_IsOK(res1
)) {
16683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16685 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16690 result
= (wxString
*) &_result_ref
;
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16708 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16711 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16712 return SWIG_Py_Void();
16715 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16716 return SWIG_Python_InitShadowInstance(args
);
16719 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
= 0;
16721 int arg1
= (int) -1 ;
16722 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16723 wxPyLocale
*result
= 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char * kwnames
[] = {
16731 (char *) "language",(char *) "flags", NULL
16734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16737 if (!SWIG_IsOK(ecode1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16740 arg1
= static_cast< int >(val1
);
16743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16744 if (!SWIG_IsOK(ecode2
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16747 arg2
= static_cast< int >(val2
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16762 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16763 PyObject
*resultobj
= 0;
16764 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16767 PyObject
*swig_obj
[1] ;
16769 if (!args
) SWIG_fail
;
16770 swig_obj
[0] = args
;
16771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16775 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_Py_Void();
16790 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
= 0;
16792 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16793 PyObject
*arg2
= (PyObject
*) 0 ;
16794 PyObject
*arg3
= (PyObject
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 PyObject
* obj2
= 0 ;
16800 char * kwnames
[] = {
16801 (char *) "self",(char *) "self",(char *) "_class", NULL
16804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16806 if (!SWIG_IsOK(res1
)) {
16807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16809 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= SWIG_Py_Void();
16825 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
= 0;
16827 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16828 wxChar
*arg2
= (wxChar
*) 0 ;
16829 wxChar
*arg3
= (wxChar
*) NULL
;
16830 wxChar
*result
= 0 ;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 PyObject
* obj2
= 0 ;
16840 char * kwnames
[] = {
16841 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16846 if (!SWIG_IsOK(res1
)) {
16847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16849 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16851 if (!SWIG_IsOK(res2
)) {
16852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16854 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16856 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16857 if (!SWIG_IsOK(res3
)) {
16858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16860 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16875 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
= 0;
16877 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16878 wxChar
*arg2
= (wxChar
*) 0 ;
16879 wxChar
*arg3
= (wxChar
*) 0 ;
16881 wxChar
*arg5
= (wxChar
*) NULL
;
16882 wxChar
*result
= 0 ;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 PyObject
* obj2
= 0 ;
16896 PyObject
* obj3
= 0 ;
16897 PyObject
* obj4
= 0 ;
16898 char * kwnames
[] = {
16899 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16904 if (!SWIG_IsOK(res1
)) {
16905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16907 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16909 if (!SWIG_IsOK(res2
)) {
16910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16912 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16913 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16914 if (!SWIG_IsOK(res3
)) {
16915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16917 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16918 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16919 if (!SWIG_IsOK(ecode4
)) {
16920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16922 arg4
= static_cast< size_t >(val4
);
16924 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16925 if (!SWIG_IsOK(res5
)) {
16926 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16928 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16943 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16946 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16947 return SWIG_Py_Void();
16950 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16951 return SWIG_Python_InitShadowInstance(args
);
16954 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16955 PyObject
*resultobj
= 0;
16956 wxLocale
*result
= 0 ;
16958 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (wxLocale
*)wxGetLocale();
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16972 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16973 PyObject
*resultobj
= 0;
16974 wxString
*arg1
= 0 ;
16976 bool temp1
= false ;
16978 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16980 arg1
= wxString_in_helper(swig_obj
[0]);
16981 if (arg1
== NULL
) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= wxGetTranslation((wxString
const &)*arg1
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17011 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17012 PyObject
*resultobj
= 0;
17013 wxString
*arg1
= 0 ;
17014 wxString
*arg2
= 0 ;
17016 bool temp1
= false ;
17017 bool temp2
= false ;
17019 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17021 arg1
= wxString_in_helper(swig_obj
[0]);
17022 if (arg1
== NULL
) SWIG_fail
;
17026 arg2
= wxString_in_helper(swig_obj
[1]);
17027 if (arg2
== NULL
) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17065 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17066 PyObject
*resultobj
= 0;
17067 wxString
*arg1
= 0 ;
17068 wxString
*arg2
= 0 ;
17071 bool temp1
= false ;
17072 bool temp2
= false ;
17076 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17078 arg1
= wxString_in_helper(swig_obj
[0]);
17079 if (arg1
== NULL
) SWIG_fail
;
17083 arg2
= wxString_in_helper(swig_obj
[1]);
17084 if (arg2
== NULL
) SWIG_fail
;
17087 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17088 if (!SWIG_IsOK(ecode3
)) {
17089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17091 arg3
= static_cast< size_t >(val3
);
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17127 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17128 PyObject
*resultobj
= 0;
17129 wxString
*arg1
= 0 ;
17130 wxString
*arg2
= 0 ;
17132 wxString
*arg4
= 0 ;
17134 bool temp1
= false ;
17135 bool temp2
= false ;
17138 bool temp4
= false ;
17140 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17142 arg1
= wxString_in_helper(swig_obj
[0]);
17143 if (arg1
== NULL
) SWIG_fail
;
17147 arg2
= wxString_in_helper(swig_obj
[1]);
17148 if (arg2
== NULL
) SWIG_fail
;
17151 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17152 if (!SWIG_IsOK(ecode3
)) {
17153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17155 arg3
= static_cast< size_t >(val3
);
17157 arg4
= wxString_in_helper(swig_obj
[3]);
17158 if (arg4
== NULL
) SWIG_fail
;
17162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17163 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17204 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17208 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17211 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17214 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17217 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17220 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17224 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17229 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17230 PyObject
*resultobj
= 0;
17231 wxEncodingConverter
*result
= 0 ;
17233 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17247 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17248 PyObject
*resultobj
= 0;
17249 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17252 PyObject
*swig_obj
[1] ;
17254 if (!args
) SWIG_fail
;
17255 swig_obj
[0] = args
;
17256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17257 if (!SWIG_IsOK(res1
)) {
17258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17260 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_Py_Void();
17275 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
= 0;
17277 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17278 wxFontEncoding arg2
;
17279 wxFontEncoding arg3
;
17280 int arg4
= (int) wxCONVERT_STRICT
;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 PyObject
* obj2
= 0 ;
17293 PyObject
* obj3
= 0 ;
17294 char * kwnames
[] = {
17295 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17300 if (!SWIG_IsOK(res1
)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17303 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17305 if (!SWIG_IsOK(ecode2
)) {
17306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17308 arg2
= static_cast< wxFontEncoding
>(val2
);
17309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17310 if (!SWIG_IsOK(ecode3
)) {
17311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17313 arg3
= static_cast< wxFontEncoding
>(val3
);
17315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17316 if (!SWIG_IsOK(ecode4
)) {
17317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17319 arg4
= static_cast< int >(val4
);
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17336 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
= 0;
17338 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17339 wxString
*arg2
= 0 ;
17343 bool temp2
= false ;
17344 PyObject
* obj0
= 0 ;
17345 PyObject
* obj1
= 0 ;
17346 char * kwnames
[] = {
17347 (char *) "self",(char *) "input", NULL
17350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17352 if (!SWIG_IsOK(res1
)) {
17353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17355 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17357 arg2
= wxString_in_helper(obj1
);
17358 if (arg2
== NULL
) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17388 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= 0;
17390 wxFontEncoding arg1
;
17391 int arg2
= (int) wxPLATFORM_CURRENT
;
17392 wxFontEncodingArray result
;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 char * kwnames
[] = {
17400 (char *) "enc",(char *) "platform", NULL
17403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17405 if (!SWIG_IsOK(ecode1
)) {
17406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17408 arg1
= static_cast< wxFontEncoding
>(val1
);
17410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17411 if (!SWIG_IsOK(ecode2
)) {
17412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17414 arg2
= static_cast< int >(val2
);
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= PyList_New(0);
17424 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17425 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17426 PyList_Append(resultobj
, number
);
17436 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
= 0;
17438 wxFontEncoding arg1
;
17439 wxFontEncodingArray result
;
17442 PyObject
* obj0
= 0 ;
17443 char * kwnames
[] = {
17444 (char *) "enc", NULL
17447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17448 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17449 if (!SWIG_IsOK(ecode1
)) {
17450 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17452 arg1
= static_cast< wxFontEncoding
>(val1
);
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= PyList_New(0);
17461 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17462 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17463 PyList_Append(resultobj
, number
);
17473 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= 0;
17475 wxFontEncoding arg1
;
17476 wxFontEncoding arg2
;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 char * kwnames
[] = {
17485 (char *) "encIn",(char *) "encOut", NULL
17488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17489 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17490 if (!SWIG_IsOK(ecode1
)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17493 arg1
= static_cast< wxFontEncoding
>(val1
);
17494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17495 if (!SWIG_IsOK(ecode2
)) {
17496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17498 arg2
= static_cast< wxFontEncoding
>(val2
);
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17514 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17517 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17518 return SWIG_Py_Void();
17521 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17522 return SWIG_Python_InitShadowInstance(args
);
17525 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17526 PyObject
*resultobj
= 0;
17527 wxDC
*arg1
= (wxDC
*) 0 ;
17530 PyObject
*swig_obj
[1] ;
17532 if (!args
) SWIG_fail
;
17533 swig_obj
[0] = args
;
17534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17535 if (!SWIG_IsOK(res1
)) {
17536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_Py_Void();
17553 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
= 0;
17555 wxDC
*arg1
= (wxDC
*) 0 ;
17558 wxColour
*arg4
= 0 ;
17559 int arg5
= (int) wxFLOOD_SURFACE
;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 PyObject
* obj3
= 0 ;
17574 PyObject
* obj4
= 0 ;
17575 char * kwnames
[] = {
17576 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17581 if (!SWIG_IsOK(res1
)) {
17582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17586 if (!SWIG_IsOK(ecode2
)) {
17587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17589 arg2
= static_cast< int >(val2
);
17590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17591 if (!SWIG_IsOK(ecode3
)) {
17592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17594 arg3
= static_cast< int >(val3
);
17597 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17601 if (!SWIG_IsOK(ecode5
)) {
17602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17604 arg5
= static_cast< int >(val5
);
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17621 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
= 0;
17623 wxDC
*arg1
= (wxDC
*) 0 ;
17624 wxPoint
*arg2
= 0 ;
17625 wxColour
*arg3
= 0 ;
17626 int arg4
= (int) wxFLOOD_SURFACE
;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 PyObject
* obj2
= 0 ;
17637 PyObject
* obj3
= 0 ;
17638 char * kwnames
[] = {
17639 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17644 if (!SWIG_IsOK(res1
)) {
17645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17658 if (!SWIG_IsOK(ecode4
)) {
17659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17661 arg4
= static_cast< int >(val4
);
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17678 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
= 0;
17680 wxDC
*arg1
= (wxDC
*) 0 ;
17682 wxColour
*arg3
= 0 ;
17683 wxColour
*arg4
= 0 ;
17684 wxPoint
*arg5
= 0 ;
17691 PyObject
* obj0
= 0 ;
17692 PyObject
* obj1
= 0 ;
17693 PyObject
* obj2
= 0 ;
17694 PyObject
* obj3
= 0 ;
17695 PyObject
* obj4
= 0 ;
17696 char * kwnames
[] = {
17697 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17702 if (!SWIG_IsOK(res1
)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17708 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17712 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17716 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17720 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= SWIG_Py_Void();
17735 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
= 0;
17737 wxDC
*arg1
= (wxDC
*) 0 ;
17739 wxColour
*arg3
= 0 ;
17740 wxColour
*arg4
= 0 ;
17741 wxDirection arg5
= (wxDirection
) wxEAST
;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 PyObject
* obj2
= 0 ;
17752 PyObject
* obj3
= 0 ;
17753 PyObject
* obj4
= 0 ;
17754 char * kwnames
[] = {
17755 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17760 if (!SWIG_IsOK(res1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17766 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17770 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17774 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17777 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17778 if (!SWIG_IsOK(ecode5
)) {
17779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17781 arg5
= static_cast< wxDirection
>(val5
);
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= SWIG_Py_Void();
17796 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
= 0;
17798 wxDC
*arg1
= (wxDC
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 PyObject
* obj1
= 0 ;
17810 PyObject
* obj2
= 0 ;
17811 char * kwnames
[] = {
17812 (char *) "self",(char *) "x",(char *) "y", NULL
17815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17817 if (!SWIG_IsOK(res1
)) {
17818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17822 if (!SWIG_IsOK(ecode2
)) {
17823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17825 arg2
= static_cast< int >(val2
);
17826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17827 if (!SWIG_IsOK(ecode3
)) {
17828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17830 arg3
= static_cast< int >(val3
);
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17844 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
= 0;
17846 wxDC
*arg1
= (wxDC
*) 0 ;
17847 wxPoint
*arg2
= 0 ;
17852 PyObject
* obj0
= 0 ;
17853 PyObject
* obj1
= 0 ;
17854 char * kwnames
[] = {
17855 (char *) "self",(char *) "pt", NULL
17858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17860 if (!SWIG_IsOK(res1
)) {
17861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17870 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17874 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17881 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
= 0;
17883 wxDC
*arg1
= (wxDC
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 PyObject
* obj2
= 0 ;
17901 PyObject
* obj3
= 0 ;
17902 PyObject
* obj4
= 0 ;
17903 char * kwnames
[] = {
17904 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17909 if (!SWIG_IsOK(res1
)) {
17910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17914 if (!SWIG_IsOK(ecode2
)) {
17915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17917 arg2
= static_cast< int >(val2
);
17918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17919 if (!SWIG_IsOK(ecode3
)) {
17920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17922 arg3
= static_cast< int >(val3
);
17923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17924 if (!SWIG_IsOK(ecode4
)) {
17925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17927 arg4
= static_cast< int >(val4
);
17928 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17929 if (!SWIG_IsOK(ecode5
)) {
17930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17932 arg5
= static_cast< int >(val5
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_Py_Void();
17946 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
= 0;
17948 wxDC
*arg1
= (wxDC
*) 0 ;
17949 wxPoint
*arg2
= 0 ;
17950 wxPoint
*arg3
= 0 ;
17955 PyObject
* obj0
= 0 ;
17956 PyObject
* obj1
= 0 ;
17957 PyObject
* obj2
= 0 ;
17958 char * kwnames
[] = {
17959 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17974 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_Py_Void();
17989 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxDC
*arg1
= (wxDC
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 PyObject
* obj2
= 0 ;
18003 char * kwnames
[] = {
18004 (char *) "self",(char *) "x",(char *) "y", NULL
18007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18014 if (!SWIG_IsOK(ecode2
)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18017 arg2
= static_cast< int >(val2
);
18018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18019 if (!SWIG_IsOK(ecode3
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18022 arg3
= static_cast< int >(val3
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->CrossHair(arg2
,arg3
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_Py_Void();
18036 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxDC
*arg1
= (wxDC
*) 0 ;
18039 wxPoint
*arg2
= 0 ;
18043 PyObject
* obj0
= 0 ;
18044 PyObject
* obj1
= 0 ;
18045 char * kwnames
[] = {
18046 (char *) "self",(char *) "pt", NULL
18049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18051 if (!SWIG_IsOK(res1
)) {
18052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= SWIG_Py_Void();
18072 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
= 0;
18074 wxDC
*arg1
= (wxDC
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18097 PyObject
* obj2
= 0 ;
18098 PyObject
* obj3
= 0 ;
18099 PyObject
* obj4
= 0 ;
18100 PyObject
* obj5
= 0 ;
18101 PyObject
* obj6
= 0 ;
18102 char * kwnames
[] = {
18103 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18108 if (!SWIG_IsOK(res1
)) {
18109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18113 if (!SWIG_IsOK(ecode2
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18116 arg2
= static_cast< int >(val2
);
18117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18118 if (!SWIG_IsOK(ecode3
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18121 arg3
= static_cast< int >(val3
);
18122 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18123 if (!SWIG_IsOK(ecode4
)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18126 arg4
= static_cast< int >(val4
);
18127 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18128 if (!SWIG_IsOK(ecode5
)) {
18129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18131 arg5
= static_cast< int >(val5
);
18132 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18133 if (!SWIG_IsOK(ecode6
)) {
18134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18136 arg6
= static_cast< int >(val6
);
18137 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18138 if (!SWIG_IsOK(ecode7
)) {
18139 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18141 arg7
= static_cast< int >(val7
);
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_Py_Void();
18155 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
= 0;
18157 wxDC
*arg1
= (wxDC
*) 0 ;
18158 wxPoint
*arg2
= 0 ;
18159 wxPoint
*arg3
= 0 ;
18160 wxPoint
*arg4
= 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 PyObject
* obj2
= 0 ;
18169 PyObject
* obj3
= 0 ;
18170 char * kwnames
[] = {
18171 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18186 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= SWIG_Py_Void();
18205 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
= 0;
18207 wxDC
*arg1
= (wxDC
*) 0 ;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 PyObject
* obj2
= 0 ;
18225 PyObject
* obj3
= 0 ;
18226 PyObject
* obj4
= 0 ;
18227 char * kwnames
[] = {
18228 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18233 if (!SWIG_IsOK(res1
)) {
18234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18238 if (!SWIG_IsOK(ecode2
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18241 arg2
= static_cast< int >(val2
);
18242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18243 if (!SWIG_IsOK(ecode3
)) {
18244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18246 arg3
= static_cast< int >(val3
);
18247 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18248 if (!SWIG_IsOK(ecode4
)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18251 arg4
= static_cast< int >(val4
);
18252 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18253 if (!SWIG_IsOK(ecode5
)) {
18254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18256 arg5
= static_cast< int >(val5
);
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_Py_Void();
18270 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
= 0;
18272 wxDC
*arg1
= (wxDC
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 PyObject
* obj1
= 0 ;
18279 char * kwnames
[] = {
18280 (char *) "self",(char *) "rect", NULL
18283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18285 if (!SWIG_IsOK(res1
)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18291 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 resultobj
= SWIG_Py_Void();
18306 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18307 PyObject
*resultobj
= 0;
18308 wxDC
*arg1
= (wxDC
*) 0 ;
18329 PyObject
* obj0
= 0 ;
18330 PyObject
* obj1
= 0 ;
18331 PyObject
* obj2
= 0 ;
18332 PyObject
* obj3
= 0 ;
18333 PyObject
* obj4
= 0 ;
18334 PyObject
* obj5
= 0 ;
18335 PyObject
* obj6
= 0 ;
18336 char * kwnames
[] = {
18337 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18342 if (!SWIG_IsOK(res1
)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18347 if (!SWIG_IsOK(ecode2
)) {
18348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18350 arg2
= static_cast< int >(val2
);
18351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18352 if (!SWIG_IsOK(ecode3
)) {
18353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18355 arg3
= static_cast< int >(val3
);
18356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18357 if (!SWIG_IsOK(ecode4
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18360 arg4
= static_cast< int >(val4
);
18361 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18362 if (!SWIG_IsOK(ecode5
)) {
18363 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18365 arg5
= static_cast< int >(val5
);
18366 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18367 if (!SWIG_IsOK(ecode6
)) {
18368 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18370 arg6
= static_cast< double >(val6
);
18371 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18372 if (!SWIG_IsOK(ecode7
)) {
18373 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18375 arg7
= static_cast< double >(val7
);
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= SWIG_Py_Void();
18389 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
= 0;
18391 wxDC
*arg1
= (wxDC
*) 0 ;
18392 wxPoint
*arg2
= 0 ;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 PyObject
* obj2
= 0 ;
18407 PyObject
* obj3
= 0 ;
18408 PyObject
* obj4
= 0 ;
18409 char * kwnames
[] = {
18410 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18415 if (!SWIG_IsOK(res1
)) {
18416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18425 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18427 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18428 if (!SWIG_IsOK(ecode4
)) {
18429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18431 arg4
= static_cast< double >(val4
);
18432 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18433 if (!SWIG_IsOK(ecode5
)) {
18434 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18436 arg5
= static_cast< double >(val5
);
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_Py_Void();
18450 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
= 0;
18452 wxDC
*arg1
= (wxDC
*) 0 ;
18461 PyObject
* obj0
= 0 ;
18462 PyObject
* obj1
= 0 ;
18463 PyObject
* obj2
= 0 ;
18464 char * kwnames
[] = {
18465 (char *) "self",(char *) "x",(char *) "y", NULL
18468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18470 if (!SWIG_IsOK(res1
)) {
18471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18475 if (!SWIG_IsOK(ecode2
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18478 arg2
= static_cast< int >(val2
);
18479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18480 if (!SWIG_IsOK(ecode3
)) {
18481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18483 arg3
= static_cast< int >(val3
);
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->DrawPoint(arg2
,arg3
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_Py_Void();
18497 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
= 0;
18499 wxDC
*arg1
= (wxDC
*) 0 ;
18500 wxPoint
*arg2
= 0 ;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 char * kwnames
[] = {
18507 (char *) "self",(char *) "pt", NULL
18510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18512 if (!SWIG_IsOK(res1
)) {
18513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_Py_Void();
18533 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
= 0;
18535 wxDC
*arg1
= (wxDC
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 PyObject
* obj2
= 0 ;
18553 PyObject
* obj3
= 0 ;
18554 PyObject
* obj4
= 0 ;
18555 char * kwnames
[] = {
18556 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18561 if (!SWIG_IsOK(res1
)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18566 if (!SWIG_IsOK(ecode2
)) {
18567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18569 arg2
= static_cast< int >(val2
);
18570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18571 if (!SWIG_IsOK(ecode3
)) {
18572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18574 arg3
= static_cast< int >(val3
);
18575 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18576 if (!SWIG_IsOK(ecode4
)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18579 arg4
= static_cast< int >(val4
);
18580 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18581 if (!SWIG_IsOK(ecode5
)) {
18582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18584 arg5
= static_cast< int >(val5
);
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_Py_Void();
18598 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
= 0;
18600 wxDC
*arg1
= (wxDC
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char * kwnames
[] = {
18608 (char *) "self",(char *) "rect", NULL
18611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18613 if (!SWIG_IsOK(res1
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_Py_Void();
18634 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
= 0;
18636 wxDC
*arg1
= (wxDC
*) 0 ;
18637 wxPoint
*arg2
= 0 ;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 PyObject
* obj2
= 0 ;
18646 char * kwnames
[] = {
18647 (char *) "self",(char *) "pt",(char *) "sz", NULL
18650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18652 if (!SWIG_IsOK(res1
)) {
18653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18658 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18662 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_Py_Void();
18677 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxDC
*arg1
= (wxDC
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 PyObject
* obj2
= 0 ;
18700 PyObject
* obj3
= 0 ;
18701 PyObject
* obj4
= 0 ;
18702 PyObject
* obj5
= 0 ;
18703 char * kwnames
[] = {
18704 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18709 if (!SWIG_IsOK(res1
)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18714 if (!SWIG_IsOK(ecode2
)) {
18715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18717 arg2
= static_cast< int >(val2
);
18718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18719 if (!SWIG_IsOK(ecode3
)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18722 arg3
= static_cast< int >(val3
);
18723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18724 if (!SWIG_IsOK(ecode4
)) {
18725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18727 arg4
= static_cast< int >(val4
);
18728 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18729 if (!SWIG_IsOK(ecode5
)) {
18730 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18732 arg5
= static_cast< int >(val5
);
18733 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18734 if (!SWIG_IsOK(ecode6
)) {
18735 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18737 arg6
= static_cast< double >(val6
);
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_Py_Void();
18751 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18752 PyObject
*resultobj
= 0;
18753 wxDC
*arg1
= (wxDC
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 PyObject
* obj2
= 0 ;
18764 char * kwnames
[] = {
18765 (char *) "self",(char *) "r",(char *) "radius", NULL
18768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18770 if (!SWIG_IsOK(res1
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18776 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18778 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18779 if (!SWIG_IsOK(ecode3
)) {
18780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18782 arg3
= static_cast< double >(val3
);
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= SWIG_Py_Void();
18796 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
= 0;
18798 wxDC
*arg1
= (wxDC
*) 0 ;
18799 wxPoint
*arg2
= 0 ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 PyObject
* obj2
= 0 ;
18811 PyObject
* obj3
= 0 ;
18812 char * kwnames
[] = {
18813 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18818 if (!SWIG_IsOK(res1
)) {
18819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18821 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18824 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18828 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18830 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18831 if (!SWIG_IsOK(ecode4
)) {
18832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18834 arg4
= static_cast< double >(val4
);
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18841 resultobj
= SWIG_Py_Void();
18848 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18849 PyObject
*resultobj
= 0;
18850 wxDC
*arg1
= (wxDC
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 PyObject
* obj2
= 0 ;
18865 PyObject
* obj3
= 0 ;
18866 char * kwnames
[] = {
18867 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18872 if (!SWIG_IsOK(res1
)) {
18873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18877 if (!SWIG_IsOK(ecode2
)) {
18878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18880 arg2
= static_cast< int >(val2
);
18881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18882 if (!SWIG_IsOK(ecode3
)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18885 arg3
= static_cast< int >(val3
);
18886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18887 if (!SWIG_IsOK(ecode4
)) {
18888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18890 arg4
= static_cast< int >(val4
);
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_Py_Void();
18904 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= 0;
18906 wxDC
*arg1
= (wxDC
*) 0 ;
18907 wxPoint
*arg2
= 0 ;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 PyObject
* obj2
= 0 ;
18917 char * kwnames
[] = {
18918 (char *) "self",(char *) "pt",(char *) "radius", NULL
18921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18923 if (!SWIG_IsOK(res1
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18932 if (!SWIG_IsOK(ecode3
)) {
18933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18935 arg3
= static_cast< int >(val3
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_Py_Void();
18949 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
= 0;
18951 wxDC
*arg1
= (wxDC
*) 0 ;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj1
= 0 ;
18968 PyObject
* obj2
= 0 ;
18969 PyObject
* obj3
= 0 ;
18970 PyObject
* obj4
= 0 ;
18971 char * kwnames
[] = {
18972 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18982 if (!SWIG_IsOK(ecode2
)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18985 arg2
= static_cast< int >(val2
);
18986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18987 if (!SWIG_IsOK(ecode3
)) {
18988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18990 arg3
= static_cast< int >(val3
);
18991 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18992 if (!SWIG_IsOK(ecode4
)) {
18993 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18995 arg4
= static_cast< int >(val4
);
18996 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18997 if (!SWIG_IsOK(ecode5
)) {
18998 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19000 arg5
= static_cast< int >(val5
);
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_Py_Void();
19014 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
= 0;
19016 wxDC
*arg1
= (wxDC
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 char * kwnames
[] = {
19024 (char *) "self",(char *) "rect", NULL
19027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19029 if (!SWIG_IsOK(res1
)) {
19030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19035 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= SWIG_Py_Void();
19050 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19051 PyObject
*resultobj
= 0;
19052 wxDC
*arg1
= (wxDC
*) 0 ;
19053 wxPoint
*arg2
= 0 ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 PyObject
* obj2
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "self",(char *) "pt",(char *) "sz", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19068 if (!SWIG_IsOK(res1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19078 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_Py_Void();
19093 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
= 0;
19095 wxDC
*arg1
= (wxDC
*) 0 ;
19107 PyObject
* obj0
= 0 ;
19108 PyObject
* obj1
= 0 ;
19109 PyObject
* obj2
= 0 ;
19110 PyObject
* obj3
= 0 ;
19111 char * kwnames
[] = {
19112 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19117 if (!SWIG_IsOK(res1
)) {
19118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19122 if (!SWIG_IsOK(res2
)) {
19123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19128 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19130 if (!SWIG_IsOK(ecode3
)) {
19131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19133 arg3
= static_cast< int >(val3
);
19134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19135 if (!SWIG_IsOK(ecode4
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19138 arg4
= static_cast< int >(val4
);
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_Py_Void();
19152 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
= 0;
19154 wxDC
*arg1
= (wxDC
*) 0 ;
19156 wxPoint
*arg3
= 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 PyObject
* obj2
= 0 ;
19165 char * kwnames
[] = {
19166 (char *) "self",(char *) "icon",(char *) "pt", NULL
19169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19176 if (!SWIG_IsOK(res2
)) {
19177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19182 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_Py_Void();
19200 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
= 0;
19202 wxDC
*arg1
= (wxDC
*) 0 ;
19203 wxBitmap
*arg2
= 0 ;
19206 bool arg5
= (bool) false ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 PyObject
* obj2
= 0 ;
19220 PyObject
* obj3
= 0 ;
19221 PyObject
* obj4
= 0 ;
19222 char * kwnames
[] = {
19223 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19228 if (!SWIG_IsOK(res1
)) {
19229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19233 if (!SWIG_IsOK(res2
)) {
19234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19239 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19241 if (!SWIG_IsOK(ecode3
)) {
19242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19244 arg3
= static_cast< int >(val3
);
19245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19246 if (!SWIG_IsOK(ecode4
)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19249 arg4
= static_cast< int >(val4
);
19251 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19252 if (!SWIG_IsOK(ecode5
)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19255 arg5
= static_cast< bool >(val5
);
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= SWIG_Py_Void();
19270 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxDC
*arg1
= (wxDC
*) 0 ;
19273 wxBitmap
*arg2
= 0 ;
19274 wxPoint
*arg3
= 0 ;
19275 bool arg4
= (bool) false ;
19283 PyObject
* obj0
= 0 ;
19284 PyObject
* obj1
= 0 ;
19285 PyObject
* obj2
= 0 ;
19286 PyObject
* obj3
= 0 ;
19287 char * kwnames
[] = {
19288 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19293 if (!SWIG_IsOK(res1
)) {
19294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19298 if (!SWIG_IsOK(res2
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19310 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19311 if (!SWIG_IsOK(ecode4
)) {
19312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19314 arg4
= static_cast< bool >(val4
);
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19319 wxPyEndAllowThreads(__tstate
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19322 resultobj
= SWIG_Py_Void();
19329 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19330 PyObject
*resultobj
= 0;
19331 wxDC
*arg1
= (wxDC
*) 0 ;
19332 wxString
*arg2
= 0 ;
19337 bool temp2
= false ;
19342 PyObject
* obj0
= 0 ;
19343 PyObject
* obj1
= 0 ;
19344 PyObject
* obj2
= 0 ;
19345 PyObject
* obj3
= 0 ;
19346 char * kwnames
[] = {
19347 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19352 if (!SWIG_IsOK(res1
)) {
19353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19357 arg2
= wxString_in_helper(obj1
);
19358 if (arg2
== NULL
) SWIG_fail
;
19361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19362 if (!SWIG_IsOK(ecode3
)) {
19363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19365 arg3
= static_cast< int >(val3
);
19366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19367 if (!SWIG_IsOK(ecode4
)) {
19368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19370 arg4
= static_cast< int >(val4
);
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_Py_Void();
19392 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxDC
*arg1
= (wxDC
*) 0 ;
19395 wxString
*arg2
= 0 ;
19396 wxPoint
*arg3
= 0 ;
19399 bool temp2
= false ;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 PyObject
* obj2
= 0 ;
19404 char * kwnames
[] = {
19405 (char *) "self",(char *) "text",(char *) "pt", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19415 arg2
= wxString_in_helper(obj1
);
19416 if (arg2
== NULL
) SWIG_fail
;
19421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_Py_Void();
19444 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
= 0;
19446 wxDC
*arg1
= (wxDC
*) 0 ;
19447 wxString
*arg2
= 0 ;
19453 bool temp2
= false ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 PyObject
* obj2
= 0 ;
19463 PyObject
* obj3
= 0 ;
19464 PyObject
* obj4
= 0 ;
19465 char * kwnames
[] = {
19466 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19471 if (!SWIG_IsOK(res1
)) {
19472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19476 arg2
= wxString_in_helper(obj1
);
19477 if (arg2
== NULL
) SWIG_fail
;
19480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19481 if (!SWIG_IsOK(ecode3
)) {
19482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19484 arg3
= static_cast< int >(val3
);
19485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19486 if (!SWIG_IsOK(ecode4
)) {
19487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19489 arg4
= static_cast< int >(val4
);
19490 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19491 if (!SWIG_IsOK(ecode5
)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19494 arg5
= static_cast< double >(val5
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_Py_Void();
19516 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
= 0;
19518 wxDC
*arg1
= (wxDC
*) 0 ;
19519 wxString
*arg2
= 0 ;
19520 wxPoint
*arg3
= 0 ;
19524 bool temp2
= false ;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 PyObject
* obj2
= 0 ;
19531 PyObject
* obj3
= 0 ;
19532 char * kwnames
[] = {
19533 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19538 if (!SWIG_IsOK(res1
)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19543 arg2
= wxString_in_helper(obj1
);
19544 if (arg2
== NULL
) SWIG_fail
;
19549 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19551 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19552 if (!SWIG_IsOK(ecode4
)) {
19553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19555 arg4
= static_cast< double >(val4
);
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_Py_Void();
19577 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
= 0;
19579 wxDC
*arg1
= (wxDC
*) 0 ;
19584 wxDC
*arg6
= (wxDC
*) 0 ;
19587 int arg9
= (int) wxCOPY
;
19588 bool arg10
= (bool) false ;
19589 int arg11
= (int) -1 ;
19590 int arg12
= (int) -1 ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 PyObject
* obj2
= 0 ;
19619 PyObject
* obj3
= 0 ;
19620 PyObject
* obj4
= 0 ;
19621 PyObject
* obj5
= 0 ;
19622 PyObject
* obj6
= 0 ;
19623 PyObject
* obj7
= 0 ;
19624 PyObject
* obj8
= 0 ;
19625 PyObject
* obj9
= 0 ;
19626 PyObject
* obj10
= 0 ;
19627 PyObject
* obj11
= 0 ;
19628 char * kwnames
[] = {
19629 (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
19632 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
;
19633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19634 if (!SWIG_IsOK(res1
)) {
19635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19639 if (!SWIG_IsOK(ecode2
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19642 arg2
= static_cast< int >(val2
);
19643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19644 if (!SWIG_IsOK(ecode3
)) {
19645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19647 arg3
= static_cast< int >(val3
);
19648 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19649 if (!SWIG_IsOK(ecode4
)) {
19650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19652 arg4
= static_cast< int >(val4
);
19653 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19654 if (!SWIG_IsOK(ecode5
)) {
19655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19657 arg5
= static_cast< int >(val5
);
19658 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19659 if (!SWIG_IsOK(res6
)) {
19660 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19662 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19663 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19664 if (!SWIG_IsOK(ecode7
)) {
19665 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19667 arg7
= static_cast< int >(val7
);
19668 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19669 if (!SWIG_IsOK(ecode8
)) {
19670 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19672 arg8
= static_cast< int >(val8
);
19674 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19675 if (!SWIG_IsOK(ecode9
)) {
19676 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19678 arg9
= static_cast< int >(val9
);
19681 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19682 if (!SWIG_IsOK(ecode10
)) {
19683 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19685 arg10
= static_cast< bool >(val10
);
19688 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19689 if (!SWIG_IsOK(ecode11
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19692 arg11
= static_cast< int >(val11
);
19695 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19696 if (!SWIG_IsOK(ecode12
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19699 arg12
= static_cast< int >(val12
);
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19716 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
= 0;
19718 wxDC
*arg1
= (wxDC
*) 0 ;
19719 wxPoint
*arg2
= 0 ;
19721 wxDC
*arg4
= (wxDC
*) 0 ;
19722 wxPoint
*arg5
= 0 ;
19723 int arg6
= (int) wxCOPY
;
19724 bool arg7
= (bool) false ;
19725 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19726 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 PyObject
* obj2
= 0 ;
19743 PyObject
* obj3
= 0 ;
19744 PyObject
* obj4
= 0 ;
19745 PyObject
* obj5
= 0 ;
19746 PyObject
* obj6
= 0 ;
19747 PyObject
* obj7
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19760 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19764 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19766 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19767 if (!SWIG_IsOK(res4
)) {
19768 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19770 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19773 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19776 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19777 if (!SWIG_IsOK(ecode6
)) {
19778 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19780 arg6
= static_cast< int >(val6
);
19783 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19784 if (!SWIG_IsOK(ecode7
)) {
19785 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19787 arg7
= static_cast< bool >(val7
);
19792 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19810 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
= 0;
19812 wxDC
*arg1
= (wxDC
*) 0 ;
19813 wxRect
*arg2
= (wxRect
*) NULL
;
19814 SwigValueWrapper
<wxBitmap
> result
;
19819 PyObject
* obj0
= 0 ;
19820 PyObject
* obj1
= 0 ;
19821 char * kwnames
[] = {
19822 (char *) "self",(char *) "subrect", NULL
19825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19827 if (!SWIG_IsOK(res1
)) {
19828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19833 if (!SWIG_IsOK(res2
)) {
19834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19836 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19851 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
= 0;
19853 wxDC
*arg1
= (wxDC
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 PyObject
* obj2
= 0 ;
19871 PyObject
* obj3
= 0 ;
19872 PyObject
* obj4
= 0 ;
19873 char * kwnames
[] = {
19874 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19879 if (!SWIG_IsOK(res1
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19884 if (!SWIG_IsOK(ecode2
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19887 arg2
= static_cast< int >(val2
);
19888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19889 if (!SWIG_IsOK(ecode3
)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19892 arg3
= static_cast< int >(val3
);
19893 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19894 if (!SWIG_IsOK(ecode4
)) {
19895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19897 arg4
= static_cast< int >(val4
);
19898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19899 if (!SWIG_IsOK(ecode5
)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19902 arg5
= static_cast< int >(val5
);
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_Py_Void();
19916 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
= 0;
19918 wxDC
*arg1
= (wxDC
*) 0 ;
19919 wxPoint
*arg2
= 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 PyObject
* obj2
= 0 ;
19928 char * kwnames
[] = {
19929 (char *) "self",(char *) "pt",(char *) "sz", NULL
19932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19944 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_Py_Void();
19959 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
= 0;
19961 wxDC
*arg1
= (wxDC
*) 0 ;
19962 wxRegion
*arg2
= 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char * kwnames
[] = {
19970 (char *) "self",(char *) "region", NULL
19973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19975 if (!SWIG_IsOK(res1
)) {
19976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19979 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19980 if (!SWIG_IsOK(res2
)) {
19981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19986 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_Py_Void();
20000 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
= 0;
20002 wxDC
*arg1
= (wxDC
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 char * kwnames
[] = {
20010 (char *) "self",(char *) "rect", NULL
20013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20015 if (!SWIG_IsOK(res1
)) {
20016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20021 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_Py_Void();
20036 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxDC
*arg1
= (wxDC
*) 0 ;
20040 wxPoint
*arg3
= (wxPoint
*) 0 ;
20041 int arg4
= (int) 0 ;
20042 int arg5
= (int) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 PyObject
* obj2
= 0 ;
20052 PyObject
* obj3
= 0 ;
20053 char * kwnames
[] = {
20054 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20059 if (!SWIG_IsOK(res1
)) {
20060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20064 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20065 if (arg3
== NULL
) SWIG_fail
;
20068 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20069 if (!SWIG_IsOK(ecode4
)) {
20070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20072 arg4
= static_cast< int >(val4
);
20075 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20076 if (!SWIG_IsOK(ecode5
)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20079 arg5
= static_cast< int >(val5
);
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_Py_Void();
20089 if (arg3
) delete [] arg3
;
20094 if (arg3
) delete [] arg3
;
20100 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
= 0;
20102 wxDC
*arg1
= (wxDC
*) 0 ;
20104 wxPoint
*arg3
= (wxPoint
*) 0 ;
20105 int arg4
= (int) 0 ;
20106 int arg5
= (int) 0 ;
20107 int arg6
= (int) wxODDEVEN_RULE
;
20116 PyObject
* obj0
= 0 ;
20117 PyObject
* obj1
= 0 ;
20118 PyObject
* obj2
= 0 ;
20119 PyObject
* obj3
= 0 ;
20120 PyObject
* obj4
= 0 ;
20121 char * kwnames
[] = {
20122 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20127 if (!SWIG_IsOK(res1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20132 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20133 if (arg3
== NULL
) SWIG_fail
;
20136 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20137 if (!SWIG_IsOK(ecode4
)) {
20138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20140 arg4
= static_cast< int >(val4
);
20143 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20144 if (!SWIG_IsOK(ecode5
)) {
20145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20147 arg5
= static_cast< int >(val5
);
20150 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20151 if (!SWIG_IsOK(ecode6
)) {
20152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20154 arg6
= static_cast< int >(val6
);
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= SWIG_Py_Void();
20164 if (arg3
) delete [] arg3
;
20169 if (arg3
) delete [] arg3
;
20175 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
= 0;
20177 wxDC
*arg1
= (wxDC
*) 0 ;
20178 wxString
*arg2
= 0 ;
20180 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20181 int arg5
= (int) -1 ;
20184 bool temp2
= false ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20192 PyObject
* obj2
= 0 ;
20193 PyObject
* obj3
= 0 ;
20194 PyObject
* obj4
= 0 ;
20195 char * kwnames
[] = {
20196 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20201 if (!SWIG_IsOK(res1
)) {
20202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20206 arg2
= wxString_in_helper(obj1
);
20207 if (arg2
== NULL
) SWIG_fail
;
20212 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20215 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20216 if (!SWIG_IsOK(ecode4
)) {
20217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20219 arg4
= static_cast< int >(val4
);
20222 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20223 if (!SWIG_IsOK(ecode5
)) {
20224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20226 arg5
= static_cast< int >(val5
);
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_Py_Void();
20249 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
= 0;
20251 wxDC
*arg1
= (wxDC
*) 0 ;
20252 wxString
*arg2
= 0 ;
20253 wxBitmap
*arg3
= 0 ;
20255 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20256 int arg6
= (int) -1 ;
20260 bool temp2
= false ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 PyObject
* obj2
= 0 ;
20271 PyObject
* obj3
= 0 ;
20272 PyObject
* obj4
= 0 ;
20273 PyObject
* obj5
= 0 ;
20274 char * kwnames
[] = {
20275 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20280 if (!SWIG_IsOK(res1
)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20285 arg2
= wxString_in_helper(obj1
);
20286 if (arg2
== NULL
) SWIG_fail
;
20289 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20290 if (!SWIG_IsOK(res3
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20296 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20299 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20302 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20303 if (!SWIG_IsOK(ecode5
)) {
20304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20306 arg5
= static_cast< int >(val5
);
20309 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20310 if (!SWIG_IsOK(ecode6
)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20313 arg6
= static_cast< int >(val6
);
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20321 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20336 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
= 0;
20338 wxDC
*arg1
= (wxDC
*) 0 ;
20340 wxPoint
*arg3
= (wxPoint
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char * kwnames
[] = {
20346 (char *) "self",(char *) "points", NULL
20349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20351 if (!SWIG_IsOK(res1
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20356 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20357 if (arg3
== NULL
) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 (arg1
)->DrawSpline(arg2
,arg3
);
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= SWIG_Py_Void();
20367 if (arg3
) delete [] arg3
;
20372 if (arg3
) delete [] arg3
;
20378 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20379 PyObject
*resultobj
= 0;
20380 wxDC
*arg1
= (wxDC
*) 0 ;
20383 PyObject
*swig_obj
[1] ;
20385 if (!args
) SWIG_fail
;
20386 swig_obj
[0] = args
;
20387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20388 if (!SWIG_IsOK(res1
)) {
20389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_Py_Void();
20405 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
= 0;
20407 wxDC
*arg1
= (wxDC
*) 0 ;
20408 wxString
*arg2
= 0 ;
20412 bool temp2
= false ;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 char * kwnames
[] = {
20416 (char *) "self",(char *) "message", NULL
20419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20421 if (!SWIG_IsOK(res1
)) {
20422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20426 arg2
= wxString_in_helper(obj1
);
20427 if (arg2
== NULL
) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20453 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20454 PyObject
*resultobj
= 0;
20455 wxDC
*arg1
= (wxDC
*) 0 ;
20458 PyObject
*swig_obj
[1] ;
20460 if (!args
) SWIG_fail
;
20461 swig_obj
[0] = args
;
20462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 resultobj
= SWIG_Py_Void();
20480 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20481 PyObject
*resultobj
= 0;
20482 wxDC
*arg1
= (wxDC
*) 0 ;
20485 PyObject
*swig_obj
[1] ;
20487 if (!args
) SWIG_fail
;
20488 swig_obj
[0] = args
;
20489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20490 if (!SWIG_IsOK(res1
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 (arg1
)->StartPage();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_Py_Void();
20507 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20508 PyObject
*resultobj
= 0;
20509 wxDC
*arg1
= (wxDC
*) 0 ;
20512 PyObject
*swig_obj
[1] ;
20514 if (!args
) SWIG_fail
;
20515 swig_obj
[0] = args
;
20516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_Py_Void();
20534 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
= 0;
20536 wxDC
*arg1
= (wxDC
*) 0 ;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 char * kwnames
[] = {
20545 (char *) "self",(char *) "font", NULL
20548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20550 if (!SWIG_IsOK(res1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20555 if (!SWIG_IsOK(res2
)) {
20556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20561 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 (arg1
)->SetFont((wxFont
const &)*arg2
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= SWIG_Py_Void();
20575 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
= 0;
20577 wxDC
*arg1
= (wxDC
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 PyObject
* obj1
= 0 ;
20585 char * kwnames
[] = {
20586 (char *) "self",(char *) "pen", NULL
20589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20596 if (!SWIG_IsOK(res2
)) {
20597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20602 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 (arg1
)->SetPen((wxPen
const &)*arg2
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_Py_Void();
20616 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
= 0;
20618 wxDC
*arg1
= (wxDC
*) 0 ;
20619 wxBrush
*arg2
= 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 char * kwnames
[] = {
20627 (char *) "self",(char *) "brush", NULL
20630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20632 if (!SWIG_IsOK(res1
)) {
20633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20637 if (!SWIG_IsOK(res2
)) {
20638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20643 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_Py_Void();
20657 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
= 0;
20659 wxDC
*arg1
= (wxDC
*) 0 ;
20660 wxBrush
*arg2
= 0 ;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 char * kwnames
[] = {
20668 (char *) "self",(char *) "brush", NULL
20671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20673 if (!SWIG_IsOK(res1
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20678 if (!SWIG_IsOK(res2
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20684 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_Py_Void();
20698 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
= 0;
20700 wxDC
*arg1
= (wxDC
*) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "self",(char *) "mode", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20714 if (!SWIG_IsOK(res1
)) {
20715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20719 if (!SWIG_IsOK(ecode2
)) {
20720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20722 arg2
= static_cast< int >(val2
);
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 (arg1
)->SetBackgroundMode(arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_Py_Void();
20736 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
= 0;
20738 wxDC
*arg1
= (wxDC
*) 0 ;
20739 wxPalette
*arg2
= 0 ;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20746 char * kwnames
[] = {
20747 (char *) "self",(char *) "palette", NULL
20750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20752 if (!SWIG_IsOK(res1
)) {
20753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20757 if (!SWIG_IsOK(res2
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20763 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_Py_Void();
20777 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20778 PyObject
*resultobj
= 0;
20779 wxDC
*arg1
= (wxDC
*) 0 ;
20782 PyObject
*swig_obj
[1] ;
20784 if (!args
) SWIG_fail
;
20785 swig_obj
[0] = args
;
20786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->DestroyClippingRegion();
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_Py_Void();
20804 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 PyObject
*resultobj
= 0;
20806 wxDC
*arg1
= (wxDC
*) 0 ;
20807 int *arg2
= (int *) 0 ;
20808 int *arg3
= (int *) 0 ;
20809 int *arg4
= (int *) 0 ;
20810 int *arg5
= (int *) 0 ;
20814 int res2
= SWIG_TMPOBJ
;
20816 int res3
= SWIG_TMPOBJ
;
20818 int res4
= SWIG_TMPOBJ
;
20820 int res5
= SWIG_TMPOBJ
;
20821 PyObject
*swig_obj
[1] ;
20827 if (!args
) SWIG_fail
;
20828 swig_obj
[0] = args
;
20829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20830 if (!SWIG_IsOK(res1
)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_Py_Void();
20841 if (SWIG_IsTmpObj(res2
)) {
20842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20844 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20847 if (SWIG_IsTmpObj(res3
)) {
20848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20850 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20853 if (SWIG_IsTmpObj(res4
)) {
20854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20856 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20859 if (SWIG_IsTmpObj(res5
)) {
20860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20862 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20871 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20872 PyObject
*resultobj
= 0;
20873 wxDC
*arg1
= (wxDC
*) 0 ;
20877 PyObject
*swig_obj
[1] ;
20879 if (!args
) SWIG_fail
;
20880 swig_obj
[0] = args
;
20881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20882 if (!SWIG_IsOK(res1
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= wxDC_GetClippingRect(arg1
);
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20899 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20900 PyObject
*resultobj
= 0;
20901 wxDC
*arg1
= (wxDC
*) 0 ;
20905 PyObject
*swig_obj
[1] ;
20907 if (!args
) SWIG_fail
;
20908 swig_obj
[0] = args
;
20909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_From_int(static_cast< int >(result
));
20927 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20928 PyObject
*resultobj
= 0;
20929 wxDC
*arg1
= (wxDC
*) 0 ;
20933 PyObject
*swig_obj
[1] ;
20935 if (!args
) SWIG_fail
;
20936 swig_obj
[0] = args
;
20937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20938 if (!SWIG_IsOK(res1
)) {
20939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_From_int(static_cast< int >(result
));
20955 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
= 0;
20957 wxDC
*arg1
= (wxDC
*) 0 ;
20958 wxString
*arg2
= 0 ;
20959 int *arg3
= (int *) 0 ;
20960 int *arg4
= (int *) 0 ;
20963 bool temp2
= false ;
20965 int res3
= SWIG_TMPOBJ
;
20967 int res4
= SWIG_TMPOBJ
;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 char * kwnames
[] = {
20971 (char *) "self",(char *) "string", NULL
20976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20983 arg2
= wxString_in_helper(obj1
);
20984 if (arg2
== NULL
) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_Py_Void();
20994 if (SWIG_IsTmpObj(res3
)) {
20995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20997 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21000 if (SWIG_IsTmpObj(res4
)) {
21001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21003 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21020 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
= 0;
21022 wxDC
*arg1
= (wxDC
*) 0 ;
21023 wxString
*arg2
= 0 ;
21024 int *arg3
= (int *) 0 ;
21025 int *arg4
= (int *) 0 ;
21026 int *arg5
= (int *) 0 ;
21027 int *arg6
= (int *) 0 ;
21028 wxFont
*arg7
= (wxFont
*) NULL
;
21031 bool temp2
= false ;
21033 int res3
= SWIG_TMPOBJ
;
21035 int res4
= SWIG_TMPOBJ
;
21037 int res5
= SWIG_TMPOBJ
;
21039 int res6
= SWIG_TMPOBJ
;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 PyObject
* obj2
= 0 ;
21045 char * kwnames
[] = {
21046 (char *) "self",(char *) "string",(char *) "font", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21060 arg2
= wxString_in_helper(obj1
);
21061 if (arg2
== NULL
) SWIG_fail
;
21065 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21066 if (!SWIG_IsOK(res7
)) {
21067 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21069 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_Py_Void();
21078 if (SWIG_IsTmpObj(res3
)) {
21079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21081 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21084 if (SWIG_IsTmpObj(res4
)) {
21085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21087 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21090 if (SWIG_IsTmpObj(res5
)) {
21091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21093 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21096 if (SWIG_IsTmpObj(res6
)) {
21097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21099 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21116 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
= 0;
21118 wxDC
*arg1
= (wxDC
*) 0 ;
21119 wxString
*arg2
= 0 ;
21120 int *arg3
= (int *) 0 ;
21121 int *arg4
= (int *) 0 ;
21122 int *arg5
= (int *) 0 ;
21123 wxFont
*arg6
= (wxFont
*) NULL
;
21126 bool temp2
= false ;
21128 int res3
= SWIG_TMPOBJ
;
21130 int res4
= SWIG_TMPOBJ
;
21132 int res5
= SWIG_TMPOBJ
;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21137 PyObject
* obj2
= 0 ;
21138 char * kwnames
[] = {
21139 (char *) "self",(char *) "text",(char *) "font", NULL
21145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21147 if (!SWIG_IsOK(res1
)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21152 arg2
= wxString_in_helper(obj1
);
21153 if (arg2
== NULL
) SWIG_fail
;
21157 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21158 if (!SWIG_IsOK(res6
)) {
21159 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21161 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 resultobj
= SWIG_Py_Void();
21170 if (SWIG_IsTmpObj(res3
)) {
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21173 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21176 if (SWIG_IsTmpObj(res4
)) {
21177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21179 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21182 if (SWIG_IsTmpObj(res5
)) {
21183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21185 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21202 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
= 0;
21204 wxDC
*arg1
= (wxDC
*) 0 ;
21205 wxString
*arg2
= 0 ;
21209 bool temp2
= false ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 char * kwnames
[] = {
21213 (char *) "self",(char *) "text", NULL
21216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21223 arg2
= wxString_in_helper(obj1
);
21224 if (arg2
== NULL
) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= wxArrayInt2PyList_helper(result
);
21250 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21251 PyObject
*resultobj
= 0;
21252 wxDC
*arg1
= (wxDC
*) 0 ;
21256 PyObject
*swig_obj
[1] ;
21258 if (!args
) SWIG_fail
;
21259 swig_obj
[0] = args
;
21260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21261 if (!SWIG_IsOK(res1
)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (arg1
)->GetSize();
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21278 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21279 PyObject
*resultobj
= 0;
21280 wxDC
*arg1
= (wxDC
*) 0 ;
21281 int *arg2
= (int *) 0 ;
21282 int *arg3
= (int *) 0 ;
21286 int res2
= SWIG_TMPOBJ
;
21288 int res3
= SWIG_TMPOBJ
;
21289 PyObject
*swig_obj
[1] ;
21293 if (!args
) SWIG_fail
;
21294 swig_obj
[0] = args
;
21295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->GetSize(arg2
,arg3
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_Py_Void();
21307 if (SWIG_IsTmpObj(res2
)) {
21308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21310 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21311 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21313 if (SWIG_IsTmpObj(res3
)) {
21314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21316 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21325 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21326 PyObject
*resultobj
= 0;
21327 wxDC
*arg1
= (wxDC
*) 0 ;
21331 PyObject
*swig_obj
[1] ;
21333 if (!args
) SWIG_fail
;
21334 swig_obj
[0] = args
;
21335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21336 if (!SWIG_IsOK(res1
)) {
21337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21353 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21354 PyObject
*resultobj
= 0;
21355 wxDC
*arg1
= (wxDC
*) 0 ;
21356 int *arg2
= (int *) 0 ;
21357 int *arg3
= (int *) 0 ;
21361 int res2
= SWIG_TMPOBJ
;
21363 int res3
= SWIG_TMPOBJ
;
21364 PyObject
*swig_obj
[1] ;
21368 if (!args
) SWIG_fail
;
21369 swig_obj
[0] = args
;
21370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21371 if (!SWIG_IsOK(res1
)) {
21372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_Py_Void();
21382 if (SWIG_IsTmpObj(res2
)) {
21383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21385 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21388 if (SWIG_IsTmpObj(res3
)) {
21389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21391 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21400 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
= 0;
21402 wxDC
*arg1
= (wxDC
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 PyObject
* obj1
= 0 ;
21411 char * kwnames
[] = {
21412 (char *) "self",(char *) "x", NULL
21415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21422 if (!SWIG_IsOK(ecode2
)) {
21423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21425 arg2
= static_cast< int >(val2
);
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_From_int(static_cast< int >(result
));
21439 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= 0;
21441 wxDC
*arg1
= (wxDC
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 char * kwnames
[] = {
21451 (char *) "self",(char *) "y", NULL
21454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21456 if (!SWIG_IsOK(res1
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21461 if (!SWIG_IsOK(ecode2
)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21464 arg2
= static_cast< int >(val2
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_From_int(static_cast< int >(result
));
21478 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
= 0;
21480 wxDC
*arg1
= (wxDC
*) 0 ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char * kwnames
[] = {
21490 (char *) "self",(char *) "x", NULL
21493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21495 if (!SWIG_IsOK(res1
)) {
21496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21500 if (!SWIG_IsOK(ecode2
)) {
21501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21503 arg2
= static_cast< int >(val2
);
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_From_int(static_cast< int >(result
));
21517 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
= 0;
21519 wxDC
*arg1
= (wxDC
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char * kwnames
[] = {
21529 (char *) "self",(char *) "y", NULL
21532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21539 if (!SWIG_IsOK(ecode2
)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21542 arg2
= static_cast< int >(val2
);
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_From_int(static_cast< int >(result
));
21556 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
= 0;
21558 wxDC
*arg1
= (wxDC
*) 0 ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 char * kwnames
[] = {
21568 (char *) "self",(char *) "x", NULL
21571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21573 if (!SWIG_IsOK(res1
)) {
21574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21578 if (!SWIG_IsOK(ecode2
)) {
21579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21581 arg2
= static_cast< int >(val2
);
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_From_int(static_cast< int >(result
));
21595 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
= 0;
21597 wxDC
*arg1
= (wxDC
*) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 PyObject
* obj1
= 0 ;
21606 char * kwnames
[] = {
21607 (char *) "self",(char *) "y", NULL
21610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21617 if (!SWIG_IsOK(ecode2
)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21620 arg2
= static_cast< int >(val2
);
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_From_int(static_cast< int >(result
));
21634 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
= 0;
21636 wxDC
*arg1
= (wxDC
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char * kwnames
[] = {
21646 (char *) "self",(char *) "x", NULL
21649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21651 if (!SWIG_IsOK(res1
)) {
21652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21656 if (!SWIG_IsOK(ecode2
)) {
21657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21659 arg2
= static_cast< int >(val2
);
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_From_int(static_cast< int >(result
));
21673 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
= 0;
21675 wxDC
*arg1
= (wxDC
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char * kwnames
[] = {
21685 (char *) "self",(char *) "y", NULL
21688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21690 if (!SWIG_IsOK(res1
)) {
21691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21695 if (!SWIG_IsOK(ecode2
)) {
21696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21698 arg2
= static_cast< int >(val2
);
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 resultobj
= SWIG_From_int(static_cast< int >(result
));
21712 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21713 PyObject
*resultobj
= 0;
21714 wxDC
*arg1
= (wxDC
*) 0 ;
21718 PyObject
*swig_obj
[1] ;
21720 if (!args
) SWIG_fail
;
21721 swig_obj
[0] = args
;
21722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21723 if (!SWIG_IsOK(res1
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21742 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21743 PyObject
*resultobj
= 0;
21744 wxDC
*arg1
= (wxDC
*) 0 ;
21748 PyObject
*swig_obj
[1] ;
21750 if (!args
) SWIG_fail
;
21751 swig_obj
[0] = args
;
21752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21753 if (!SWIG_IsOK(res1
)) {
21754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21772 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21773 PyObject
*resultobj
= 0;
21774 wxDC
*arg1
= (wxDC
*) 0 ;
21778 PyObject
*swig_obj
[1] ;
21780 if (!args
) SWIG_fail
;
21781 swig_obj
[0] = args
;
21782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= SWIG_From_int(static_cast< int >(result
));
21800 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21801 PyObject
*resultobj
= 0;
21802 wxDC
*arg1
= (wxDC
*) 0 ;
21806 PyObject
*swig_obj
[1] ;
21808 if (!args
) SWIG_fail
;
21809 swig_obj
[0] = args
;
21810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21811 if (!SWIG_IsOK(res1
)) {
21812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= ((wxDC
const *)arg1
)->GetPPI();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21828 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21829 PyObject
*resultobj
= 0;
21830 wxDC
*arg1
= (wxDC
*) 0 ;
21834 PyObject
*swig_obj
[1] ;
21836 if (!args
) SWIG_fail
;
21837 swig_obj
[0] = args
;
21838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21839 if (!SWIG_IsOK(res1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21858 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21859 PyObject
*resultobj
= 0;
21860 wxDC
*arg1
= (wxDC
*) 0 ;
21864 PyObject
*swig_obj
[1] ;
21866 if (!args
) SWIG_fail
;
21867 swig_obj
[0] = args
;
21868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21869 if (!SWIG_IsOK(res1
)) {
21870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21876 wxPyEndAllowThreads(__tstate
);
21877 if (PyErr_Occurred()) SWIG_fail
;
21879 resultobj
= SWIG_From_int(static_cast< int >(result
));
21886 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21887 PyObject
*resultobj
= 0;
21888 wxDC
*arg1
= (wxDC
*) 0 ;
21889 wxBrush
*result
= 0 ;
21892 PyObject
*swig_obj
[1] ;
21894 if (!args
) SWIG_fail
;
21895 swig_obj
[0] = args
;
21896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21897 if (!SWIG_IsOK(res1
)) {
21898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21905 result
= (wxBrush
*) &_result_ref
;
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 wxBrush
* resultptr
= new wxBrush(*result
);
21912 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21920 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21921 PyObject
*resultobj
= 0;
21922 wxDC
*arg1
= (wxDC
*) 0 ;
21923 wxBrush
*result
= 0 ;
21926 PyObject
*swig_obj
[1] ;
21928 if (!args
) SWIG_fail
;
21929 swig_obj
[0] = args
;
21930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21931 if (!SWIG_IsOK(res1
)) {
21932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21939 result
= (wxBrush
*) &_result_ref
;
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21945 wxBrush
* resultptr
= new wxBrush(*result
);
21946 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21954 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21955 PyObject
*resultobj
= 0;
21956 wxDC
*arg1
= (wxDC
*) 0 ;
21957 wxFont
*result
= 0 ;
21960 PyObject
*swig_obj
[1] ;
21962 if (!args
) SWIG_fail
;
21963 swig_obj
[0] = args
;
21964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21965 if (!SWIG_IsOK(res1
)) {
21966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21973 result
= (wxFont
*) &_result_ref
;
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 wxFont
* resultptr
= new wxFont(*result
);
21980 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21988 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21989 PyObject
*resultobj
= 0;
21990 wxDC
*arg1
= (wxDC
*) 0 ;
21991 wxPen
*result
= 0 ;
21994 PyObject
*swig_obj
[1] ;
21996 if (!args
) SWIG_fail
;
21997 swig_obj
[0] = args
;
21998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21999 if (!SWIG_IsOK(res1
)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22007 result
= (wxPen
*) &_result_ref
;
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 wxPen
* resultptr
= new wxPen(*result
);
22014 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22022 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22023 PyObject
*resultobj
= 0;
22024 wxDC
*arg1
= (wxDC
*) 0 ;
22025 wxColour
*result
= 0 ;
22028 PyObject
*swig_obj
[1] ;
22030 if (!args
) SWIG_fail
;
22031 swig_obj
[0] = args
;
22032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22033 if (!SWIG_IsOK(res1
)) {
22034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22041 result
= (wxColour
*) &_result_ref
;
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22053 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22054 PyObject
*resultobj
= 0;
22055 wxDC
*arg1
= (wxDC
*) 0 ;
22056 wxColour
*result
= 0 ;
22059 PyObject
*swig_obj
[1] ;
22061 if (!args
) SWIG_fail
;
22062 swig_obj
[0] = args
;
22063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22064 if (!SWIG_IsOK(res1
)) {
22065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22072 result
= (wxColour
*) &_result_ref
;
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22084 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
= 0;
22086 wxDC
*arg1
= (wxDC
*) 0 ;
22087 wxColour
*arg2
= 0 ;
22091 PyObject
* obj0
= 0 ;
22092 PyObject
* obj1
= 0 ;
22093 char * kwnames
[] = {
22094 (char *) "self",(char *) "colour", NULL
22097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22099 if (!SWIG_IsOK(res1
)) {
22100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22105 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= SWIG_Py_Void();
22120 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22121 PyObject
*resultobj
= 0;
22122 wxDC
*arg1
= (wxDC
*) 0 ;
22123 wxColour
*arg2
= 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 char * kwnames
[] = {
22130 (char *) "self",(char *) "colour", NULL
22133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22135 if (!SWIG_IsOK(res1
)) {
22136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22141 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= SWIG_Py_Void();
22156 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22157 PyObject
*resultobj
= 0;
22158 wxDC
*arg1
= (wxDC
*) 0 ;
22162 PyObject
*swig_obj
[1] ;
22164 if (!args
) SWIG_fail
;
22165 swig_obj
[0] = args
;
22166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_From_int(static_cast< int >(result
));
22184 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
= 0;
22186 wxDC
*arg1
= (wxDC
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 char * kwnames
[] = {
22195 (char *) "self",(char *) "mode", NULL
22198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22200 if (!SWIG_IsOK(res1
)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22205 if (!SWIG_IsOK(ecode2
)) {
22206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22208 arg2
= static_cast< int >(val2
);
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 (arg1
)->SetMapMode(arg2
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_Py_Void();
22222 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxDC
*arg1
= (wxDC
*) 0 ;
22225 double *arg2
= (double *) 0 ;
22226 double *arg3
= (double *) 0 ;
22230 int res2
= SWIG_TMPOBJ
;
22232 int res3
= SWIG_TMPOBJ
;
22233 PyObject
*swig_obj
[1] ;
22237 if (!args
) SWIG_fail
;
22238 swig_obj
[0] = args
;
22239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22240 if (!SWIG_IsOK(res1
)) {
22241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_Py_Void();
22251 if (SWIG_IsTmpObj(res2
)) {
22252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22257 if (SWIG_IsTmpObj(res3
)) {
22258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22269 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
= 0;
22271 wxDC
*arg1
= (wxDC
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 PyObject
* obj2
= 0 ;
22283 char * kwnames
[] = {
22284 (char *) "self",(char *) "x",(char *) "y", NULL
22287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22289 if (!SWIG_IsOK(res1
)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22293 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22294 if (!SWIG_IsOK(ecode2
)) {
22295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22297 arg2
= static_cast< double >(val2
);
22298 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22299 if (!SWIG_IsOK(ecode3
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22302 arg3
= static_cast< double >(val3
);
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 (arg1
)->SetUserScale(arg2
,arg3
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= SWIG_Py_Void();
22316 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22317 PyObject
*resultobj
= 0;
22318 wxDC
*arg1
= (wxDC
*) 0 ;
22319 double *arg2
= (double *) 0 ;
22320 double *arg3
= (double *) 0 ;
22324 int res2
= SWIG_TMPOBJ
;
22326 int res3
= SWIG_TMPOBJ
;
22327 PyObject
*swig_obj
[1] ;
22331 if (!args
) SWIG_fail
;
22332 swig_obj
[0] = args
;
22333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22334 if (!SWIG_IsOK(res1
)) {
22335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->GetLogicalScale(arg2
,arg3
);
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= SWIG_Py_Void();
22345 if (SWIG_IsTmpObj(res2
)) {
22346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22348 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22351 if (SWIG_IsTmpObj(res3
)) {
22352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22354 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22363 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
= 0;
22365 wxDC
*arg1
= (wxDC
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 PyObject
* obj2
= 0 ;
22377 char * kwnames
[] = {
22378 (char *) "self",(char *) "x",(char *) "y", NULL
22381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22383 if (!SWIG_IsOK(res1
)) {
22384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22387 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22388 if (!SWIG_IsOK(ecode2
)) {
22389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22391 arg2
= static_cast< double >(val2
);
22392 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22393 if (!SWIG_IsOK(ecode3
)) {
22394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22396 arg3
= static_cast< double >(val3
);
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 (arg1
)->SetLogicalScale(arg2
,arg3
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_Py_Void();
22410 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22411 PyObject
*resultobj
= 0;
22412 wxDC
*arg1
= (wxDC
*) 0 ;
22416 PyObject
*swig_obj
[1] ;
22418 if (!args
) SWIG_fail
;
22419 swig_obj
[0] = args
;
22420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22421 if (!SWIG_IsOK(res1
)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22438 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22439 PyObject
*resultobj
= 0;
22440 wxDC
*arg1
= (wxDC
*) 0 ;
22441 int *arg2
= (int *) 0 ;
22442 int *arg3
= (int *) 0 ;
22446 int res2
= SWIG_TMPOBJ
;
22448 int res3
= SWIG_TMPOBJ
;
22449 PyObject
*swig_obj
[1] ;
22453 if (!args
) SWIG_fail
;
22454 swig_obj
[0] = args
;
22455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22456 if (!SWIG_IsOK(res1
)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_Py_Void();
22467 if (SWIG_IsTmpObj(res2
)) {
22468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22470 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22473 if (SWIG_IsTmpObj(res3
)) {
22474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22476 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22485 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
= 0;
22487 wxDC
*arg1
= (wxDC
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 PyObject
* obj2
= 0 ;
22499 char * kwnames
[] = {
22500 (char *) "self",(char *) "x",(char *) "y", NULL
22503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22505 if (!SWIG_IsOK(res1
)) {
22506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22508 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22510 if (!SWIG_IsOK(ecode2
)) {
22511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22513 arg2
= static_cast< int >(val2
);
22514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22515 if (!SWIG_IsOK(ecode3
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22518 arg3
= static_cast< int >(val3
);
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= SWIG_Py_Void();
22532 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
= 0;
22534 wxDC
*arg1
= (wxDC
*) 0 ;
22535 wxPoint
*arg2
= 0 ;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 char * kwnames
[] = {
22542 (char *) "self",(char *) "point", NULL
22545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22547 if (!SWIG_IsOK(res1
)) {
22548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_Py_Void();
22568 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22569 PyObject
*resultobj
= 0;
22570 wxDC
*arg1
= (wxDC
*) 0 ;
22574 PyObject
*swig_obj
[1] ;
22576 if (!args
) SWIG_fail
;
22577 swig_obj
[0] = args
;
22578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22579 if (!SWIG_IsOK(res1
)) {
22580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22596 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22597 PyObject
*resultobj
= 0;
22598 wxDC
*arg1
= (wxDC
*) 0 ;
22599 int *arg2
= (int *) 0 ;
22600 int *arg3
= (int *) 0 ;
22604 int res2
= SWIG_TMPOBJ
;
22606 int res3
= SWIG_TMPOBJ
;
22607 PyObject
*swig_obj
[1] ;
22611 if (!args
) SWIG_fail
;
22612 swig_obj
[0] = args
;
22613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_Py_Void();
22625 if (SWIG_IsTmpObj(res2
)) {
22626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22628 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22631 if (SWIG_IsTmpObj(res3
)) {
22632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22634 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22643 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
= 0;
22645 wxDC
*arg1
= (wxDC
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 PyObject
* obj1
= 0 ;
22656 PyObject
* obj2
= 0 ;
22657 char * kwnames
[] = {
22658 (char *) "self",(char *) "x",(char *) "y", NULL
22661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22663 if (!SWIG_IsOK(res1
)) {
22664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22668 if (!SWIG_IsOK(ecode2
)) {
22669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22671 arg2
= static_cast< int >(val2
);
22672 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22673 if (!SWIG_IsOK(ecode3
)) {
22674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22676 arg3
= static_cast< int >(val3
);
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_Py_Void();
22690 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
= 0;
22692 wxDC
*arg1
= (wxDC
*) 0 ;
22693 wxPoint
*arg2
= 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char * kwnames
[] = {
22700 (char *) "self",(char *) "point", NULL
22703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 resultobj
= SWIG_Py_Void();
22726 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
= 0;
22728 wxDC
*arg1
= (wxDC
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 PyObject
* obj2
= 0 ;
22740 char * kwnames
[] = {
22741 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22746 if (!SWIG_IsOK(res1
)) {
22747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22750 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22751 if (!SWIG_IsOK(ecode2
)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22754 arg2
= static_cast< bool >(val2
);
22755 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22756 if (!SWIG_IsOK(ecode3
)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22759 arg3
= static_cast< bool >(val3
);
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_Py_Void();
22773 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22774 PyObject
*resultobj
= 0;
22775 wxDC
*arg1
= (wxDC
*) 0 ;
22779 PyObject
*swig_obj
[1] ;
22781 if (!args
) SWIG_fail
;
22782 swig_obj
[0] = args
;
22783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22784 if (!SWIG_IsOK(res1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= SWIG_From_int(static_cast< int >(result
));
22801 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
= 0;
22803 wxDC
*arg1
= (wxDC
*) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 PyObject
* obj1
= 0 ;
22811 char * kwnames
[] = {
22812 (char *) "self",(char *) "function", NULL
22815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22817 if (!SWIG_IsOK(res1
)) {
22818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22822 if (!SWIG_IsOK(ecode2
)) {
22823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22825 arg2
= static_cast< int >(val2
);
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 (arg1
)->SetLogicalFunction(arg2
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_Py_Void();
22839 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22840 PyObject
*resultobj
= 0;
22841 wxDC
*arg1
= (wxDC
*) 0 ;
22844 PyObject
*swig_obj
[1] ;
22846 if (!args
) SWIG_fail
;
22847 swig_obj
[0] = args
;
22848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22849 if (!SWIG_IsOK(res1
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->ComputeScaleAndOrigin();
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_Py_Void();
22866 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
= 0;
22868 wxDC
*arg1
= (wxDC
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 PyObject
* obj1
= 0 ;
22879 PyObject
* obj2
= 0 ;
22880 char * kwnames
[] = {
22881 (char *) "self",(char *) "x",(char *) "y", NULL
22884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22886 if (!SWIG_IsOK(res1
)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22889 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22891 if (!SWIG_IsOK(ecode2
)) {
22892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22894 arg2
= static_cast< int >(val2
);
22895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22896 if (!SWIG_IsOK(ecode3
)) {
22897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22899 arg3
= static_cast< int >(val3
);
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= SWIG_Py_Void();
22913 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22914 PyObject
*resultobj
= 0;
22915 wxDC
*arg1
= (wxDC
*) 0 ;
22916 wxPoint
*arg2
= 0 ;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 char * kwnames
[] = {
22923 (char *) "self",(char *) "point", NULL
22926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_Py_Void();
22949 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 PyObject
*resultobj
= 0;
22951 wxDC
*arg1
= (wxDC
*) 0 ;
22954 PyObject
*swig_obj
[1] ;
22956 if (!args
) SWIG_fail
;
22957 swig_obj
[0] = args
;
22958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22959 if (!SWIG_IsOK(res1
)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->ResetBoundingBox();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxDC
*arg1
= (wxDC
*) 0 ;
22982 PyObject
*swig_obj
[1] ;
22984 if (!args
) SWIG_fail
;
22985 swig_obj
[0] = args
;
22986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (int)((wxDC
const *)arg1
)->MinX();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_From_int(static_cast< int >(result
));
23004 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23005 PyObject
*resultobj
= 0;
23006 wxDC
*arg1
= (wxDC
*) 0 ;
23010 PyObject
*swig_obj
[1] ;
23012 if (!args
) SWIG_fail
;
23013 swig_obj
[0] = args
;
23014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (int)((wxDC
const *)arg1
)->MaxX();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_From_int(static_cast< int >(result
));
23032 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 PyObject
*resultobj
= 0;
23034 wxDC
*arg1
= (wxDC
*) 0 ;
23038 PyObject
*swig_obj
[1] ;
23040 if (!args
) SWIG_fail
;
23041 swig_obj
[0] = args
;
23042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 result
= (int)((wxDC
const *)arg1
)->MinY();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_From_int(static_cast< int >(result
));
23060 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23061 PyObject
*resultobj
= 0;
23062 wxDC
*arg1
= (wxDC
*) 0 ;
23066 PyObject
*swig_obj
[1] ;
23068 if (!args
) SWIG_fail
;
23069 swig_obj
[0] = args
;
23070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23071 if (!SWIG_IsOK(res1
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (int)((wxDC
const *)arg1
)->MaxY();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_From_int(static_cast< int >(result
));
23088 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 PyObject
*resultobj
= 0;
23090 wxDC
*arg1
= (wxDC
*) 0 ;
23091 int *arg2
= (int *) 0 ;
23092 int *arg3
= (int *) 0 ;
23093 int *arg4
= (int *) 0 ;
23094 int *arg5
= (int *) 0 ;
23098 int res2
= SWIG_TMPOBJ
;
23100 int res3
= SWIG_TMPOBJ
;
23102 int res4
= SWIG_TMPOBJ
;
23104 int res5
= SWIG_TMPOBJ
;
23105 PyObject
*swig_obj
[1] ;
23111 if (!args
) SWIG_fail
;
23112 swig_obj
[0] = args
;
23113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= SWIG_Py_Void();
23125 if (SWIG_IsTmpObj(res2
)) {
23126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23128 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23131 if (SWIG_IsTmpObj(res3
)) {
23132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23134 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23137 if (SWIG_IsTmpObj(res4
)) {
23138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23140 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23143 if (SWIG_IsTmpObj(res5
)) {
23144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23146 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23155 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23156 PyObject
*resultobj
= 0;
23157 wxDC
*arg1
= (wxDC
*) 0 ;
23158 wxLayoutDirection result
;
23161 PyObject
*swig_obj
[1] ;
23163 if (!args
) SWIG_fail
;
23164 swig_obj
[0] = args
;
23165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23166 if (!SWIG_IsOK(res1
)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= SWIG_From_int(static_cast< int >(result
));
23183 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
= 0;
23185 wxDC
*arg1
= (wxDC
*) 0 ;
23186 wxLayoutDirection arg2
;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 char * kwnames
[] = {
23194 (char *) "self",(char *) "dir", NULL
23197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23199 if (!SWIG_IsOK(res1
)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23204 if (!SWIG_IsOK(ecode2
)) {
23205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23207 arg2
= static_cast< wxLayoutDirection
>(val2
);
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 (arg1
)->SetLayoutDirection(arg2
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_Py_Void();
23221 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
= 0;
23223 wxDC
*arg1
= (wxDC
*) 0 ;
23224 PyObject
*arg2
= (PyObject
*) 0 ;
23225 PyObject
*arg3
= (PyObject
*) 0 ;
23226 PyObject
*arg4
= (PyObject
*) 0 ;
23227 PyObject
*result
= 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 PyObject
* obj2
= 0 ;
23233 PyObject
* obj3
= 0 ;
23234 char * kwnames
[] = {
23235 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23240 if (!SWIG_IsOK(res1
)) {
23241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= result
;
23260 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
= 0;
23262 wxDC
*arg1
= (wxDC
*) 0 ;
23263 PyObject
*arg2
= (PyObject
*) 0 ;
23264 PyObject
*arg3
= (PyObject
*) 0 ;
23265 PyObject
*arg4
= (PyObject
*) 0 ;
23266 PyObject
*result
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 PyObject
* obj2
= 0 ;
23272 PyObject
* obj3
= 0 ;
23273 char * kwnames
[] = {
23274 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 resultobj
= result
;
23299 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
= 0;
23301 wxDC
*arg1
= (wxDC
*) 0 ;
23302 PyObject
*arg2
= (PyObject
*) 0 ;
23303 PyObject
*arg3
= (PyObject
*) 0 ;
23304 PyObject
*arg4
= (PyObject
*) 0 ;
23305 PyObject
*result
= 0 ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 PyObject
* obj2
= 0 ;
23311 PyObject
* obj3
= 0 ;
23312 char * kwnames
[] = {
23313 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23318 if (!SWIG_IsOK(res1
)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= result
;
23338 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
= 0;
23340 wxDC
*arg1
= (wxDC
*) 0 ;
23341 PyObject
*arg2
= (PyObject
*) 0 ;
23342 PyObject
*arg3
= (PyObject
*) 0 ;
23343 PyObject
*arg4
= (PyObject
*) 0 ;
23344 PyObject
*result
= 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 PyObject
* obj2
= 0 ;
23350 PyObject
* obj3
= 0 ;
23351 char * kwnames
[] = {
23352 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
;
23377 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= 0;
23379 wxDC
*arg1
= (wxDC
*) 0 ;
23380 PyObject
*arg2
= (PyObject
*) 0 ;
23381 PyObject
*arg3
= (PyObject
*) 0 ;
23382 PyObject
*arg4
= (PyObject
*) 0 ;
23383 PyObject
*result
= 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 PyObject
* obj3
= 0 ;
23390 char * kwnames
[] = {
23391 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= result
;
23416 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
= 0;
23418 wxDC
*arg1
= (wxDC
*) 0 ;
23419 PyObject
*arg2
= (PyObject
*) 0 ;
23420 PyObject
*arg3
= (PyObject
*) 0 ;
23421 PyObject
*arg4
= (PyObject
*) 0 ;
23422 PyObject
*arg5
= (PyObject
*) 0 ;
23423 PyObject
*result
= 0 ;
23426 PyObject
* obj0
= 0 ;
23427 PyObject
* obj1
= 0 ;
23428 PyObject
* obj2
= 0 ;
23429 PyObject
* obj3
= 0 ;
23430 PyObject
* obj4
= 0 ;
23431 char * kwnames
[] = {
23432 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= result
;
23458 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23461 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23462 return SWIG_Py_Void();
23465 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
= 0;
23468 wxColour
*arg2
= 0 ;
23469 wxDCTextColourChanger
*result
= 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 char * kwnames
[] = {
23476 (char *) "dc",(char *) "col", NULL
23479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23480 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23481 if (!SWIG_IsOK(res1
)) {
23482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23505 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23506 PyObject
*resultobj
= 0;
23507 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23510 PyObject
*swig_obj
[1] ;
23512 if (!args
) SWIG_fail
;
23513 swig_obj
[0] = args
;
23514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23515 if (!SWIG_IsOK(res1
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23518 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_Py_Void();
23533 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23536 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23537 return SWIG_Py_Void();
23540 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23541 return SWIG_Python_InitShadowInstance(args
);
23544 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
= 0;
23548 wxDCPenChanger
*result
= 0 ;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 char * kwnames
[] = {
23556 (char *) "dc",(char *) "pen", NULL
23559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23560 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23569 if (!SWIG_IsOK(res2
)) {
23570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23575 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23589 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23590 PyObject
*resultobj
= 0;
23591 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23594 PyObject
*swig_obj
[1] ;
23596 if (!args
) SWIG_fail
;
23597 swig_obj
[0] = args
;
23598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23599 if (!SWIG_IsOK(res1
)) {
23600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23602 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_Py_Void();
23617 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23620 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23621 return SWIG_Py_Void();
23624 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23625 return SWIG_Python_InitShadowInstance(args
);
23628 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
= 0;
23631 wxBrush
*arg2
= 0 ;
23632 wxDCBrushChanger
*result
= 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char * kwnames
[] = {
23640 (char *) "dc",(char *) "brush", NULL
23643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23644 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23653 if (!SWIG_IsOK(res2
)) {
23654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23659 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23673 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 PyObject
*resultobj
= 0;
23675 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23678 PyObject
*swig_obj
[1] ;
23680 if (!args
) SWIG_fail
;
23681 swig_obj
[0] = args
;
23682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23686 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_Py_Void();
23701 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23704 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23705 return SWIG_Py_Void();
23708 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23709 return SWIG_Python_InitShadowInstance(args
);
23712 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23713 PyObject
*resultobj
= 0;
23715 wxRegion
*arg2
= 0 ;
23716 wxDCClipper
*result
= 0 ;
23722 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23724 if (!SWIG_IsOK(res1
)) {
23725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23731 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23732 if (!SWIG_IsOK(res2
)) {
23733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23738 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23752 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23753 PyObject
*resultobj
= 0;
23756 wxDCClipper
*result
= 0 ;
23761 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23772 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23787 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23788 PyObject
*resultobj
= 0;
23794 wxDCClipper
*result
= 0 ;
23806 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23808 if (!SWIG_IsOK(res1
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23815 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23816 if (!SWIG_IsOK(ecode2
)) {
23817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23819 arg2
= static_cast< int >(val2
);
23820 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23821 if (!SWIG_IsOK(ecode3
)) {
23822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23824 arg3
= static_cast< int >(val3
);
23825 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23826 if (!SWIG_IsOK(ecode4
)) {
23827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23829 arg4
= static_cast< int >(val4
);
23830 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23831 if (!SWIG_IsOK(ecode5
)) {
23832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23834 arg5
= static_cast< int >(val5
);
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23848 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23852 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23857 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23858 _v
= SWIG_CheckState(res
);
23860 if (!_v
) goto check_1
;
23861 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23866 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23869 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23873 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23878 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23879 PyObject
*resultobj
= 0;
23880 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23883 PyObject
*swig_obj
[1] ;
23885 if (!args
) SWIG_fail
;
23886 swig_obj
[0] = args
;
23887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23888 if (!SWIG_IsOK(res1
)) {
23889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23891 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_Py_Void();
23906 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23909 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23910 return SWIG_Py_Void();
23913 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23914 return SWIG_Python_InitShadowInstance(args
);
23917 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
= 0;
23919 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
23920 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23921 wxMemoryDC
*result
= 0 ;
23924 PyObject
* obj0
= 0 ;
23925 char * kwnames
[] = {
23926 (char *) "bitmap", NULL
23929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23931 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23938 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23941 if (!wxPyCheckForApp()) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23954 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
= 0;
23956 wxDC
*arg1
= (wxDC
*) 0 ;
23957 wxMemoryDC
*result
= 0 ;
23960 PyObject
* obj0
= 0 ;
23961 char * kwnames
[] = {
23962 (char *) "oldDC", NULL
23965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23967 if (!SWIG_IsOK(res1
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23972 if (!wxPyCheckForApp()) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23985 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
= 0;
23987 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23988 wxBitmap
*arg2
= 0 ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 char * kwnames
[] = {
23996 (char *) "self",(char *) "bitmap", NULL
23999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24001 if (!SWIG_IsOK(res1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24004 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24006 if (!SWIG_IsOK(res2
)) {
24007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24012 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 (arg1
)->SelectObject(*arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= SWIG_Py_Void();
24026 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
= 0;
24028 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24029 wxBitmap
*arg2
= 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char * kwnames
[] = {
24037 (char *) "self",(char *) "bmp", NULL
24040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24042 if (!SWIG_IsOK(res1
)) {
24043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24045 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24047 if (!SWIG_IsOK(res2
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24053 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= SWIG_Py_Void();
24067 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24070 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24071 return SWIG_Py_Void();
24074 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24075 return SWIG_Python_InitShadowInstance(args
);
24078 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24079 PyObject
*resultobj
= 0;
24080 wxScreenDC
*result
= 0 ;
24082 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24084 if (!wxPyCheckForApp()) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (wxScreenDC
*)new wxScreenDC();
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24097 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24100 wxWindow
*arg2
= (wxWindow
*) 0 ;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 char * kwnames
[] = {
24109 (char *) "self",(char *) "window", NULL
24112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24117 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24119 if (!SWIG_IsOK(res2
)) {
24120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24122 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24138 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
= 0;
24140 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24141 wxRect
*arg2
= (wxRect
*) NULL
;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "self",(char *) "rect", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24158 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24161 if (!SWIG_IsOK(res2
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24164 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24181 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24182 PyObject
*resultobj
= 0;
24183 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24187 PyObject
*swig_obj
[1] ;
24189 if (!args
) SWIG_fail
;
24190 swig_obj
[0] = args
;
24191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24195 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (bool)(arg1
)->EndDrawingOnTop();
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24211 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24214 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24215 return SWIG_Py_Void();
24218 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24219 return SWIG_Python_InitShadowInstance(args
);
24222 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
= 0;
24224 wxWindow
*arg1
= (wxWindow
*) 0 ;
24225 wxWindowDC
*result
= 0 ;
24228 PyObject
* obj0
= 0 ;
24229 char * kwnames
[] = {
24230 (char *) "win", NULL
24233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24235 if (!SWIG_IsOK(res1
)) {
24236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24240 if (!wxPyCheckForApp()) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24253 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24256 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24257 return SWIG_Py_Void();
24260 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24261 return SWIG_Python_InitShadowInstance(args
);
24264 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
= 0;
24266 wxWindow
*arg1
= (wxWindow
*) 0 ;
24267 wxClientDC
*result
= 0 ;
24270 PyObject
* obj0
= 0 ;
24271 char * kwnames
[] = {
24272 (char *) "win", NULL
24275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24277 if (!SWIG_IsOK(res1
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24282 if (!wxPyCheckForApp()) SWIG_fail
;
24283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 result
= (wxClientDC
*)new wxClientDC(arg1
);
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24295 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24298 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24299 return SWIG_Py_Void();
24302 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24303 return SWIG_Python_InitShadowInstance(args
);
24306 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 wxWindow
*arg1
= (wxWindow
*) 0 ;
24309 wxPaintDC
*result
= 0 ;
24312 PyObject
* obj0
= 0 ;
24313 char * kwnames
[] = {
24314 (char *) "win", NULL
24317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24319 if (!SWIG_IsOK(res1
)) {
24320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24324 if (!wxPyCheckForApp()) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24337 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24341 return SWIG_Py_Void();
24344 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24345 return SWIG_Python_InitShadowInstance(args
);
24348 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24349 PyObject
*resultobj
= 0;
24350 wxDC
*arg1
= (wxDC
*) 0 ;
24351 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24352 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24353 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24354 wxBufferedDC
*result
= 0 ;
24362 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24369 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24370 if (!SWIG_IsOK(res2
)) {
24371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24376 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24379 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24380 if (!SWIG_IsOK(ecode3
)) {
24381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24383 arg3
= static_cast< int >(val3
);
24386 if (!wxPyCheckForApp()) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24399 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24400 PyObject
*resultobj
= 0;
24401 wxDC
*arg1
= (wxDC
*) 0 ;
24403 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24404 wxBufferedDC
*result
= 0 ;
24411 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24413 if (!SWIG_IsOK(res1
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24419 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24422 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24423 if (!SWIG_IsOK(ecode3
)) {
24424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24426 arg3
= static_cast< int >(val3
);
24429 if (!wxPyCheckForApp()) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24442 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24446 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24448 if ((argc
>= 1) && (argc
<= 3)) {
24453 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24454 _v
= SWIG_CheckState(res
);
24456 if (!_v
) goto check_1
;
24458 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24462 if ((argc
>= 2) && (argc
<= 3)) {
24463 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24467 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24472 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24473 PyObject
*resultobj
= 0;
24474 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24477 PyObject
*swig_obj
[1] ;
24479 if (!args
) SWIG_fail
;
24480 swig_obj
[0] = args
;
24481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24482 if (!SWIG_IsOK(res1
)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24485 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= SWIG_Py_Void();
24500 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24501 PyObject
*resultobj
= 0;
24502 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24505 PyObject
*swig_obj
[1] ;
24507 if (!args
) SWIG_fail
;
24508 swig_obj
[0] = args
;
24509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24510 if (!SWIG_IsOK(res1
)) {
24511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24513 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_Py_Void();
24527 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
= 0;
24529 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char * kwnames
[] = {
24538 (char *) "self",(char *) "style", NULL
24541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24546 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24548 if (!SWIG_IsOK(ecode2
)) {
24549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24551 arg2
= static_cast< int >(val2
);
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 (arg1
)->SetStyle(arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= SWIG_Py_Void();
24565 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24566 PyObject
*resultobj
= 0;
24567 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24571 PyObject
*swig_obj
[1] ;
24573 if (!args
) SWIG_fail
;
24574 swig_obj
[0] = args
;
24575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24576 if (!SWIG_IsOK(res1
)) {
24577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24579 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_From_int(static_cast< int >(result
));
24593 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24596 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24597 return SWIG_Py_Void();
24600 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24601 return SWIG_Python_InitShadowInstance(args
);
24604 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
= 0;
24606 wxWindow
*arg1
= (wxWindow
*) 0 ;
24607 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24608 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24609 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24610 wxBufferedPaintDC
*result
= 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 PyObject
* obj2
= 0 ;
24620 char * kwnames
[] = {
24621 (char *) "window",(char *) "buffer",(char *) "style", NULL
24624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24626 if (!SWIG_IsOK(res1
)) {
24627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24632 if (!SWIG_IsOK(res2
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24638 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24642 if (!SWIG_IsOK(ecode3
)) {
24643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24645 arg3
= static_cast< int >(val3
);
24648 if (!wxPyCheckForApp()) SWIG_fail
;
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24661 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24664 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24665 return SWIG_Py_Void();
24668 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24669 return SWIG_Python_InitShadowInstance(args
);
24672 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
= 0;
24674 wxWindow
*arg1
= (wxWindow
*) 0 ;
24675 wxAutoBufferedPaintDC
*result
= 0 ;
24678 PyObject
* obj0
= 0 ;
24679 char * kwnames
[] = {
24680 (char *) "win", NULL
24683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24685 if (!SWIG_IsOK(res1
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24688 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24702 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24705 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24706 return SWIG_Py_Void();
24709 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24710 return SWIG_Python_InitShadowInstance(args
);
24713 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
= 0;
24715 wxWindow
*arg1
= (wxWindow
*) 0 ;
24719 PyObject
* obj0
= 0 ;
24720 char * kwnames
[] = {
24721 (char *) "window", NULL
24724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24726 if (!SWIG_IsOK(res1
)) {
24727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24745 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
= 0;
24749 wxMirrorDC
*result
= 0 ;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 char * kwnames
[] = {
24757 (char *) "dc",(char *) "mirror", NULL
24760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24761 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24762 if (!SWIG_IsOK(res1
)) {
24763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24769 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24770 if (!SWIG_IsOK(ecode2
)) {
24771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24773 arg2
= static_cast< bool >(val2
);
24775 if (!wxPyCheckForApp()) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24788 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24791 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24792 return SWIG_Py_Void();
24795 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24796 return SWIG_Python_InitShadowInstance(args
);
24799 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
= 0;
24801 wxPrintData
*arg1
= 0 ;
24802 wxPostScriptDC
*result
= 0 ;
24805 PyObject
* obj0
= 0 ;
24806 char * kwnames
[] = {
24807 (char *) "printData", NULL
24810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24811 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24812 if (!SWIG_IsOK(res1
)) {
24813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24818 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24820 if (!wxPyCheckForApp()) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24833 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24834 PyObject
*resultobj
= 0;
24835 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24836 wxPrintData
*result
= 0 ;
24839 PyObject
*swig_obj
[1] ;
24841 if (!args
) SWIG_fail
;
24842 swig_obj
[0] = args
;
24843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24844 if (!SWIG_IsOK(res1
)) {
24845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24847 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24852 result
= (wxPrintData
*) &_result_ref
;
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24864 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
= 0;
24866 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24867 wxPrintData
*arg2
= 0 ;
24872 PyObject
* obj0
= 0 ;
24873 PyObject
* obj1
= 0 ;
24874 char * kwnames
[] = {
24875 (char *) "self",(char *) "data", NULL
24878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24880 if (!SWIG_IsOK(res1
)) {
24881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24883 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24885 if (!SWIG_IsOK(res2
)) {
24886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24891 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= SWIG_Py_Void();
24905 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
= 0;
24910 PyObject
* obj0
= 0 ;
24911 char * kwnames
[] = {
24912 (char *) "ppi", NULL
24915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24916 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24917 if (!SWIG_IsOK(ecode1
)) {
24918 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24920 arg1
= static_cast< int >(val1
);
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 wxPostScriptDC::SetResolution(arg1
);
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= SWIG_Py_Void();
24934 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24935 PyObject
*resultobj
= 0;
24938 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (int)wxPostScriptDC::GetResolution();
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_From_int(static_cast< int >(result
));
24952 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24955 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24956 return SWIG_Py_Void();
24959 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24960 return SWIG_Python_InitShadowInstance(args
);
24963 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24964 PyObject
*resultobj
= 0;
24965 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24966 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24967 wxMetaFile
*result
= 0 ;
24968 bool temp1
= false ;
24969 PyObject
* obj0
= 0 ;
24970 char * kwnames
[] = {
24971 (char *) "filename", NULL
24974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24977 arg1
= wxString_in_helper(obj0
);
24978 if (arg1
== NULL
) SWIG_fail
;
24983 if (!wxPyCheckForApp()) SWIG_fail
;
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25004 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25007 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25008 return SWIG_Py_Void();
25011 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25012 return SWIG_Python_InitShadowInstance(args
);
25015 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
= 0;
25017 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25018 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25019 int arg2
= (int) 0 ;
25020 int arg3
= (int) 0 ;
25021 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25022 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25023 wxMetaFileDC
*result
= 0 ;
25024 bool temp1
= false ;
25029 bool temp4
= false ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 PyObject
* obj2
= 0 ;
25033 PyObject
* obj3
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25041 arg1
= wxString_in_helper(obj0
);
25042 if (arg1
== NULL
) SWIG_fail
;
25047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25048 if (!SWIG_IsOK(ecode2
)) {
25049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25051 arg2
= static_cast< int >(val2
);
25054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25055 if (!SWIG_IsOK(ecode3
)) {
25056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25058 arg3
= static_cast< int >(val3
);
25062 arg4
= wxString_in_helper(obj3
);
25063 if (arg4
== NULL
) SWIG_fail
;
25068 if (!wxPyCheckForApp()) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25097 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25100 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25101 return SWIG_Py_Void();
25104 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25105 return SWIG_Python_InitShadowInstance(args
);
25108 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
= 0;
25110 wxPrintData
*arg1
= 0 ;
25111 wxPrinterDC
*result
= 0 ;
25114 PyObject
* obj0
= 0 ;
25115 char * kwnames
[] = {
25116 (char *) "printData", NULL
25119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25120 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25121 if (!SWIG_IsOK(res1
)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25127 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25129 if (!wxPyCheckForApp()) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25142 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25146 return SWIG_Py_Void();
25149 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25150 return SWIG_Python_InitShadowInstance(args
);
25153 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
= 0;
25155 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25156 wxGraphicsObject
*result
= 0 ;
25159 PyObject
* obj0
= 0 ;
25160 char * kwnames
[] = {
25161 (char *) "renderer", NULL
25164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25170 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25173 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25183 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25184 PyObject
*resultobj
= 0;
25185 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25188 PyObject
*swig_obj
[1] ;
25190 if (!args
) SWIG_fail
;
25191 swig_obj
[0] = args
;
25192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25193 if (!SWIG_IsOK(res1
)) {
25194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25196 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= SWIG_Py_Void();
25209 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25210 PyObject
*resultobj
= 0;
25211 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25215 PyObject
*swig_obj
[1] ;
25217 if (!args
) SWIG_fail
;
25218 swig_obj
[0] = args
;
25219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25223 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25225 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25226 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25237 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25238 PyObject
*resultobj
= 0;
25239 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25240 wxGraphicsRenderer
*result
= 0 ;
25243 PyObject
*swig_obj
[1] ;
25245 if (!args
) SWIG_fail
;
25246 swig_obj
[0] = args
;
25247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25251 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25253 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25263 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25266 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25267 return SWIG_Py_Void();
25270 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25271 return SWIG_Python_InitShadowInstance(args
);
25274 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25275 PyObject
*resultobj
= 0;
25276 wxGraphicsPen
*result
= 0 ;
25278 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25280 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25290 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25291 PyObject
*resultobj
= 0;
25292 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25295 PyObject
*swig_obj
[1] ;
25297 if (!args
) SWIG_fail
;
25298 swig_obj
[0] = args
;
25299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25300 if (!SWIG_IsOK(res1
)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25303 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25309 resultobj
= SWIG_Py_Void();
25316 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25319 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25320 return SWIG_Py_Void();
25323 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 return SWIG_Python_InitShadowInstance(args
);
25327 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25328 PyObject
*resultobj
= 0;
25329 wxGraphicsBrush
*result
= 0 ;
25331 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25333 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25343 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 PyObject
*resultobj
= 0;
25345 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25348 PyObject
*swig_obj
[1] ;
25350 if (!args
) SWIG_fail
;
25351 swig_obj
[0] = args
;
25352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25353 if (!SWIG_IsOK(res1
)) {
25354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25356 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= SWIG_Py_Void();
25369 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25372 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25373 return SWIG_Py_Void();
25376 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25377 return SWIG_Python_InitShadowInstance(args
);
25380 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25381 PyObject
*resultobj
= 0;
25382 wxGraphicsFont
*result
= 0 ;
25384 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25386 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25396 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25397 PyObject
*resultobj
= 0;
25398 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25401 PyObject
*swig_obj
[1] ;
25403 if (!args
) SWIG_fail
;
25404 swig_obj
[0] = args
;
25405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25406 if (!SWIG_IsOK(res1
)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25409 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= SWIG_Py_Void();
25422 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25425 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25426 return SWIG_Py_Void();
25429 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25430 return SWIG_Python_InitShadowInstance(args
);
25433 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25434 PyObject
*resultobj
= 0;
25435 wxGraphicsMatrix
*result
= 0 ;
25437 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25439 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25449 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25450 PyObject
*resultobj
= 0;
25451 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25454 PyObject
*swig_obj
[1] ;
25456 if (!args
) SWIG_fail
;
25457 swig_obj
[0] = args
;
25458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25462 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_Py_Void();
25475 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25477 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25478 wxGraphicsMatrix
*arg2
= 0 ;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "self",(char *) "t", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25494 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25496 if (!SWIG_IsOK(res2
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25502 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25504 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_Py_Void();
25514 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
= 0;
25516 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25517 wxGraphicsMatrix
*arg2
= 0 ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 char * kwnames
[] = {
25525 (char *) "self",(char *) "t", NULL
25528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25530 if (!SWIG_IsOK(res1
)) {
25531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25533 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25535 if (!SWIG_IsOK(res2
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25541 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25543 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_Py_Void();
25553 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
= 0;
25555 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25556 wxDouble arg2
= (wxDouble
) 1.0 ;
25557 wxDouble arg3
= (wxDouble
) 0.0 ;
25558 wxDouble arg4
= (wxDouble
) 0.0 ;
25559 wxDouble arg5
= (wxDouble
) 1.0 ;
25560 wxDouble arg6
= (wxDouble
) 0.0 ;
25561 wxDouble arg7
= (wxDouble
) 0.0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 PyObject
* obj2
= 0 ;
25579 PyObject
* obj3
= 0 ;
25580 PyObject
* obj4
= 0 ;
25581 PyObject
* obj5
= 0 ;
25582 PyObject
* obj6
= 0 ;
25583 char * kwnames
[] = {
25584 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25589 if (!SWIG_IsOK(res1
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25592 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25594 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25595 if (!SWIG_IsOK(ecode2
)) {
25596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25598 arg2
= static_cast< wxDouble
>(val2
);
25601 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25602 if (!SWIG_IsOK(ecode3
)) {
25603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25605 arg3
= static_cast< wxDouble
>(val3
);
25608 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25609 if (!SWIG_IsOK(ecode4
)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25612 arg4
= static_cast< wxDouble
>(val4
);
25615 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25616 if (!SWIG_IsOK(ecode5
)) {
25617 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25619 arg5
= static_cast< wxDouble
>(val5
);
25622 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25623 if (!SWIG_IsOK(ecode6
)) {
25624 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25626 arg6
= static_cast< wxDouble
>(val6
);
25629 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25630 if (!SWIG_IsOK(ecode7
)) {
25631 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25633 arg7
= static_cast< wxDouble
>(val7
);
25636 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_Py_Void();
25646 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 PyObject
*resultobj
= 0;
25648 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_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25659 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_Py_Void();
25671 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
= 0;
25673 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25674 wxGraphicsMatrix
*arg2
= 0 ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 char * kwnames
[] = {
25683 (char *) "self",(char *) "t", NULL
25686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25691 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25693 if (!SWIG_IsOK(res2
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25699 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25701 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25713 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25714 PyObject
*resultobj
= 0;
25715 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25719 PyObject
*swig_obj
[1] ;
25721 if (!args
) SWIG_fail
;
25722 swig_obj
[0] = args
;
25723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25727 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25729 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25730 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25741 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
= 0;
25743 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 char * kwnames
[] = {
25756 (char *) "self",(char *) "dx",(char *) "dy", NULL
25759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25764 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25765 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25766 if (!SWIG_IsOK(ecode2
)) {
25767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25769 arg2
= static_cast< wxDouble
>(val2
);
25770 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25771 if (!SWIG_IsOK(ecode3
)) {
25772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25774 arg3
= static_cast< wxDouble
>(val3
);
25776 (arg1
)->Translate(arg2
,arg3
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= SWIG_Py_Void();
25786 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
= 0;
25788 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 PyObject
* obj2
= 0 ;
25800 char * kwnames
[] = {
25801 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25809 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25810 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25811 if (!SWIG_IsOK(ecode2
)) {
25812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25814 arg2
= static_cast< wxDouble
>(val2
);
25815 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25816 if (!SWIG_IsOK(ecode3
)) {
25817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25819 arg3
= static_cast< wxDouble
>(val3
);
25821 (arg1
)->Scale(arg2
,arg3
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 resultobj
= SWIG_Py_Void();
25831 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
= 0;
25833 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 char * kwnames
[] = {
25842 (char *) "self",(char *) "angle", NULL
25845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25850 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25851 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25852 if (!SWIG_IsOK(ecode2
)) {
25853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25855 arg2
= static_cast< wxDouble
>(val2
);
25857 (arg1
)->Rotate(arg2
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_Py_Void();
25867 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
= 0;
25869 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25870 wxDouble
*arg2
= (wxDouble
*) 0 ;
25871 wxDouble
*arg3
= (wxDouble
*) 0 ;
25878 PyObject
* obj0
= 0 ;
25879 PyObject
* obj1
= 0 ;
25880 PyObject
* obj2
= 0 ;
25881 char * kwnames
[] = {
25882 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25890 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25891 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25893 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25894 if (!SWIG_IsOK(ecode
)) {
25895 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25897 temp2
= static_cast< wxDouble
>(val
);
25899 res2
= SWIG_AddTmpMask(ecode
);
25901 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25903 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25904 if (!SWIG_IsOK(ecode
)) {
25905 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25907 temp3
= static_cast< wxDouble
>(val
);
25909 res3
= SWIG_AddTmpMask(ecode
);
25912 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_Py_Void();
25916 if (SWIG_IsTmpObj(res2
)) {
25917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25919 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25922 if (SWIG_IsTmpObj(res3
)) {
25923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25934 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
= 0;
25936 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25937 wxDouble
*arg2
= (wxDouble
*) 0 ;
25938 wxDouble
*arg3
= (wxDouble
*) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 char * kwnames
[] = {
25949 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25954 if (!SWIG_IsOK(res1
)) {
25955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25957 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25958 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25960 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25961 if (!SWIG_IsOK(ecode
)) {
25962 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25964 temp2
= static_cast< wxDouble
>(val
);
25966 res2
= SWIG_AddTmpMask(ecode
);
25968 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25970 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25971 if (!SWIG_IsOK(ecode
)) {
25972 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25974 temp3
= static_cast< wxDouble
>(val
);
25976 res3
= SWIG_AddTmpMask(ecode
);
25979 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_Py_Void();
25983 if (SWIG_IsTmpObj(res2
)) {
25984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25986 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25989 if (SWIG_IsTmpObj(res3
)) {
25990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25992 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26001 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26002 PyObject
*resultobj
= 0;
26003 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26007 PyObject
*swig_obj
[1] ;
26009 if (!args
) SWIG_fail
;
26010 swig_obj
[0] = args
;
26011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26012 if (!SWIG_IsOK(res1
)) {
26013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26015 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26017 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26027 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26030 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26031 return SWIG_Py_Void();
26034 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26035 return SWIG_Python_InitShadowInstance(args
);
26038 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26039 PyObject
*resultobj
= 0;
26040 wxGraphicsPath
*result
= 0 ;
26042 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26044 if (!wxPyCheckForApp()) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26057 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26058 PyObject
*resultobj
= 0;
26059 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26062 PyObject
*swig_obj
[1] ;
26064 if (!args
) SWIG_fail
;
26065 swig_obj
[0] = args
;
26066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26067 if (!SWIG_IsOK(res1
)) {
26068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26070 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_Py_Void();
26083 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26084 PyObject
*resultobj
= 0;
26085 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26095 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26097 if (!SWIG_IsOK(res1
)) {
26098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26100 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26101 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26102 if (!SWIG_IsOK(ecode2
)) {
26103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26105 arg2
= static_cast< wxDouble
>(val2
);
26106 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26107 if (!SWIG_IsOK(ecode3
)) {
26108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26110 arg3
= static_cast< wxDouble
>(val3
);
26112 (arg1
)->MoveToPoint(arg2
,arg3
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_Py_Void();
26122 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26123 PyObject
*resultobj
= 0;
26124 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26125 wxPoint2D
*arg2
= 0 ;
26130 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26132 if (!SWIG_IsOK(res1
)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26135 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26138 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26141 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_Py_Void();
26151 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26155 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26158 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26161 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26165 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26170 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26171 PyObject
*resultobj
= 0;
26172 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26182 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26187 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26188 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26189 if (!SWIG_IsOK(ecode2
)) {
26190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26192 arg2
= static_cast< wxDouble
>(val2
);
26193 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26194 if (!SWIG_IsOK(ecode3
)) {
26195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26197 arg3
= static_cast< wxDouble
>(val3
);
26199 (arg1
)->AddLineToPoint(arg2
,arg3
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_Py_Void();
26209 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26210 PyObject
*resultobj
= 0;
26211 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26212 wxPoint2D
*arg2
= 0 ;
26217 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26219 if (!SWIG_IsOK(res1
)) {
26220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26222 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26225 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26228 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_Py_Void();
26238 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26242 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26245 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26248 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26252 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26257 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26258 PyObject
*resultobj
= 0;
26259 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26281 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26286 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26287 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26288 if (!SWIG_IsOK(ecode2
)) {
26289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26291 arg2
= static_cast< wxDouble
>(val2
);
26292 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26293 if (!SWIG_IsOK(ecode3
)) {
26294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26296 arg3
= static_cast< wxDouble
>(val3
);
26297 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26298 if (!SWIG_IsOK(ecode4
)) {
26299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26301 arg4
= static_cast< wxDouble
>(val4
);
26302 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26303 if (!SWIG_IsOK(ecode5
)) {
26304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26306 arg5
= static_cast< wxDouble
>(val5
);
26307 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26308 if (!SWIG_IsOK(ecode6
)) {
26309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26311 arg6
= static_cast< wxDouble
>(val6
);
26312 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26313 if (!SWIG_IsOK(ecode7
)) {
26314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26316 arg7
= static_cast< wxDouble
>(val7
);
26318 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_Py_Void();
26328 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26329 PyObject
*resultobj
= 0;
26330 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26331 wxPoint2D
*arg2
= 0 ;
26332 wxPoint2D
*arg3
= 0 ;
26333 wxPoint2D
*arg4
= 0 ;
26340 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26342 if (!SWIG_IsOK(res1
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26345 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26348 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26352 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26356 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26359 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_Py_Void();
26369 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26373 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26376 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26379 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26383 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26388 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
= 0;
26390 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26391 wxGraphicsPath
*arg2
= 0 ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 char * kwnames
[] = {
26399 (char *) "self",(char *) "path", NULL
26402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26404 if (!SWIG_IsOK(res1
)) {
26405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26407 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26409 if (!SWIG_IsOK(res2
)) {
26410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26415 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26417 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_Py_Void();
26427 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26428 PyObject
*resultobj
= 0;
26429 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26432 PyObject
*swig_obj
[1] ;
26434 if (!args
) SWIG_fail
;
26435 swig_obj
[0] = args
;
26436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26437 if (!SWIG_IsOK(res1
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26440 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26442 (arg1
)->CloseSubpath();
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_Py_Void();
26452 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26453 PyObject
*resultobj
= 0;
26454 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26458 PyObject
*swig_obj
[1] ;
26460 if (!args
) SWIG_fail
;
26461 swig_obj
[0] = args
;
26462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26463 if (!SWIG_IsOK(res1
)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26466 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26468 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26478 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26479 PyObject
*resultobj
= 0;
26480 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26502 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26507 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26508 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26509 if (!SWIG_IsOK(ecode2
)) {
26510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26512 arg2
= static_cast< wxDouble
>(val2
);
26513 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26514 if (!SWIG_IsOK(ecode3
)) {
26515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26517 arg3
= static_cast< wxDouble
>(val3
);
26518 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26519 if (!SWIG_IsOK(ecode4
)) {
26520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26522 arg4
= static_cast< wxDouble
>(val4
);
26523 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26524 if (!SWIG_IsOK(ecode5
)) {
26525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26527 arg5
= static_cast< wxDouble
>(val5
);
26528 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26529 if (!SWIG_IsOK(ecode6
)) {
26530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26532 arg6
= static_cast< wxDouble
>(val6
);
26533 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26534 if (!SWIG_IsOK(ecode7
)) {
26535 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26537 arg7
= static_cast< bool >(val7
);
26539 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= SWIG_Py_Void();
26549 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26550 PyObject
*resultobj
= 0;
26551 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26552 wxPoint2D
*arg2
= 0 ;
26569 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26574 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26577 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26579 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26580 if (!SWIG_IsOK(ecode3
)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26583 arg3
= static_cast< wxDouble
>(val3
);
26584 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26585 if (!SWIG_IsOK(ecode4
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26588 arg4
= static_cast< wxDouble
>(val4
);
26589 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26590 if (!SWIG_IsOK(ecode5
)) {
26591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26593 arg5
= static_cast< wxDouble
>(val5
);
26594 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26595 if (!SWIG_IsOK(ecode6
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26598 arg6
= static_cast< bool >(val6
);
26600 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_Py_Void();
26610 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26614 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26617 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26620 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26624 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26629 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
= 0;
26631 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 PyObject
* obj2
= 0 ;
26649 PyObject
* obj3
= 0 ;
26650 PyObject
* obj4
= 0 ;
26651 char * kwnames
[] = {
26652 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26660 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26661 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26662 if (!SWIG_IsOK(ecode2
)) {
26663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26665 arg2
= static_cast< wxDouble
>(val2
);
26666 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26667 if (!SWIG_IsOK(ecode3
)) {
26668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26670 arg3
= static_cast< wxDouble
>(val3
);
26671 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26672 if (!SWIG_IsOK(ecode4
)) {
26673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26675 arg4
= static_cast< wxDouble
>(val4
);
26676 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26677 if (!SWIG_IsOK(ecode5
)) {
26678 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26680 arg5
= static_cast< wxDouble
>(val5
);
26682 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_Py_Void();
26692 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= 0;
26694 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 PyObject
* obj2
= 0 ;
26712 PyObject
* obj3
= 0 ;
26713 PyObject
* obj4
= 0 ;
26714 char * kwnames
[] = {
26715 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26723 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26724 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26725 if (!SWIG_IsOK(ecode2
)) {
26726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26728 arg2
= static_cast< wxDouble
>(val2
);
26729 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26730 if (!SWIG_IsOK(ecode3
)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26733 arg3
= static_cast< wxDouble
>(val3
);
26734 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26735 if (!SWIG_IsOK(ecode4
)) {
26736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26738 arg4
= static_cast< wxDouble
>(val4
);
26739 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26740 if (!SWIG_IsOK(ecode5
)) {
26741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26743 arg5
= static_cast< wxDouble
>(val5
);
26745 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= SWIG_Py_Void();
26755 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
= 0;
26757 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26769 PyObject
* obj0
= 0 ;
26770 PyObject
* obj1
= 0 ;
26771 PyObject
* obj2
= 0 ;
26772 PyObject
* obj3
= 0 ;
26773 char * kwnames
[] = {
26774 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26779 if (!SWIG_IsOK(res1
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26782 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26783 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26784 if (!SWIG_IsOK(ecode2
)) {
26785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26787 arg2
= static_cast< wxDouble
>(val2
);
26788 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26789 if (!SWIG_IsOK(ecode3
)) {
26790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26792 arg3
= static_cast< wxDouble
>(val3
);
26793 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26794 if (!SWIG_IsOK(ecode4
)) {
26795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26797 arg4
= static_cast< wxDouble
>(val4
);
26799 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26802 resultobj
= SWIG_Py_Void();
26809 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26810 PyObject
*resultobj
= 0;
26811 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 PyObject
* obj2
= 0 ;
26832 PyObject
* obj3
= 0 ;
26833 PyObject
* obj4
= 0 ;
26834 PyObject
* obj5
= 0 ;
26835 char * kwnames
[] = {
26836 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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_AddArcToPoint" "', 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_AddArcToPoint" "', 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_AddArcToPoint" "', 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_AddArcToPoint" "', 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_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26864 arg5
= static_cast< wxDouble
>(val5
);
26865 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26866 if (!SWIG_IsOK(ecode6
)) {
26867 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26869 arg6
= static_cast< wxDouble
>(val6
);
26871 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= SWIG_Py_Void();
26881 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
= 0;
26883 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 PyObject
* obj2
= 0 ;
26901 PyObject
* obj3
= 0 ;
26902 PyObject
* obj4
= 0 ;
26903 char * kwnames
[] = {
26904 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26912 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26913 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26914 if (!SWIG_IsOK(ecode2
)) {
26915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26917 arg2
= static_cast< wxDouble
>(val2
);
26918 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26919 if (!SWIG_IsOK(ecode3
)) {
26920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26922 arg3
= static_cast< wxDouble
>(val3
);
26923 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26924 if (!SWIG_IsOK(ecode4
)) {
26925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26927 arg4
= static_cast< wxDouble
>(val4
);
26928 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26929 if (!SWIG_IsOK(ecode5
)) {
26930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26932 arg5
= static_cast< wxDouble
>(val5
);
26934 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_Py_Void();
26944 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
= 0;
26946 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 PyObject
* obj2
= 0 ;
26967 PyObject
* obj3
= 0 ;
26968 PyObject
* obj4
= 0 ;
26969 PyObject
* obj5
= 0 ;
26970 char * kwnames
[] = {
26971 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26979 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26980 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26981 if (!SWIG_IsOK(ecode2
)) {
26982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26984 arg2
= static_cast< wxDouble
>(val2
);
26985 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26986 if (!SWIG_IsOK(ecode3
)) {
26987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26989 arg3
= static_cast< wxDouble
>(val3
);
26990 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26991 if (!SWIG_IsOK(ecode4
)) {
26992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26994 arg4
= static_cast< wxDouble
>(val4
);
26995 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26996 if (!SWIG_IsOK(ecode5
)) {
26997 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26999 arg5
= static_cast< wxDouble
>(val5
);
27000 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27001 if (!SWIG_IsOK(ecode6
)) {
27002 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27004 arg6
= static_cast< wxDouble
>(val6
);
27006 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= SWIG_Py_Void();
27016 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27017 PyObject
*resultobj
= 0;
27018 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27022 PyObject
*swig_obj
[1] ;
27024 if (!args
) SWIG_fail
;
27025 swig_obj
[0] = args
;
27026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27030 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27032 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27033 if (PyErr_Occurred()) SWIG_fail
;
27035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27042 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27043 PyObject
*resultobj
= 0;
27044 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27045 void *arg2
= (void *) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 PyObject
* obj1
= 0 ;
27051 char * kwnames
[] = {
27052 (char *) "self",(char *) "p", NULL
27055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27057 if (!SWIG_IsOK(res1
)) {
27058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27060 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27061 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27062 if (!SWIG_IsOK(res2
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27066 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_Py_Void();
27076 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
= 0;
27078 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27079 wxGraphicsMatrix
*arg2
= 0 ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 char * kwnames
[] = {
27087 (char *) "self",(char *) "matrix", NULL
27090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27092 if (!SWIG_IsOK(res1
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27095 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27097 if (!SWIG_IsOK(res2
)) {
27098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27103 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27105 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_Py_Void();
27115 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27116 PyObject
*resultobj
= 0;
27117 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27118 wxRect2DDouble result
;
27121 PyObject
*swig_obj
[1] ;
27123 if (!args
) SWIG_fail
;
27124 swig_obj
[0] = args
;
27125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27126 if (!SWIG_IsOK(res1
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27129 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27131 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27141 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27142 PyObject
*resultobj
= 0;
27143 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27146 int arg4
= (int) wxODDEVEN_RULE
;
27157 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27162 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27163 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27164 if (!SWIG_IsOK(ecode2
)) {
27165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27167 arg2
= static_cast< wxDouble
>(val2
);
27168 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27169 if (!SWIG_IsOK(ecode3
)) {
27170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27172 arg3
= static_cast< wxDouble
>(val3
);
27174 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27175 if (!SWIG_IsOK(ecode4
)) {
27176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27178 arg4
= static_cast< int >(val4
);
27181 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27193 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27194 PyObject
*resultobj
= 0;
27195 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27196 wxPoint2DDouble
*arg2
= 0 ;
27197 int arg3
= (int) wxODDEVEN_RULE
;
27206 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27208 if (!SWIG_IsOK(res1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27211 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27212 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27213 if (!SWIG_IsOK(res2
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27219 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27221 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27222 if (!SWIG_IsOK(ecode3
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27225 arg3
= static_cast< int >(val3
);
27228 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27240 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27244 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27246 if ((argc
>= 2) && (argc
<= 3)) {
27249 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27250 _v
= SWIG_CheckState(res
);
27252 if (!_v
) goto check_1
;
27256 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27257 _v
= SWIG_CheckState(res
);
27260 if (!_v
) goto check_1
;
27262 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27266 if ((argc
>= 3) && (argc
<= 4)) {
27267 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27271 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27276 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27279 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27280 return SWIG_Py_Void();
27283 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 return SWIG_Python_InitShadowInstance(args
);
27287 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27288 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27293 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27294 PyObject
*pyobj
= 0;
27296 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27301 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27302 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27307 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27308 PyObject
*pyobj
= 0;
27310 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27315 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27316 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27321 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27322 PyObject
*pyobj
= 0;
27324 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27329 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27330 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27335 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27336 PyObject
*pyobj
= 0;
27338 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27343 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27344 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27349 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27350 PyObject
*pyobj
= 0;
27352 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27357 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27358 PyObject
*resultobj
= 0;
27359 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27362 PyObject
*swig_obj
[1] ;
27364 if (!args
) SWIG_fail
;
27365 swig_obj
[0] = args
;
27366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27370 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 resultobj
= SWIG_Py_Void();
27383 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27384 PyObject
*resultobj
= 0;
27385 wxWindowDC
*arg1
= 0 ;
27386 wxGraphicsContext
*result
= 0 ;
27390 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27392 if (!SWIG_IsOK(res1
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27398 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27400 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27410 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27411 PyObject
*resultobj
= 0;
27412 wxWindow
*arg1
= (wxWindow
*) 0 ;
27413 wxGraphicsContext
*result
= 0 ;
27417 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27419 if (!SWIG_IsOK(res1
)) {
27420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27424 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27434 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27438 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27443 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27444 _v
= SWIG_CheckState(res
);
27446 if (!_v
) goto check_1
;
27447 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27452 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27456 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27461 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
= 0;
27463 void *arg1
= (void *) 0 ;
27464 wxGraphicsContext
*result
= 0 ;
27466 PyObject
* obj0
= 0 ;
27467 char * kwnames
[] = {
27468 (char *) "context", NULL
27471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27472 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27473 if (!SWIG_IsOK(res1
)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27477 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27487 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
= 0;
27489 void *arg1
= (void *) 0 ;
27490 wxGraphicsContext
*result
= 0 ;
27492 PyObject
* obj0
= 0 ;
27493 char * kwnames
[] = {
27494 (char *) "window", NULL
27497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27498 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27499 if (!SWIG_IsOK(res1
)) {
27500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27503 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27513 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27514 PyObject
*resultobj
= 0;
27515 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27516 wxGraphicsPath result
;
27519 PyObject
*swig_obj
[1] ;
27521 if (!args
) SWIG_fail
;
27522 swig_obj
[0] = args
;
27523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27524 if (!SWIG_IsOK(res1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27527 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27529 result
= (arg1
)->CreatePath();
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27539 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
= 0;
27541 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27543 wxGraphicsPen result
;
27548 PyObject
* obj0
= 0 ;
27549 PyObject
* obj1
= 0 ;
27550 char * kwnames
[] = {
27551 (char *) "self",(char *) "pen", NULL
27554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27556 if (!SWIG_IsOK(res1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27559 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27561 if (!SWIG_IsOK(res2
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27567 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27569 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27579 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
= 0;
27581 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27582 wxBrush
*arg2
= 0 ;
27583 wxGraphicsBrush result
;
27588 PyObject
* obj0
= 0 ;
27589 PyObject
* obj1
= 0 ;
27590 char * kwnames
[] = {
27591 (char *) "self",(char *) "brush", NULL
27594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27599 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27601 if (!SWIG_IsOK(res2
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27607 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27609 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27619 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
= 0;
27621 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27626 wxColour
*arg6
= 0 ;
27627 wxColour
*arg7
= 0 ;
27628 wxGraphicsBrush result
;
27641 PyObject
* obj0
= 0 ;
27642 PyObject
* obj1
= 0 ;
27643 PyObject
* obj2
= 0 ;
27644 PyObject
* obj3
= 0 ;
27645 PyObject
* obj4
= 0 ;
27646 PyObject
* obj5
= 0 ;
27647 PyObject
* obj6
= 0 ;
27648 char * kwnames
[] = {
27649 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27654 if (!SWIG_IsOK(res1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27657 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27658 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27659 if (!SWIG_IsOK(ecode2
)) {
27660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27662 arg2
= static_cast< wxDouble
>(val2
);
27663 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27664 if (!SWIG_IsOK(ecode3
)) {
27665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27667 arg3
= static_cast< wxDouble
>(val3
);
27668 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27669 if (!SWIG_IsOK(ecode4
)) {
27670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27672 arg4
= static_cast< wxDouble
>(val4
);
27673 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27674 if (!SWIG_IsOK(ecode5
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27677 arg5
= static_cast< wxDouble
>(val5
);
27680 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27684 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27687 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27697 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
= 0;
27699 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27705 wxColour
*arg7
= 0 ;
27706 wxColour
*arg8
= 0 ;
27707 wxGraphicsBrush result
;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 PyObject
* obj2
= 0 ;
27725 PyObject
* obj3
= 0 ;
27726 PyObject
* obj4
= 0 ;
27727 PyObject
* obj5
= 0 ;
27728 PyObject
* obj6
= 0 ;
27729 PyObject
* obj7
= 0 ;
27730 char * kwnames
[] = {
27731 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27736 if (!SWIG_IsOK(res1
)) {
27737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27739 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27740 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27741 if (!SWIG_IsOK(ecode2
)) {
27742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27744 arg2
= static_cast< wxDouble
>(val2
);
27745 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27746 if (!SWIG_IsOK(ecode3
)) {
27747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27749 arg3
= static_cast< wxDouble
>(val3
);
27750 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27751 if (!SWIG_IsOK(ecode4
)) {
27752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27754 arg4
= static_cast< wxDouble
>(val4
);
27755 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27756 if (!SWIG_IsOK(ecode5
)) {
27757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27759 arg5
= static_cast< wxDouble
>(val5
);
27760 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27761 if (!SWIG_IsOK(ecode6
)) {
27762 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27764 arg6
= static_cast< wxDouble
>(val6
);
27767 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27771 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27774 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27784 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
= 0;
27786 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27788 wxColour
const &arg3_defvalue
= *wxBLACK
;
27789 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27790 wxGraphicsFont result
;
27796 PyObject
* obj0
= 0 ;
27797 PyObject
* obj1
= 0 ;
27798 PyObject
* obj2
= 0 ;
27799 char * kwnames
[] = {
27800 (char *) "self",(char *) "font",(char *) "col", NULL
27803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27805 if (!SWIG_IsOK(res1
)) {
27806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27808 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27810 if (!SWIG_IsOK(res2
)) {
27811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27816 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27820 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27824 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27834 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
= 0;
27836 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27837 wxDouble arg2
= (wxDouble
) 1.0 ;
27838 wxDouble arg3
= (wxDouble
) 0.0 ;
27839 wxDouble arg4
= (wxDouble
) 0.0 ;
27840 wxDouble arg5
= (wxDouble
) 1.0 ;
27841 wxDouble arg6
= (wxDouble
) 0.0 ;
27842 wxDouble arg7
= (wxDouble
) 0.0 ;
27843 wxGraphicsMatrix result
;
27858 PyObject
* obj0
= 0 ;
27859 PyObject
* obj1
= 0 ;
27860 PyObject
* obj2
= 0 ;
27861 PyObject
* obj3
= 0 ;
27862 PyObject
* obj4
= 0 ;
27863 PyObject
* obj5
= 0 ;
27864 PyObject
* obj6
= 0 ;
27865 char * kwnames
[] = {
27866 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27871 if (!SWIG_IsOK(res1
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27874 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27876 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27877 if (!SWIG_IsOK(ecode2
)) {
27878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27880 arg2
= static_cast< wxDouble
>(val2
);
27883 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27884 if (!SWIG_IsOK(ecode3
)) {
27885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27887 arg3
= static_cast< wxDouble
>(val3
);
27890 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27891 if (!SWIG_IsOK(ecode4
)) {
27892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27894 arg4
= static_cast< wxDouble
>(val4
);
27897 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27898 if (!SWIG_IsOK(ecode5
)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27901 arg5
= static_cast< wxDouble
>(val5
);
27904 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27905 if (!SWIG_IsOK(ecode6
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27908 arg6
= static_cast< wxDouble
>(val6
);
27911 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27912 if (!SWIG_IsOK(ecode7
)) {
27913 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27915 arg7
= static_cast< wxDouble
>(val7
);
27918 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27928 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27929 PyObject
*resultobj
= 0;
27930 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27933 PyObject
*swig_obj
[1] ;
27935 if (!args
) SWIG_fail
;
27936 swig_obj
[0] = args
;
27937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27938 if (!SWIG_IsOK(res1
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27941 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27943 (arg1
)->PushState();
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= SWIG_Py_Void();
27953 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27954 PyObject
*resultobj
= 0;
27955 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27958 PyObject
*swig_obj
[1] ;
27960 if (!args
) SWIG_fail
;
27961 swig_obj
[0] = args
;
27962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27963 if (!SWIG_IsOK(res1
)) {
27964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27966 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27968 (arg1
)->PopState();
27969 if (PyErr_Occurred()) SWIG_fail
;
27971 resultobj
= SWIG_Py_Void();
27978 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
= 0;
27980 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27981 wxRegion
*arg2
= 0 ;
27986 PyObject
* obj0
= 0 ;
27987 PyObject
* obj1
= 0 ;
27988 char * kwnames
[] = {
27989 (char *) "self",(char *) "region", NULL
27992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27994 if (!SWIG_IsOK(res1
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27997 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27999 if (!SWIG_IsOK(res2
)) {
28000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28005 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28007 (arg1
)->Clip((wxRegion
const &)*arg2
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 resultobj
= SWIG_Py_Void();
28017 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
= 0;
28019 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 PyObject
* obj2
= 0 ;
28037 PyObject
* obj3
= 0 ;
28038 PyObject
* obj4
= 0 ;
28039 char * kwnames
[] = {
28040 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28045 if (!SWIG_IsOK(res1
)) {
28046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28049 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28050 if (!SWIG_IsOK(ecode2
)) {
28051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28053 arg2
= static_cast< wxDouble
>(val2
);
28054 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28055 if (!SWIG_IsOK(ecode3
)) {
28056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28058 arg3
= static_cast< wxDouble
>(val3
);
28059 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28060 if (!SWIG_IsOK(ecode4
)) {
28061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28063 arg4
= static_cast< wxDouble
>(val4
);
28064 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28065 if (!SWIG_IsOK(ecode5
)) {
28066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28068 arg5
= static_cast< wxDouble
>(val5
);
28070 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_Py_Void();
28080 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28081 PyObject
*resultobj
= 0;
28082 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28085 PyObject
*swig_obj
[1] ;
28087 if (!args
) SWIG_fail
;
28088 swig_obj
[0] = args
;
28089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28090 if (!SWIG_IsOK(res1
)) {
28091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28093 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28095 (arg1
)->ResetClip();
28096 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= SWIG_Py_Void();
28105 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28106 PyObject
*resultobj
= 0;
28107 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28111 PyObject
*swig_obj
[1] ;
28113 if (!args
) SWIG_fail
;
28114 swig_obj
[0] = args
;
28115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28119 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28121 result
= (void *)(arg1
)->GetNativeContext();
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28131 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
= 0;
28133 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 PyObject
* obj2
= 0 ;
28145 char * kwnames
[] = {
28146 (char *) "self",(char *) "dx",(char *) "dy", NULL
28149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28154 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28155 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28156 if (!SWIG_IsOK(ecode2
)) {
28157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28159 arg2
= static_cast< wxDouble
>(val2
);
28160 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28161 if (!SWIG_IsOK(ecode3
)) {
28162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28164 arg3
= static_cast< wxDouble
>(val3
);
28166 (arg1
)->Translate(arg2
,arg3
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_Py_Void();
28176 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
= 0;
28178 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 PyObject
* obj1
= 0 ;
28189 PyObject
* obj2
= 0 ;
28190 char * kwnames
[] = {
28191 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28196 if (!SWIG_IsOK(res1
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28199 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28200 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28201 if (!SWIG_IsOK(ecode2
)) {
28202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28204 arg2
= static_cast< wxDouble
>(val2
);
28205 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28206 if (!SWIG_IsOK(ecode3
)) {
28207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28209 arg3
= static_cast< wxDouble
>(val3
);
28211 (arg1
)->Scale(arg2
,arg3
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_Py_Void();
28221 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
= 0;
28223 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 char * kwnames
[] = {
28232 (char *) "self",(char *) "angle", NULL
28235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28237 if (!SWIG_IsOK(res1
)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28240 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28241 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28242 if (!SWIG_IsOK(ecode2
)) {
28243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28245 arg2
= static_cast< wxDouble
>(val2
);
28247 (arg1
)->Rotate(arg2
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_Py_Void();
28257 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
= 0;
28259 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28260 wxGraphicsMatrix
*arg2
= 0 ;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 char * kwnames
[] = {
28268 (char *) "self",(char *) "matrix", NULL
28271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28273 if (!SWIG_IsOK(res1
)) {
28274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28276 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28277 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28278 if (!SWIG_IsOK(res2
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28284 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28286 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= SWIG_Py_Void();
28296 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
= 0;
28298 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28299 wxGraphicsMatrix
*arg2
= 0 ;
28304 PyObject
* obj0
= 0 ;
28305 PyObject
* obj1
= 0 ;
28306 char * kwnames
[] = {
28307 (char *) "self",(char *) "matrix", NULL
28310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28312 if (!SWIG_IsOK(res1
)) {
28313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28315 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28317 if (!SWIG_IsOK(res2
)) {
28318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28323 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28325 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28326 if (PyErr_Occurred()) SWIG_fail
;
28328 resultobj
= SWIG_Py_Void();
28335 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28336 PyObject
*resultobj
= 0;
28337 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28338 wxGraphicsMatrix result
;
28341 PyObject
*swig_obj
[1] ;
28343 if (!args
) SWIG_fail
;
28344 swig_obj
[0] = args
;
28345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28346 if (!SWIG_IsOK(res1
)) {
28347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28349 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28351 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28352 if (PyErr_Occurred()) SWIG_fail
;
28354 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28361 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28362 PyObject
*resultobj
= 0;
28363 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28364 wxGraphicsPen
*arg2
= 0 ;
28370 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28372 if (!SWIG_IsOK(res1
)) {
28373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28375 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28376 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28377 if (!SWIG_IsOK(res2
)) {
28378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28383 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28385 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= SWIG_Py_Void();
28395 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28396 PyObject
*resultobj
= 0;
28397 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28404 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28406 if (!SWIG_IsOK(res1
)) {
28407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28409 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28410 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28411 if (!SWIG_IsOK(res2
)) {
28412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28417 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28419 (arg1
)->SetPen((wxPen
const &)*arg2
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= SWIG_Py_Void();
28429 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28433 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28438 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28439 _v
= SWIG_CheckState(res
);
28441 if (!_v
) goto check_1
;
28442 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28447 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28451 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28456 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28457 PyObject
*resultobj
= 0;
28458 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28459 wxGraphicsBrush
*arg2
= 0 ;
28465 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28467 if (!SWIG_IsOK(res1
)) {
28468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28470 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28471 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28472 if (!SWIG_IsOK(res2
)) {
28473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28478 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28480 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= SWIG_Py_Void();
28490 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28491 PyObject
*resultobj
= 0;
28492 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28493 wxBrush
*arg2
= 0 ;
28499 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28501 if (!SWIG_IsOK(res1
)) {
28502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28504 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28505 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28506 if (!SWIG_IsOK(res2
)) {
28507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28512 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28514 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_Py_Void();
28524 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28528 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28533 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28534 _v
= SWIG_CheckState(res
);
28536 if (!_v
) goto check_1
;
28537 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28542 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28546 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28551 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28552 PyObject
*resultobj
= 0;
28553 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28554 wxGraphicsFont
*arg2
= 0 ;
28560 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28562 if (!SWIG_IsOK(res1
)) {
28563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28565 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28566 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28567 if (!SWIG_IsOK(res2
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28573 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28575 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_Py_Void();
28585 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28586 PyObject
*resultobj
= 0;
28587 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28589 wxColour
const &arg3_defvalue
= *wxBLACK
;
28590 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28597 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28599 if (!SWIG_IsOK(res1
)) {
28600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28602 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28603 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28604 if (!SWIG_IsOK(res2
)) {
28605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28610 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28614 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28618 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_Py_Void();
28628 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28632 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28637 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28638 _v
= SWIG_CheckState(res
);
28640 if (!_v
) goto check_1
;
28641 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28645 if ((argc
>= 2) && (argc
<= 3)) {
28646 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28650 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28655 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28656 PyObject
*resultobj
= 0;
28657 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28658 wxGraphicsPath
*arg2
= 0 ;
28663 PyObject
* obj0
= 0 ;
28664 PyObject
* obj1
= 0 ;
28665 char * kwnames
[] = {
28666 (char *) "self",(char *) "path", NULL
28669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28671 if (!SWIG_IsOK(res1
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28674 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28676 if (!SWIG_IsOK(res2
)) {
28677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28682 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28684 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_Py_Void();
28694 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28695 PyObject
*resultobj
= 0;
28696 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28697 wxGraphicsPath
*arg2
= 0 ;
28698 int arg3
= (int) wxODDEVEN_RULE
;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 PyObject
* obj2
= 0 ;
28708 char * kwnames
[] = {
28709 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28714 if (!SWIG_IsOK(res1
)) {
28715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28717 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28719 if (!SWIG_IsOK(res2
)) {
28720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28725 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28728 if (!SWIG_IsOK(ecode3
)) {
28729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28731 arg3
= static_cast< int >(val3
);
28734 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_Py_Void();
28744 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
= 0;
28746 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28747 wxGraphicsPath
*arg2
= 0 ;
28748 int arg3
= (int) wxODDEVEN_RULE
;
28755 PyObject
* obj0
= 0 ;
28756 PyObject
* obj1
= 0 ;
28757 PyObject
* obj2
= 0 ;
28758 char * kwnames
[] = {
28759 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28764 if (!SWIG_IsOK(res1
)) {
28765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28767 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28768 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28769 if (!SWIG_IsOK(res2
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28775 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28778 if (!SWIG_IsOK(ecode3
)) {
28779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28781 arg3
= static_cast< int >(val3
);
28784 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= SWIG_Py_Void();
28794 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
= 0;
28796 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28797 wxString
*arg2
= 0 ;
28802 bool temp2
= false ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 PyObject
* obj2
= 0 ;
28810 PyObject
* obj3
= 0 ;
28811 char * kwnames
[] = {
28812 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
28815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28820 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28822 arg2
= wxString_in_helper(obj1
);
28823 if (arg2
== NULL
) SWIG_fail
;
28826 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28827 if (!SWIG_IsOK(ecode3
)) {
28828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28830 arg3
= static_cast< wxDouble
>(val3
);
28831 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28832 if (!SWIG_IsOK(ecode4
)) {
28833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28835 arg4
= static_cast< wxDouble
>(val4
);
28837 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= SWIG_Py_Void();
28855 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
= 0;
28857 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28858 wxString
*arg2
= 0 ;
28864 bool temp2
= false ;
28871 PyObject
* obj0
= 0 ;
28872 PyObject
* obj1
= 0 ;
28873 PyObject
* obj2
= 0 ;
28874 PyObject
* obj3
= 0 ;
28875 PyObject
* obj4
= 0 ;
28876 char * kwnames
[] = {
28877 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
28880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28882 if (!SWIG_IsOK(res1
)) {
28883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28885 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28887 arg2
= wxString_in_helper(obj1
);
28888 if (arg2
== NULL
) SWIG_fail
;
28891 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28892 if (!SWIG_IsOK(ecode3
)) {
28893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28895 arg3
= static_cast< wxDouble
>(val3
);
28896 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28897 if (!SWIG_IsOK(ecode4
)) {
28898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28900 arg4
= static_cast< wxDouble
>(val4
);
28901 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28902 if (!SWIG_IsOK(ecode5
)) {
28903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28905 arg5
= static_cast< wxDouble
>(val5
);
28907 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= SWIG_Py_Void();
28925 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
= 0;
28927 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28928 wxString
*arg2
= 0 ;
28929 wxDouble
*arg3
= (wxDouble
*) 0 ;
28930 wxDouble
*arg4
= (wxDouble
*) 0 ;
28931 wxDouble
*arg5
= (wxDouble
*) 0 ;
28932 wxDouble
*arg6
= (wxDouble
*) 0 ;
28935 bool temp2
= false ;
28937 int res3
= SWIG_TMPOBJ
;
28939 int res4
= SWIG_TMPOBJ
;
28941 int res5
= SWIG_TMPOBJ
;
28943 int res6
= SWIG_TMPOBJ
;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 char * kwnames
[] = {
28947 (char *) "self",(char *) "text", NULL
28954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",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_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28959 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28961 arg2
= wxString_in_helper(obj1
);
28962 if (arg2
== NULL
) SWIG_fail
;
28966 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28969 resultobj
= SWIG_Py_Void();
28970 if (SWIG_IsTmpObj(res3
)) {
28971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28973 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28976 if (SWIG_IsTmpObj(res4
)) {
28977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
28979 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
28982 if (SWIG_IsTmpObj(res5
)) {
28983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
28985 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
28988 if (SWIG_IsTmpObj(res6
)) {
28989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
28991 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29008 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
= 0;
29010 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29011 wxString
*arg2
= 0 ;
29012 PyObject
*result
= 0 ;
29015 bool temp2
= false ;
29016 PyObject
* obj0
= 0 ;
29017 PyObject
* obj1
= 0 ;
29018 char * kwnames
[] = {
29019 (char *) "self",(char *) "text", NULL
29022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29027 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29029 arg2
= wxString_in_helper(obj1
);
29030 if (arg2
== NULL
) SWIG_fail
;
29034 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= result
;
29052 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
= 0;
29054 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29055 wxString
*arg2
= 0 ;
29056 wxArrayDouble result
;
29059 bool temp2
= false ;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 char * kwnames
[] = {
29063 (char *) "self",(char *) "text", NULL
29066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29068 if (!SWIG_IsOK(res1
)) {
29069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29071 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29073 arg2
= wxString_in_helper(obj1
);
29074 if (arg2
== NULL
) SWIG_fail
;
29078 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= wxArrayDouble2PyList_helper(result
);
29098 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
= 0;
29100 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29101 wxBitmap
*arg2
= 0 ;
29118 PyObject
* obj0
= 0 ;
29119 PyObject
* obj1
= 0 ;
29120 PyObject
* obj2
= 0 ;
29121 PyObject
* obj3
= 0 ;
29122 PyObject
* obj4
= 0 ;
29123 PyObject
* obj5
= 0 ;
29124 char * kwnames
[] = {
29125 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29130 if (!SWIG_IsOK(res1
)) {
29131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29133 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29135 if (!SWIG_IsOK(res2
)) {
29136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29141 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29142 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29143 if (!SWIG_IsOK(ecode3
)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29146 arg3
= static_cast< wxDouble
>(val3
);
29147 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29148 if (!SWIG_IsOK(ecode4
)) {
29149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29151 arg4
= static_cast< wxDouble
>(val4
);
29152 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29153 if (!SWIG_IsOK(ecode5
)) {
29154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29156 arg5
= static_cast< wxDouble
>(val5
);
29157 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29158 if (!SWIG_IsOK(ecode6
)) {
29159 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29161 arg6
= static_cast< wxDouble
>(val6
);
29163 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 resultobj
= SWIG_Py_Void();
29173 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
= 0;
29175 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29193 PyObject
* obj0
= 0 ;
29194 PyObject
* obj1
= 0 ;
29195 PyObject
* obj2
= 0 ;
29196 PyObject
* obj3
= 0 ;
29197 PyObject
* obj4
= 0 ;
29198 PyObject
* obj5
= 0 ;
29199 char * kwnames
[] = {
29200 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29205 if (!SWIG_IsOK(res1
)) {
29206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29208 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29210 if (!SWIG_IsOK(res2
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29216 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29217 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29218 if (!SWIG_IsOK(ecode3
)) {
29219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', 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_DrawIcon" "', 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_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29231 arg5
= static_cast< wxDouble
>(val5
);
29232 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29233 if (!SWIG_IsOK(ecode6
)) {
29234 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29236 arg6
= static_cast< wxDouble
>(val6
);
29238 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_Py_Void();
29248 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
= 0;
29250 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29265 PyObject
* obj0
= 0 ;
29266 PyObject
* obj1
= 0 ;
29267 PyObject
* obj2
= 0 ;
29268 PyObject
* obj3
= 0 ;
29269 PyObject
* obj4
= 0 ;
29270 char * kwnames
[] = {
29271 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29276 if (!SWIG_IsOK(res1
)) {
29277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29279 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29280 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29281 if (!SWIG_IsOK(ecode2
)) {
29282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29284 arg2
= static_cast< wxDouble
>(val2
);
29285 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29286 if (!SWIG_IsOK(ecode3
)) {
29287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29289 arg3
= static_cast< wxDouble
>(val3
);
29290 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29291 if (!SWIG_IsOK(ecode4
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29294 arg4
= static_cast< wxDouble
>(val4
);
29295 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29296 if (!SWIG_IsOK(ecode5
)) {
29297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29299 arg5
= static_cast< wxDouble
>(val5
);
29301 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= SWIG_Py_Void();
29311 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29312 PyObject
*resultobj
= 0;
29313 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29315 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 char * kwnames
[] = {
29321 (char *) "self",(char *) "points", NULL
29324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29326 if (!SWIG_IsOK(res1
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29329 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29331 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29332 if (arg3
== NULL
) SWIG_fail
;
29335 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_Py_Void();
29340 if (arg3
) delete [] arg3
;
29345 if (arg3
) delete [] arg3
;
29351 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29354 PyObject
*arg2
= (PyObject
*) 0 ;
29355 PyObject
*arg3
= (PyObject
*) 0 ;
29358 PyObject
* obj0
= 0 ;
29359 PyObject
* obj1
= 0 ;
29360 PyObject
* obj2
= 0 ;
29361 char * kwnames
[] = {
29362 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29367 if (!SWIG_IsOK(res1
)) {
29368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29370 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29374 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29377 resultobj
= SWIG_Py_Void();
29384 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29385 PyObject
*resultobj
= 0;
29386 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29388 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29389 int arg4
= (int) wxODDEVEN_RULE
;
29394 PyObject
* obj0
= 0 ;
29395 PyObject
* obj1
= 0 ;
29396 PyObject
* obj2
= 0 ;
29397 char * kwnames
[] = {
29398 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29403 if (!SWIG_IsOK(res1
)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29406 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29408 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29409 if (arg3
== NULL
) SWIG_fail
;
29412 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29413 if (!SWIG_IsOK(ecode4
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29416 arg4
= static_cast< int >(val4
);
29419 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_Py_Void();
29424 if (arg3
) delete [] arg3
;
29429 if (arg3
) delete [] arg3
;
29435 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
= 0;
29437 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 PyObject
* obj1
= 0 ;
29454 PyObject
* obj2
= 0 ;
29455 PyObject
* obj3
= 0 ;
29456 PyObject
* obj4
= 0 ;
29457 char * kwnames
[] = {
29458 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29463 if (!SWIG_IsOK(res1
)) {
29464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29466 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29467 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29468 if (!SWIG_IsOK(ecode2
)) {
29469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29471 arg2
= static_cast< wxDouble
>(val2
);
29472 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29473 if (!SWIG_IsOK(ecode3
)) {
29474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29476 arg3
= static_cast< wxDouble
>(val3
);
29477 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29478 if (!SWIG_IsOK(ecode4
)) {
29479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29481 arg4
= static_cast< wxDouble
>(val4
);
29482 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29483 if (!SWIG_IsOK(ecode5
)) {
29484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29486 arg5
= static_cast< wxDouble
>(val5
);
29488 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= SWIG_Py_Void();
29498 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
= 0;
29500 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29515 PyObject
* obj0
= 0 ;
29516 PyObject
* obj1
= 0 ;
29517 PyObject
* obj2
= 0 ;
29518 PyObject
* obj3
= 0 ;
29519 PyObject
* obj4
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29529 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29530 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29531 if (!SWIG_IsOK(ecode2
)) {
29532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29534 arg2
= static_cast< wxDouble
>(val2
);
29535 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29536 if (!SWIG_IsOK(ecode3
)) {
29537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29539 arg3
= static_cast< wxDouble
>(val3
);
29540 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29541 if (!SWIG_IsOK(ecode4
)) {
29542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29544 arg4
= static_cast< wxDouble
>(val4
);
29545 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29546 if (!SWIG_IsOK(ecode5
)) {
29547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29549 arg5
= static_cast< wxDouble
>(val5
);
29551 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= SWIG_Py_Void();
29561 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
= 0;
29563 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29581 PyObject
* obj0
= 0 ;
29582 PyObject
* obj1
= 0 ;
29583 PyObject
* obj2
= 0 ;
29584 PyObject
* obj3
= 0 ;
29585 PyObject
* obj4
= 0 ;
29586 PyObject
* obj5
= 0 ;
29587 char * kwnames
[] = {
29588 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29596 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29597 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29598 if (!SWIG_IsOK(ecode2
)) {
29599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29601 arg2
= static_cast< wxDouble
>(val2
);
29602 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29603 if (!SWIG_IsOK(ecode3
)) {
29604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29606 arg3
= static_cast< wxDouble
>(val3
);
29607 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29608 if (!SWIG_IsOK(ecode4
)) {
29609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29611 arg4
= static_cast< wxDouble
>(val4
);
29612 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29613 if (!SWIG_IsOK(ecode5
)) {
29614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29616 arg5
= static_cast< wxDouble
>(val5
);
29617 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29618 if (!SWIG_IsOK(ecode6
)) {
29619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29621 arg6
= static_cast< wxDouble
>(val6
);
29623 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29626 resultobj
= SWIG_Py_Void();
29633 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29634 PyObject
*resultobj
= 0;
29635 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29639 PyObject
*swig_obj
[1] ;
29641 if (!args
) SWIG_fail
;
29642 swig_obj
[0] = args
;
29643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29647 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29649 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29650 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29661 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29664 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29665 return SWIG_Py_Void();
29668 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29669 PyObject
*resultobj
= 0;
29670 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29673 PyObject
*swig_obj
[1] ;
29675 if (!args
) SWIG_fail
;
29676 swig_obj
[0] = args
;
29677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29678 if (!SWIG_IsOK(res1
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29681 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29685 if (PyErr_Occurred()) SWIG_fail
;
29687 resultobj
= SWIG_Py_Void();
29694 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29695 PyObject
*resultobj
= 0;
29696 wxGraphicsRenderer
*result
= 0 ;
29698 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29700 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29710 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29711 PyObject
*resultobj
= 0;
29712 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29713 wxWindowDC
*arg2
= 0 ;
29714 wxGraphicsContext
*result
= 0 ;
29720 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29725 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29726 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29727 if (!SWIG_IsOK(res2
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29733 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29735 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29745 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29746 PyObject
*resultobj
= 0;
29747 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29748 wxWindow
*arg2
= (wxWindow
*) 0 ;
29749 wxGraphicsContext
*result
= 0 ;
29755 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29760 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29761 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29762 if (!SWIG_IsOK(res2
)) {
29763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29765 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29767 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29777 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29781 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29786 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29787 _v
= SWIG_CheckState(res
);
29789 if (!_v
) goto check_1
;
29790 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29795 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29799 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29804 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= 0;
29806 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29807 void *arg2
= (void *) 0 ;
29808 wxGraphicsContext
*result
= 0 ;
29812 PyObject
* obj0
= 0 ;
29813 PyObject
* obj1
= 0 ;
29814 char * kwnames
[] = {
29815 (char *) "self",(char *) "context", NULL
29818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29823 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29824 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29825 if (!SWIG_IsOK(res2
)) {
29826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29829 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29839 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
= 0;
29841 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29842 void *arg2
= (void *) 0 ;
29843 wxGraphicsContext
*result
= 0 ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 char * kwnames
[] = {
29850 (char *) "self",(char *) "window", NULL
29853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29855 if (!SWIG_IsOK(res1
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29858 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29859 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29860 if (!SWIG_IsOK(res2
)) {
29861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29864 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29865 if (PyErr_Occurred()) SWIG_fail
;
29867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29874 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29875 PyObject
*resultobj
= 0;
29876 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29877 wxGraphicsPath result
;
29880 PyObject
*swig_obj
[1] ;
29882 if (!args
) SWIG_fail
;
29883 swig_obj
[0] = args
;
29884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29885 if (!SWIG_IsOK(res1
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29888 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29890 result
= (arg1
)->CreatePath();
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29900 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
= 0;
29902 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29903 wxDouble arg2
= (wxDouble
) 1.0 ;
29904 wxDouble arg3
= (wxDouble
) 0.0 ;
29905 wxDouble arg4
= (wxDouble
) 0.0 ;
29906 wxDouble arg5
= (wxDouble
) 1.0 ;
29907 wxDouble arg6
= (wxDouble
) 0.0 ;
29908 wxDouble arg7
= (wxDouble
) 0.0 ;
29909 wxGraphicsMatrix result
;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 PyObject
* obj2
= 0 ;
29927 PyObject
* obj3
= 0 ;
29928 PyObject
* obj4
= 0 ;
29929 PyObject
* obj5
= 0 ;
29930 PyObject
* obj6
= 0 ;
29931 char * kwnames
[] = {
29932 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29940 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29942 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29943 if (!SWIG_IsOK(ecode2
)) {
29944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29946 arg2
= static_cast< wxDouble
>(val2
);
29949 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29950 if (!SWIG_IsOK(ecode3
)) {
29951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29953 arg3
= static_cast< wxDouble
>(val3
);
29956 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29957 if (!SWIG_IsOK(ecode4
)) {
29958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29960 arg4
= static_cast< wxDouble
>(val4
);
29963 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29964 if (!SWIG_IsOK(ecode5
)) {
29965 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29967 arg5
= static_cast< wxDouble
>(val5
);
29970 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29971 if (!SWIG_IsOK(ecode6
)) {
29972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29974 arg6
= static_cast< wxDouble
>(val6
);
29977 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29978 if (!SWIG_IsOK(ecode7
)) {
29979 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29981 arg7
= static_cast< wxDouble
>(val7
);
29984 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29994 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
= 0;
29996 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29998 wxGraphicsPen result
;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 char * kwnames
[] = {
30006 (char *) "self",(char *) "pen", NULL
30009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30014 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30016 if (!SWIG_IsOK(res2
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30022 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30024 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30034 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30035 PyObject
*resultobj
= 0;
30036 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30037 wxBrush
*arg2
= 0 ;
30038 wxGraphicsBrush result
;
30043 PyObject
* obj0
= 0 ;
30044 PyObject
* obj1
= 0 ;
30045 char * kwnames
[] = {
30046 (char *) "self",(char *) "brush", NULL
30049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30051 if (!SWIG_IsOK(res1
)) {
30052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30054 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30056 if (!SWIG_IsOK(res2
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30062 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30064 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30074 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30075 PyObject
*resultobj
= 0;
30076 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30081 wxColour
*arg6
= 0 ;
30082 wxColour
*arg7
= 0 ;
30083 wxGraphicsBrush result
;
30096 PyObject
* obj0
= 0 ;
30097 PyObject
* obj1
= 0 ;
30098 PyObject
* obj2
= 0 ;
30099 PyObject
* obj3
= 0 ;
30100 PyObject
* obj4
= 0 ;
30101 PyObject
* obj5
= 0 ;
30102 PyObject
* obj6
= 0 ;
30103 char * kwnames
[] = {
30104 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30109 if (!SWIG_IsOK(res1
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30112 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30113 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30114 if (!SWIG_IsOK(ecode2
)) {
30115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30117 arg2
= static_cast< wxDouble
>(val2
);
30118 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30119 if (!SWIG_IsOK(ecode3
)) {
30120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30122 arg3
= static_cast< wxDouble
>(val3
);
30123 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30124 if (!SWIG_IsOK(ecode4
)) {
30125 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30127 arg4
= static_cast< wxDouble
>(val4
);
30128 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30129 if (!SWIG_IsOK(ecode5
)) {
30130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30132 arg5
= static_cast< wxDouble
>(val5
);
30135 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30139 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30142 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30152 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30153 PyObject
*resultobj
= 0;
30154 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30160 wxColour
*arg7
= 0 ;
30161 wxColour
*arg8
= 0 ;
30162 wxGraphicsBrush result
;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 PyObject
* obj2
= 0 ;
30180 PyObject
* obj3
= 0 ;
30181 PyObject
* obj4
= 0 ;
30182 PyObject
* obj5
= 0 ;
30183 PyObject
* obj6
= 0 ;
30184 PyObject
* obj7
= 0 ;
30185 char * kwnames
[] = {
30186 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30191 if (!SWIG_IsOK(res1
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30194 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30195 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30196 if (!SWIG_IsOK(ecode2
)) {
30197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30199 arg2
= static_cast< wxDouble
>(val2
);
30200 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30201 if (!SWIG_IsOK(ecode3
)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30204 arg3
= static_cast< wxDouble
>(val3
);
30205 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30206 if (!SWIG_IsOK(ecode4
)) {
30207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30209 arg4
= static_cast< wxDouble
>(val4
);
30210 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30211 if (!SWIG_IsOK(ecode5
)) {
30212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30214 arg5
= static_cast< wxDouble
>(val5
);
30215 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30216 if (!SWIG_IsOK(ecode6
)) {
30217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30219 arg6
= static_cast< wxDouble
>(val6
);
30222 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30226 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30229 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30239 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
= 0;
30241 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30243 wxColour
const &arg3_defvalue
= *wxBLACK
;
30244 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30245 wxGraphicsFont result
;
30251 PyObject
* obj0
= 0 ;
30252 PyObject
* obj1
= 0 ;
30253 PyObject
* obj2
= 0 ;
30254 char * kwnames
[] = {
30255 (char *) "self",(char *) "font",(char *) "col", NULL
30258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30260 if (!SWIG_IsOK(res1
)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30263 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30265 if (!SWIG_IsOK(res2
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30271 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30275 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30279 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30289 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30292 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30293 return SWIG_Py_Void();
30296 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
= 0;
30298 wxWindowDC
*arg1
= 0 ;
30299 wxGCDC
*result
= 0 ;
30302 PyObject
* obj0
= 0 ;
30303 char * kwnames
[] = {
30304 (char *) "dc", NULL
30307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30308 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30315 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30317 if (!wxPyCheckForApp()) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30330 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30331 PyObject
*resultobj
= 0;
30332 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30335 PyObject
*swig_obj
[1] ;
30337 if (!args
) SWIG_fail
;
30338 swig_obj
[0] = args
;
30339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30340 if (!SWIG_IsOK(res1
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30343 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= SWIG_Py_Void();
30356 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30357 PyObject
*resultobj
= 0;
30358 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30359 wxGraphicsContext
*result
= 0 ;
30362 PyObject
*swig_obj
[1] ;
30364 if (!args
) SWIG_fail
;
30365 swig_obj
[0] = args
;
30366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30370 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30372 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30382 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
= 0;
30384 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30385 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30390 PyObject
* obj0
= 0 ;
30391 PyObject
* obj1
= 0 ;
30392 char * kwnames
[] = {
30393 (char *) "self",(char *) "ctx", NULL
30396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30398 if (!SWIG_IsOK(res1
)) {
30399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30401 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30403 if (!SWIG_IsOK(res2
)) {
30404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30406 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30408 (arg1
)->SetGraphicsContext(arg2
);
30409 if (PyErr_Occurred()) SWIG_fail
;
30411 resultobj
= SWIG_Py_Void();
30418 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30422 return SWIG_Py_Void();
30425 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30426 return SWIG_Python_InitShadowInstance(args
);
30429 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30430 PyObject
*resultobj
= 0;
30431 wxOverlay
*result
= 0 ;
30433 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 result
= (wxOverlay
*)new wxOverlay();
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30447 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30448 PyObject
*resultobj
= 0;
30449 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30452 PyObject
*swig_obj
[1] ;
30454 if (!args
) SWIG_fail
;
30455 swig_obj
[0] = args
;
30456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30457 if (!SWIG_IsOK(res1
)) {
30458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30460 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= SWIG_Py_Void();
30475 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30476 PyObject
*resultobj
= 0;
30477 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30480 PyObject
*swig_obj
[1] ;
30482 if (!args
) SWIG_fail
;
30483 swig_obj
[0] = args
;
30484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30485 if (!SWIG_IsOK(res1
)) {
30486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30488 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_Py_Void();
30502 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30505 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30506 return SWIG_Py_Void();
30509 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30510 return SWIG_Python_InitShadowInstance(args
);
30513 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30514 PyObject
*resultobj
= 0;
30515 wxOverlay
*arg1
= 0 ;
30516 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30521 wxDCOverlay
*result
= 0 ;
30535 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30537 if (!SWIG_IsOK(res1
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30543 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30544 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30545 if (!SWIG_IsOK(res2
)) {
30546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30548 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30549 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30550 if (!SWIG_IsOK(ecode3
)) {
30551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30553 arg3
= static_cast< int >(val3
);
30554 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30555 if (!SWIG_IsOK(ecode4
)) {
30556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30558 arg4
= static_cast< int >(val4
);
30559 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30560 if (!SWIG_IsOK(ecode5
)) {
30561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30563 arg5
= static_cast< int >(val5
);
30564 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30565 if (!SWIG_IsOK(ecode6
)) {
30566 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30568 arg6
= static_cast< int >(val6
);
30570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30571 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30582 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30583 PyObject
*resultobj
= 0;
30584 wxOverlay
*arg1
= 0 ;
30585 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30586 wxDCOverlay
*result
= 0 ;
30592 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30594 if (!SWIG_IsOK(res1
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30600 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30601 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30602 if (!SWIG_IsOK(res2
)) {
30603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30605 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30608 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30619 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30623 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30626 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30629 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30633 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30638 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30639 PyObject
*resultobj
= 0;
30640 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30643 PyObject
*swig_obj
[1] ;
30645 if (!args
) SWIG_fail
;
30646 swig_obj
[0] = args
;
30647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30648 if (!SWIG_IsOK(res1
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30651 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= SWIG_Py_Void();
30666 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30667 PyObject
*resultobj
= 0;
30668 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30671 PyObject
*swig_obj
[1] ;
30673 if (!args
) SWIG_fail
;
30674 swig_obj
[0] = args
;
30675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30676 if (!SWIG_IsOK(res1
)) {
30677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30679 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= SWIG_Py_Void();
30693 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30696 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30697 return SWIG_Py_Void();
30700 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30701 return SWIG_Python_InitShadowInstance(args
);
30704 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
= 0;
30708 int arg3
= (int) true ;
30709 int arg4
= (int) 1 ;
30710 wxImageList
*result
= 0 ;
30719 PyObject
* obj0
= 0 ;
30720 PyObject
* obj1
= 0 ;
30721 PyObject
* obj2
= 0 ;
30722 PyObject
* obj3
= 0 ;
30723 char * kwnames
[] = {
30724 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30729 if (!SWIG_IsOK(ecode1
)) {
30730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30732 arg1
= static_cast< int >(val1
);
30733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30734 if (!SWIG_IsOK(ecode2
)) {
30735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30737 arg2
= static_cast< int >(val2
);
30739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30740 if (!SWIG_IsOK(ecode3
)) {
30741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30743 arg3
= static_cast< int >(val3
);
30746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30747 if (!SWIG_IsOK(ecode4
)) {
30748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30750 arg4
= static_cast< int >(val4
);
30753 if (!wxPyCheckForApp()) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30766 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30767 PyObject
*resultobj
= 0;
30768 wxImageList
*arg1
= (wxImageList
*) 0 ;
30771 PyObject
*swig_obj
[1] ;
30773 if (!args
) SWIG_fail
;
30774 swig_obj
[0] = args
;
30775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30776 if (!SWIG_IsOK(res1
)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30779 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= SWIG_Py_Void();
30794 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30795 PyObject
*resultobj
= 0;
30796 wxImageList
*arg1
= (wxImageList
*) 0 ;
30797 wxBitmap
*arg2
= 0 ;
30798 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30799 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30807 PyObject
* obj0
= 0 ;
30808 PyObject
* obj1
= 0 ;
30809 PyObject
* obj2
= 0 ;
30810 char * kwnames
[] = {
30811 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30816 if (!SWIG_IsOK(res1
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30819 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30821 if (!SWIG_IsOK(res2
)) {
30822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30827 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30829 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30830 if (!SWIG_IsOK(res3
)) {
30831 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30836 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30840 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30844 resultobj
= SWIG_From_int(static_cast< int >(result
));
30851 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30852 PyObject
*resultobj
= 0;
30853 wxImageList
*arg1
= (wxImageList
*) 0 ;
30854 wxBitmap
*arg2
= 0 ;
30855 wxColour
*arg3
= 0 ;
30862 PyObject
* obj0
= 0 ;
30863 PyObject
* obj1
= 0 ;
30864 PyObject
* obj2
= 0 ;
30865 char * kwnames
[] = {
30866 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30874 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30876 if (!SWIG_IsOK(res2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30882 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30885 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_From_int(static_cast< int >(result
));
30900 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= 0;
30902 wxImageList
*arg1
= (wxImageList
*) 0 ;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 char * kwnames
[] = {
30912 (char *) "self",(char *) "icon", NULL
30915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
30920 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30922 if (!SWIG_IsOK(res2
)) {
30923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30928 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_From_int(static_cast< int >(result
));
30942 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
= 0;
30944 wxImageList
*arg1
= (wxImageList
*) 0 ;
30946 SwigValueWrapper
<wxBitmap
> result
;
30951 PyObject
* obj0
= 0 ;
30952 PyObject
* obj1
= 0 ;
30953 char * kwnames
[] = {
30954 (char *) "self",(char *) "index", NULL
30957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
30962 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30964 if (!SWIG_IsOK(ecode2
)) {
30965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
30967 arg2
= static_cast< int >(val2
);
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
30981 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
= 0;
30983 wxImageList
*arg1
= (wxImageList
*) 0 ;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 char * kwnames
[] = {
30993 (char *) "self",(char *) "index", NULL
30996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30998 if (!SWIG_IsOK(res1
)) {
30999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31001 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31003 if (!SWIG_IsOK(ecode2
)) {
31004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31006 arg2
= static_cast< int >(val2
);
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31020 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
= 0;
31022 wxImageList
*arg1
= (wxImageList
*) 0 ;
31024 wxBitmap
*arg3
= 0 ;
31025 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31026 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31036 PyObject
* obj0
= 0 ;
31037 PyObject
* obj1
= 0 ;
31038 PyObject
* obj2
= 0 ;
31039 PyObject
* obj3
= 0 ;
31040 char * kwnames
[] = {
31041 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31046 if (!SWIG_IsOK(res1
)) {
31047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31049 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31051 if (!SWIG_IsOK(ecode2
)) {
31052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31054 arg2
= static_cast< int >(val2
);
31055 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31056 if (!SWIG_IsOK(res3
)) {
31057 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31062 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31064 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31065 if (!SWIG_IsOK(res4
)) {
31066 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31071 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31088 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31089 PyObject
*resultobj
= 0;
31090 wxImageList
*arg1
= (wxImageList
*) 0 ;
31095 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31096 bool arg7
= (bool) (bool)false ;
31112 PyObject
* obj0
= 0 ;
31113 PyObject
* obj1
= 0 ;
31114 PyObject
* obj2
= 0 ;
31115 PyObject
* obj3
= 0 ;
31116 PyObject
* obj4
= 0 ;
31117 PyObject
* obj5
= 0 ;
31118 PyObject
* obj6
= 0 ;
31119 char * kwnames
[] = {
31120 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31125 if (!SWIG_IsOK(res1
)) {
31126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31128 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31130 if (!SWIG_IsOK(ecode2
)) {
31131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31133 arg2
= static_cast< int >(val2
);
31134 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31135 if (!SWIG_IsOK(res3
)) {
31136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31141 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31142 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31143 if (!SWIG_IsOK(ecode4
)) {
31144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31146 arg4
= static_cast< int >(val4
);
31147 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31148 if (!SWIG_IsOK(ecode5
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31151 arg5
= static_cast< int >(val5
);
31153 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31154 if (!SWIG_IsOK(ecode6
)) {
31155 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31157 arg6
= static_cast< int >(val6
);
31160 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31161 if (!SWIG_IsOK(ecode7
)) {
31162 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31164 arg7
= static_cast< bool >(val7
);
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31181 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31182 PyObject
*resultobj
= 0;
31183 wxImageList
*arg1
= (wxImageList
*) 0 ;
31187 PyObject
*swig_obj
[1] ;
31189 if (!args
) SWIG_fail
;
31190 swig_obj
[0] = args
;
31191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31192 if (!SWIG_IsOK(res1
)) {
31193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31195 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= (int)(arg1
)->GetImageCount();
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_From_int(static_cast< int >(result
));
31209 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
= 0;
31211 wxImageList
*arg1
= (wxImageList
*) 0 ;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 char * kwnames
[] = {
31221 (char *) "self",(char *) "index", NULL
31224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31226 if (!SWIG_IsOK(res1
)) {
31227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31229 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31231 if (!SWIG_IsOK(ecode2
)) {
31232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31234 arg2
= static_cast< int >(val2
);
31236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 result
= (bool)(arg1
)->Remove(arg2
);
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31250 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31251 PyObject
*resultobj
= 0;
31252 wxImageList
*arg1
= (wxImageList
*) 0 ;
31256 PyObject
*swig_obj
[1] ;
31258 if (!args
) SWIG_fail
;
31259 swig_obj
[0] = args
;
31260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31261 if (!SWIG_IsOK(res1
)) {
31262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31264 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 result
= (bool)(arg1
)->RemoveAll();
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31280 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
= 0;
31282 wxImageList
*arg1
= (wxImageList
*) 0 ;
31291 int res3
= SWIG_TMPOBJ
;
31293 int res4
= SWIG_TMPOBJ
;
31294 PyObject
* obj0
= 0 ;
31295 PyObject
* obj1
= 0 ;
31296 char * kwnames
[] = {
31297 (char *) "self",(char *) "index", NULL
31302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31304 if (!SWIG_IsOK(res1
)) {
31305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31307 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31309 if (!SWIG_IsOK(ecode2
)) {
31310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31312 arg2
= static_cast< int >(val2
);
31314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31315 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31319 resultobj
= SWIG_Py_Void();
31320 if (SWIG_IsTmpObj(res3
)) {
31321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31323 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31326 if (SWIG_IsTmpObj(res4
)) {
31327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31329 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31338 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31341 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31342 return SWIG_Py_Void();
31345 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31346 return SWIG_Python_InitShadowInstance(args
);
31349 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31350 PyObject
*resultobj
= 0;
31351 wxStockGDI
*result
= 0 ;
31353 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31356 result
= (wxStockGDI
*)new wxStockGDI();
31357 wxPyEndAllowThreads(__tstate
);
31358 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31367 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31368 PyObject
*resultobj
= 0;
31369 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31372 PyObject
*swig_obj
[1] ;
31374 if (!args
) SWIG_fail
;
31375 swig_obj
[0] = args
;
31376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31377 if (!SWIG_IsOK(res1
)) {
31378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31380 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 wxPyEndAllowThreads(__tstate
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= SWIG_Py_Void();
31395 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31396 PyObject
*resultobj
= 0;
31398 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 wxStockGDI::DeleteAll();
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= SWIG_Py_Void();
31412 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31413 PyObject
*resultobj
= 0;
31414 wxStockGDI
*result
= 0 ;
31416 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31420 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31421 result
= (wxStockGDI
*) &_result_ref
;
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31433 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
= 0;
31435 wxStockGDI::Item arg1
;
31436 wxBrush
*result
= 0 ;
31439 PyObject
* obj0
= 0 ;
31440 char * kwnames
[] = {
31441 (char *) "item", NULL
31444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31446 if (!SWIG_IsOK(ecode1
)) {
31447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31449 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31463 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
= 0;
31465 wxStockGDI::Item arg1
;
31466 wxColour
*result
= 0 ;
31469 PyObject
* obj0
= 0 ;
31470 char * kwnames
[] = {
31471 (char *) "item", NULL
31474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31475 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31476 if (!SWIG_IsOK(ecode1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31479 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31482 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31493 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31494 PyObject
*resultobj
= 0;
31495 wxStockGDI::Item arg1
;
31496 wxCursor
*result
= 0 ;
31499 PyObject
* obj0
= 0 ;
31500 char * kwnames
[] = {
31501 (char *) "item", NULL
31504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31505 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31506 if (!SWIG_IsOK(ecode1
)) {
31507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31509 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31523 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
= 0;
31525 wxStockGDI::Item arg1
;
31526 wxPen
*result
= 0 ;
31529 PyObject
* obj0
= 0 ;
31530 char * kwnames
[] = {
31531 (char *) "item", NULL
31534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31535 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31536 if (!SWIG_IsOK(ecode1
)) {
31537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31539 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31553 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
= 0;
31555 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31556 wxStockGDI::Item arg2
;
31557 wxFont
*result
= 0 ;
31562 PyObject
* obj0
= 0 ;
31563 PyObject
* obj1
= 0 ;
31564 char * kwnames
[] = {
31565 (char *) "self",(char *) "item", NULL
31568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31570 if (!SWIG_IsOK(res1
)) {
31571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31573 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31575 if (!SWIG_IsOK(ecode2
)) {
31576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31578 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31592 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31594 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31595 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31596 return SWIG_Py_Void();
31599 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31600 return SWIG_Python_InitShadowInstance(args
);
31603 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31604 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31609 SWIGINTERN PyObject
*NullBitmap_get(void) {
31610 PyObject
*pyobj
= 0;
31612 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31617 SWIGINTERN
int NullIcon_set(PyObject
*) {
31618 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31623 SWIGINTERN PyObject
*NullIcon_get(void) {
31624 PyObject
*pyobj
= 0;
31626 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31631 SWIGINTERN
int NullCursor_set(PyObject
*) {
31632 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31637 SWIGINTERN PyObject
*NullCursor_get(void) {
31638 PyObject
*pyobj
= 0;
31640 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31645 SWIGINTERN
int NullPen_set(PyObject
*) {
31646 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31651 SWIGINTERN PyObject
*NullPen_get(void) {
31652 PyObject
*pyobj
= 0;
31654 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31659 SWIGINTERN
int NullBrush_set(PyObject
*) {
31660 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31665 SWIGINTERN PyObject
*NullBrush_get(void) {
31666 PyObject
*pyobj
= 0;
31668 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31673 SWIGINTERN
int NullPalette_set(PyObject
*) {
31674 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31679 SWIGINTERN PyObject
*NullPalette_get(void) {
31680 PyObject
*pyobj
= 0;
31682 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31687 SWIGINTERN
int NullFont_set(PyObject
*) {
31688 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31693 SWIGINTERN PyObject
*NullFont_get(void) {
31694 PyObject
*pyobj
= 0;
31696 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31701 SWIGINTERN
int NullColour_set(PyObject
*) {
31702 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31707 SWIGINTERN PyObject
*NullColour_get(void) {
31708 PyObject
*pyobj
= 0;
31710 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31715 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31716 PyObject
*resultobj
= 0;
31717 wxGDIObjListBase
*result
= 0 ;
31719 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31733 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31734 PyObject
*resultobj
= 0;
31735 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31738 PyObject
*swig_obj
[1] ;
31740 if (!args
) SWIG_fail
;
31741 swig_obj
[0] = args
;
31742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31743 if (!SWIG_IsOK(res1
)) {
31744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31746 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= SWIG_Py_Void();
31761 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31764 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31765 return SWIG_Py_Void();
31768 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31769 return SWIG_Python_InitShadowInstance(args
);
31772 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
= 0;
31774 wxPenList
*arg1
= (wxPenList
*) 0 ;
31775 wxColour
*arg2
= 0 ;
31778 wxPen
*result
= 0 ;
31786 PyObject
* obj0
= 0 ;
31787 PyObject
* obj1
= 0 ;
31788 PyObject
* obj2
= 0 ;
31789 PyObject
* obj3
= 0 ;
31790 char * kwnames
[] = {
31791 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31796 if (!SWIG_IsOK(res1
)) {
31797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31799 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31802 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31805 if (!SWIG_IsOK(ecode3
)) {
31806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31808 arg3
= static_cast< int >(val3
);
31809 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31810 if (!SWIG_IsOK(ecode4
)) {
31811 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31813 arg4
= static_cast< int >(val4
);
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31827 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31828 PyObject
*resultobj
= 0;
31829 wxPenList
*arg1
= (wxPenList
*) 0 ;
31830 wxPen
*arg2
= (wxPen
*) 0 ;
31835 PyObject
* obj0
= 0 ;
31836 PyObject
* obj1
= 0 ;
31837 char * kwnames
[] = {
31838 (char *) "self",(char *) "pen", NULL
31841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31843 if (!SWIG_IsOK(res1
)) {
31844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31846 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31848 if (!SWIG_IsOK(res2
)) {
31849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31851 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 (arg1
)->AddPen(arg2
);
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 resultobj
= SWIG_Py_Void();
31865 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31866 PyObject
*resultobj
= 0;
31867 wxPenList
*arg1
= (wxPenList
*) 0 ;
31868 wxPen
*arg2
= (wxPen
*) 0 ;
31873 PyObject
* obj0
= 0 ;
31874 PyObject
* obj1
= 0 ;
31875 char * kwnames
[] = {
31876 (char *) "self",(char *) "pen", NULL
31879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31881 if (!SWIG_IsOK(res1
)) {
31882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31884 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31885 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31886 if (!SWIG_IsOK(res2
)) {
31887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31889 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 (arg1
)->RemovePen(arg2
);
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= SWIG_Py_Void();
31903 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31906 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
31907 return SWIG_Py_Void();
31910 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31911 PyObject
*resultobj
= 0;
31912 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31913 wxColour
*arg2
= 0 ;
31914 int arg3
= (int) wxSOLID
;
31915 wxBrush
*result
= 0 ;
31921 PyObject
* obj0
= 0 ;
31922 PyObject
* obj1
= 0 ;
31923 PyObject
* obj2
= 0 ;
31924 char * kwnames
[] = {
31925 (char *) "self",(char *) "colour",(char *) "style", NULL
31928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31930 if (!SWIG_IsOK(res1
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31933 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31940 if (!SWIG_IsOK(ecode3
)) {
31941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
31943 arg3
= static_cast< int >(val3
);
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31947 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31958 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
= 0;
31960 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31961 wxBrush
*arg2
= (wxBrush
*) 0 ;
31966 PyObject
* obj0
= 0 ;
31967 PyObject
* obj1
= 0 ;
31968 char * kwnames
[] = {
31969 (char *) "self",(char *) "brush", NULL
31972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31974 if (!SWIG_IsOK(res1
)) {
31975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31977 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
31979 if (!SWIG_IsOK(res2
)) {
31980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
31982 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 (arg1
)->AddBrush(arg2
);
31986 wxPyEndAllowThreads(__tstate
);
31987 if (PyErr_Occurred()) SWIG_fail
;
31989 resultobj
= SWIG_Py_Void();
31996 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31997 PyObject
*resultobj
= 0;
31998 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31999 wxBrush
*arg2
= (wxBrush
*) 0 ;
32004 PyObject
* obj0
= 0 ;
32005 PyObject
* obj1
= 0 ;
32006 char * kwnames
[] = {
32007 (char *) "self",(char *) "brush", NULL
32010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32012 if (!SWIG_IsOK(res1
)) {
32013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32015 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32017 if (!SWIG_IsOK(res2
)) {
32018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32020 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 (arg1
)->RemoveBrush(arg2
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_Py_Void();
32034 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32037 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32038 return SWIG_Py_Void();
32041 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32042 PyObject
*resultobj
= 0;
32043 wxFontList
*arg1
= (wxFontList
*) 0 ;
32048 bool arg6
= (bool) false ;
32049 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32050 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32051 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32052 wxFont
*result
= 0 ;
32065 bool temp7
= false ;
32068 PyObject
* obj0
= 0 ;
32069 PyObject
* obj1
= 0 ;
32070 PyObject
* obj2
= 0 ;
32071 PyObject
* obj3
= 0 ;
32072 PyObject
* obj4
= 0 ;
32073 PyObject
* obj5
= 0 ;
32074 PyObject
* obj6
= 0 ;
32075 PyObject
* obj7
= 0 ;
32076 char * kwnames
[] = {
32077 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32082 if (!SWIG_IsOK(res1
)) {
32083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32085 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32087 if (!SWIG_IsOK(ecode2
)) {
32088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32090 arg2
= static_cast< int >(val2
);
32091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32092 if (!SWIG_IsOK(ecode3
)) {
32093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32095 arg3
= static_cast< int >(val3
);
32096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32097 if (!SWIG_IsOK(ecode4
)) {
32098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32100 arg4
= static_cast< int >(val4
);
32101 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32102 if (!SWIG_IsOK(ecode5
)) {
32103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32105 arg5
= static_cast< int >(val5
);
32107 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32108 if (!SWIG_IsOK(ecode6
)) {
32109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32111 arg6
= static_cast< bool >(val6
);
32115 arg7
= wxString_in_helper(obj6
);
32116 if (arg7
== NULL
) SWIG_fail
;
32121 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32122 if (!SWIG_IsOK(ecode8
)) {
32123 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32125 arg8
= static_cast< wxFontEncoding
>(val8
);
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32148 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
= 0;
32150 wxFontList
*arg1
= (wxFontList
*) 0 ;
32151 wxFont
*arg2
= (wxFont
*) 0 ;
32156 PyObject
* obj0
= 0 ;
32157 PyObject
* obj1
= 0 ;
32158 char * kwnames
[] = {
32159 (char *) "self",(char *) "font", NULL
32162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32164 if (!SWIG_IsOK(res1
)) {
32165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32167 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32169 if (!SWIG_IsOK(res2
)) {
32170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32172 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32175 (arg1
)->AddFont(arg2
);
32176 wxPyEndAllowThreads(__tstate
);
32177 if (PyErr_Occurred()) SWIG_fail
;
32179 resultobj
= SWIG_Py_Void();
32186 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32187 PyObject
*resultobj
= 0;
32188 wxFontList
*arg1
= (wxFontList
*) 0 ;
32189 wxFont
*arg2
= (wxFont
*) 0 ;
32194 PyObject
* obj0
= 0 ;
32195 PyObject
* obj1
= 0 ;
32196 char * kwnames
[] = {
32197 (char *) "self",(char *) "font", NULL
32200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32202 if (!SWIG_IsOK(res1
)) {
32203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32205 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32207 if (!SWIG_IsOK(res2
)) {
32208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32210 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 (arg1
)->RemoveFont(arg2
);
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32217 resultobj
= SWIG_Py_Void();
32224 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32227 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32228 return SWIG_Py_Void();
32231 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32232 PyObject
*resultobj
= 0;
32233 wxColourDatabase
*result
= 0 ;
32235 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32237 if (!wxPyCheckForApp()) SWIG_fail
;
32238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32239 result
= (wxColourDatabase
*)new wxColourDatabase();
32240 wxPyEndAllowThreads(__tstate
);
32241 if (PyErr_Occurred()) SWIG_fail
;
32243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32250 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32251 PyObject
*resultobj
= 0;
32252 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32255 PyObject
*swig_obj
[1] ;
32257 if (!args
) SWIG_fail
;
32258 swig_obj
[0] = args
;
32259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32260 if (!SWIG_IsOK(res1
)) {
32261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32263 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32268 wxPyEndAllowThreads(__tstate
);
32269 if (PyErr_Occurred()) SWIG_fail
;
32271 resultobj
= SWIG_Py_Void();
32278 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32279 PyObject
*resultobj
= 0;
32280 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32281 wxString
*arg2
= 0 ;
32285 bool temp2
= false ;
32286 PyObject
* obj0
= 0 ;
32287 PyObject
* obj1
= 0 ;
32288 char * kwnames
[] = {
32289 (char *) "self",(char *) "name", NULL
32292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32294 if (!SWIG_IsOK(res1
)) {
32295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32297 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32299 arg2
= wxString_in_helper(obj1
);
32300 if (arg2
== NULL
) SWIG_fail
;
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32324 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32325 PyObject
*resultobj
= 0;
32326 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32327 wxColour
*arg2
= 0 ;
32332 PyObject
* obj0
= 0 ;
32333 PyObject
* obj1
= 0 ;
32334 char * kwnames
[] = {
32335 (char *) "self",(char *) "colour", NULL
32338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32340 if (!SWIG_IsOK(res1
)) {
32341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32343 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32367 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32368 PyObject
*resultobj
= 0;
32369 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32370 wxString
*arg2
= 0 ;
32371 wxColour
*arg3
= 0 ;
32374 bool temp2
= false ;
32376 PyObject
* obj0
= 0 ;
32377 PyObject
* obj1
= 0 ;
32378 PyObject
* obj2
= 0 ;
32379 char * kwnames
[] = {
32380 (char *) "self",(char *) "name",(char *) "colour", NULL
32383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32385 if (!SWIG_IsOK(res1
)) {
32386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32388 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32390 arg2
= wxString_in_helper(obj1
);
32391 if (arg2
== NULL
) SWIG_fail
;
32396 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32400 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32404 resultobj
= SWIG_Py_Void();
32419 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
= 0;
32421 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32422 wxString
*arg2
= 0 ;
32428 bool temp2
= false ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 PyObject
* obj2
= 0 ;
32438 PyObject
* obj3
= 0 ;
32439 PyObject
* obj4
= 0 ;
32440 char * kwnames
[] = {
32441 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32449 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32451 arg2
= wxString_in_helper(obj1
);
32452 if (arg2
== NULL
) SWIG_fail
;
32455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32456 if (!SWIG_IsOK(ecode3
)) {
32457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32459 arg3
= static_cast< int >(val3
);
32460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32461 if (!SWIG_IsOK(ecode4
)) {
32462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32464 arg4
= static_cast< int >(val4
);
32465 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32466 if (!SWIG_IsOK(ecode5
)) {
32467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32469 arg5
= static_cast< int >(val5
);
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= SWIG_Py_Void();
32491 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32494 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32495 return SWIG_Py_Void();
32498 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32499 return SWIG_Python_InitShadowInstance(args
);
32502 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32503 PyObject
*resultobj
= 0;
32504 wxFontList
*result
= 0 ;
32506 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 result
= (wxFontList
*)_wxPyInitTheFontList();
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32520 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32521 PyObject
*resultobj
= 0;
32522 wxPenList
*result
= 0 ;
32524 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32527 result
= (wxPenList
*)_wxPyInitThePenList();
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32538 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32539 PyObject
*resultobj
= 0;
32540 wxBrushList
*result
= 0 ;
32542 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32556 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32557 PyObject
*resultobj
= 0;
32558 wxColourDatabase
*result
= 0 ;
32560 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32563 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32564 wxPyEndAllowThreads(__tstate
);
32565 if (PyErr_Occurred()) SWIG_fail
;
32567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32574 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32575 PyObject
*resultobj
= 0;
32576 wxEffects
*result
= 0 ;
32578 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (wxEffects
*)new wxEffects();
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32592 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32593 PyObject
*resultobj
= 0;
32594 wxEffects
*arg1
= (wxEffects
*) 0 ;
32598 PyObject
*swig_obj
[1] ;
32600 if (!args
) SWIG_fail
;
32601 swig_obj
[0] = args
;
32602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32603 if (!SWIG_IsOK(res1
)) {
32604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32606 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32609 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32613 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32620 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32621 PyObject
*resultobj
= 0;
32622 wxEffects
*arg1
= (wxEffects
*) 0 ;
32626 PyObject
*swig_obj
[1] ;
32628 if (!args
) SWIG_fail
;
32629 swig_obj
[0] = args
;
32630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32631 if (!SWIG_IsOK(res1
)) {
32632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32634 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32638 wxPyEndAllowThreads(__tstate
);
32639 if (PyErr_Occurred()) SWIG_fail
;
32641 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32648 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32649 PyObject
*resultobj
= 0;
32650 wxEffects
*arg1
= (wxEffects
*) 0 ;
32654 PyObject
*swig_obj
[1] ;
32656 if (!args
) SWIG_fail
;
32657 swig_obj
[0] = args
;
32658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32659 if (!SWIG_IsOK(res1
)) {
32660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32662 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32676 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32677 PyObject
*resultobj
= 0;
32678 wxEffects
*arg1
= (wxEffects
*) 0 ;
32682 PyObject
*swig_obj
[1] ;
32684 if (!args
) SWIG_fail
;
32685 swig_obj
[0] = args
;
32686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32687 if (!SWIG_IsOK(res1
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32690 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32704 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32705 PyObject
*resultobj
= 0;
32706 wxEffects
*arg1
= (wxEffects
*) 0 ;
32710 PyObject
*swig_obj
[1] ;
32712 if (!args
) SWIG_fail
;
32713 swig_obj
[0] = args
;
32714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32715 if (!SWIG_IsOK(res1
)) {
32716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32718 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32721 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32725 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32732 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32733 PyObject
*resultobj
= 0;
32734 wxEffects
*arg1
= (wxEffects
*) 0 ;
32735 wxColour
*arg2
= 0 ;
32739 PyObject
* obj0
= 0 ;
32740 PyObject
* obj1
= 0 ;
32741 char * kwnames
[] = {
32742 (char *) "self",(char *) "c", NULL
32745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32747 if (!SWIG_IsOK(res1
)) {
32748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32750 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32753 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32757 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32758 wxPyEndAllowThreads(__tstate
);
32759 if (PyErr_Occurred()) SWIG_fail
;
32761 resultobj
= SWIG_Py_Void();
32768 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
= 0;
32770 wxEffects
*arg1
= (wxEffects
*) 0 ;
32771 wxColour
*arg2
= 0 ;
32775 PyObject
* obj0
= 0 ;
32776 PyObject
* obj1
= 0 ;
32777 char * kwnames
[] = {
32778 (char *) "self",(char *) "c", NULL
32781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32783 if (!SWIG_IsOK(res1
)) {
32784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32786 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32789 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32794 wxPyEndAllowThreads(__tstate
);
32795 if (PyErr_Occurred()) SWIG_fail
;
32797 resultobj
= SWIG_Py_Void();
32804 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32805 PyObject
*resultobj
= 0;
32806 wxEffects
*arg1
= (wxEffects
*) 0 ;
32807 wxColour
*arg2
= 0 ;
32811 PyObject
* obj0
= 0 ;
32812 PyObject
* obj1
= 0 ;
32813 char * kwnames
[] = {
32814 (char *) "self",(char *) "c", NULL
32817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32819 if (!SWIG_IsOK(res1
)) {
32820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32822 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32825 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= SWIG_Py_Void();
32840 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
= 0;
32842 wxEffects
*arg1
= (wxEffects
*) 0 ;
32843 wxColour
*arg2
= 0 ;
32847 PyObject
* obj0
= 0 ;
32848 PyObject
* obj1
= 0 ;
32849 char * kwnames
[] = {
32850 (char *) "self",(char *) "c", NULL
32853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32855 if (!SWIG_IsOK(res1
)) {
32856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32858 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32865 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32866 wxPyEndAllowThreads(__tstate
);
32867 if (PyErr_Occurred()) SWIG_fail
;
32869 resultobj
= SWIG_Py_Void();
32876 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32877 PyObject
*resultobj
= 0;
32878 wxEffects
*arg1
= (wxEffects
*) 0 ;
32879 wxColour
*arg2
= 0 ;
32883 PyObject
* obj0
= 0 ;
32884 PyObject
* obj1
= 0 ;
32885 char * kwnames
[] = {
32886 (char *) "self",(char *) "c", NULL
32889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32891 if (!SWIG_IsOK(res1
)) {
32892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32894 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32897 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32901 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32905 resultobj
= SWIG_Py_Void();
32912 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
= 0;
32914 wxEffects
*arg1
= (wxEffects
*) 0 ;
32915 wxColour
*arg2
= 0 ;
32916 wxColour
*arg3
= 0 ;
32917 wxColour
*arg4
= 0 ;
32918 wxColour
*arg5
= 0 ;
32919 wxColour
*arg6
= 0 ;
32927 PyObject
* obj0
= 0 ;
32928 PyObject
* obj1
= 0 ;
32929 PyObject
* obj2
= 0 ;
32930 PyObject
* obj3
= 0 ;
32931 PyObject
* obj4
= 0 ;
32932 PyObject
* obj5
= 0 ;
32933 char * kwnames
[] = {
32934 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
32937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32939 if (!SWIG_IsOK(res1
)) {
32940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
32942 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32949 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32953 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32957 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
32961 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
32964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32965 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32969 resultobj
= SWIG_Py_Void();
32976 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32977 PyObject
*resultobj
= 0;
32978 wxEffects
*arg1
= (wxEffects
*) 0 ;
32981 int arg4
= (int) 1 ;
32989 PyObject
* obj0
= 0 ;
32990 PyObject
* obj1
= 0 ;
32991 PyObject
* obj2
= 0 ;
32992 PyObject
* obj3
= 0 ;
32993 char * kwnames
[] = {
32994 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
32997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32999 if (!SWIG_IsOK(res1
)) {
33000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33002 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33003 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33004 if (!SWIG_IsOK(res2
)) {
33005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33010 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33013 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33017 if (!SWIG_IsOK(ecode4
)) {
33018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33020 arg4
= static_cast< int >(val4
);
33023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33024 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 resultobj
= SWIG_Py_Void();
33035 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
= 0;
33037 wxEffects
*arg1
= (wxEffects
*) 0 ;
33040 wxBitmap
*arg4
= 0 ;
33049 PyObject
* obj0
= 0 ;
33050 PyObject
* obj1
= 0 ;
33051 PyObject
* obj2
= 0 ;
33052 PyObject
* obj3
= 0 ;
33053 char * kwnames
[] = {
33054 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33059 if (!SWIG_IsOK(res1
)) {
33060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33062 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33065 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33067 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33068 if (!SWIG_IsOK(res3
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33074 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33075 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33076 if (!SWIG_IsOK(res4
)) {
33077 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33082 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33098 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33101 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33102 return SWIG_Py_Void();
33105 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33106 return SWIG_Python_InitShadowInstance(args
);
33109 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
= 0;
33114 wxSplitterRenderParams
*result
= 0 ;
33121 PyObject
* obj0
= 0 ;
33122 PyObject
* obj1
= 0 ;
33123 PyObject
* obj2
= 0 ;
33124 char * kwnames
[] = {
33125 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33129 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33130 if (!SWIG_IsOK(ecode1
)) {
33131 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33133 arg1
= static_cast< int >(val1
);
33134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33135 if (!SWIG_IsOK(ecode2
)) {
33136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33138 arg2
= static_cast< int >(val2
);
33139 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33140 if (!SWIG_IsOK(ecode3
)) {
33141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33143 arg3
= static_cast< bool >(val3
);
33145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33146 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33147 wxPyEndAllowThreads(__tstate
);
33148 if (PyErr_Occurred()) SWIG_fail
;
33150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33157 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33158 PyObject
*resultobj
= 0;
33159 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33162 PyObject
*swig_obj
[1] ;
33164 if (!args
) SWIG_fail
;
33165 swig_obj
[0] = args
;
33166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33167 if (!SWIG_IsOK(res1
)) {
33168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33170 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33175 wxPyEndAllowThreads(__tstate
);
33176 if (PyErr_Occurred()) SWIG_fail
;
33178 resultobj
= SWIG_Py_Void();
33185 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33186 PyObject
*resultobj
= 0;
33187 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33191 PyObject
*swig_obj
[1] ;
33193 if (!args
) SWIG_fail
;
33194 swig_obj
[0] = args
;
33195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33196 if (!SWIG_IsOK(res1
)) {
33197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33199 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33200 result
= (int)(int) ((arg1
)->widthSash
);
33201 resultobj
= SWIG_From_int(static_cast< int >(result
));
33208 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33209 PyObject
*resultobj
= 0;
33210 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33214 PyObject
*swig_obj
[1] ;
33216 if (!args
) SWIG_fail
;
33217 swig_obj
[0] = args
;
33218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33219 if (!SWIG_IsOK(res1
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33222 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33223 result
= (int)(int) ((arg1
)->border
);
33224 resultobj
= SWIG_From_int(static_cast< int >(result
));
33231 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33232 PyObject
*resultobj
= 0;
33233 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33237 PyObject
*swig_obj
[1] ;
33239 if (!args
) SWIG_fail
;
33240 swig_obj
[0] = args
;
33241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33242 if (!SWIG_IsOK(res1
)) {
33243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33245 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33246 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33247 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33254 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33257 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33258 return SWIG_Py_Void();
33261 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33262 return SWIG_Python_InitShadowInstance(args
);
33265 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33266 PyObject
*resultobj
= 0;
33267 wxHeaderButtonParams
*result
= 0 ;
33269 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33283 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33284 PyObject
*resultobj
= 0;
33285 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33288 PyObject
*swig_obj
[1] ;
33290 if (!args
) SWIG_fail
;
33291 swig_obj
[0] = args
;
33292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33293 if (!SWIG_IsOK(res1
)) {
33294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33296 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33304 resultobj
= SWIG_Py_Void();
33311 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33312 PyObject
*resultobj
= 0;
33313 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33314 wxColour
*arg2
= (wxColour
*) 0 ;
33318 PyObject
*swig_obj
[2] ;
33320 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33322 if (!SWIG_IsOK(res1
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33325 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33328 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33330 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33332 resultobj
= SWIG_Py_Void();
33339 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33340 PyObject
*resultobj
= 0;
33341 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33342 wxColour
*result
= 0 ;
33345 PyObject
*swig_obj
[1] ;
33347 if (!args
) SWIG_fail
;
33348 swig_obj
[0] = args
;
33349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33350 if (!SWIG_IsOK(res1
)) {
33351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33353 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33354 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33362 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33363 PyObject
*resultobj
= 0;
33364 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33365 wxColour
*arg2
= (wxColour
*) 0 ;
33369 PyObject
*swig_obj
[2] ;
33371 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33373 if (!SWIG_IsOK(res1
)) {
33374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33376 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33379 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33381 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33383 resultobj
= SWIG_Py_Void();
33390 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33391 PyObject
*resultobj
= 0;
33392 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33393 wxColour
*result
= 0 ;
33396 PyObject
*swig_obj
[1] ;
33398 if (!args
) SWIG_fail
;
33399 swig_obj
[0] = args
;
33400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33401 if (!SWIG_IsOK(res1
)) {
33402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33404 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33405 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33413 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33414 PyObject
*resultobj
= 0;
33415 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33416 wxString
*arg2
= (wxString
*) 0 ;
33419 bool temp2
= false ;
33420 PyObject
*swig_obj
[2] ;
33422 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33424 if (!SWIG_IsOK(res1
)) {
33425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33427 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33429 arg2
= wxString_in_helper(swig_obj
[1]);
33430 if (arg2
== NULL
) SWIG_fail
;
33433 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33435 resultobj
= SWIG_Py_Void();
33450 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33451 PyObject
*resultobj
= 0;
33452 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33453 wxString
*result
= 0 ;
33456 PyObject
*swig_obj
[1] ;
33458 if (!args
) SWIG_fail
;
33459 swig_obj
[0] = args
;
33460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33461 if (!SWIG_IsOK(res1
)) {
33462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33464 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33465 result
= (wxString
*)& ((arg1
)->m_labelText
);
33468 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33470 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33479 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33480 PyObject
*resultobj
= 0;
33481 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33482 wxFont
*arg2
= (wxFont
*) 0 ;
33487 PyObject
*swig_obj
[2] ;
33489 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33491 if (!SWIG_IsOK(res1
)) {
33492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33494 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33495 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33496 if (!SWIG_IsOK(res2
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33499 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33500 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33502 resultobj
= SWIG_Py_Void();
33509 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33510 PyObject
*resultobj
= 0;
33511 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33512 wxFont
*result
= 0 ;
33515 PyObject
*swig_obj
[1] ;
33517 if (!args
) SWIG_fail
;
33518 swig_obj
[0] = args
;
33519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33520 if (!SWIG_IsOK(res1
)) {
33521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33523 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33524 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33532 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33533 PyObject
*resultobj
= 0;
33534 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33535 wxColour
*arg2
= (wxColour
*) 0 ;
33539 PyObject
*swig_obj
[2] ;
33541 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33543 if (!SWIG_IsOK(res1
)) {
33544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33546 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33549 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33551 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33553 resultobj
= SWIG_Py_Void();
33560 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33561 PyObject
*resultobj
= 0;
33562 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33563 wxColour
*result
= 0 ;
33566 PyObject
*swig_obj
[1] ;
33568 if (!args
) SWIG_fail
;
33569 swig_obj
[0] = args
;
33570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33571 if (!SWIG_IsOK(res1
)) {
33572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33574 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33575 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33583 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33584 PyObject
*resultobj
= 0;
33585 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33586 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33591 PyObject
*swig_obj
[2] ;
33593 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33595 if (!SWIG_IsOK(res1
)) {
33596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33598 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33599 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33600 if (!SWIG_IsOK(res2
)) {
33601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33603 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33604 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33606 resultobj
= SWIG_Py_Void();
33613 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33614 PyObject
*resultobj
= 0;
33615 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33616 wxBitmap
*result
= 0 ;
33619 PyObject
*swig_obj
[1] ;
33621 if (!args
) SWIG_fail
;
33622 swig_obj
[0] = args
;
33623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33624 if (!SWIG_IsOK(res1
)) {
33625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33627 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33628 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33636 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33637 PyObject
*resultobj
= 0;
33638 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33644 PyObject
*swig_obj
[2] ;
33646 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33648 if (!SWIG_IsOK(res1
)) {
33649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33651 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33652 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33653 if (!SWIG_IsOK(ecode2
)) {
33654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33656 arg2
= static_cast< int >(val2
);
33657 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33659 resultobj
= SWIG_Py_Void();
33666 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33667 PyObject
*resultobj
= 0;
33668 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33672 PyObject
*swig_obj
[1] ;
33674 if (!args
) SWIG_fail
;
33675 swig_obj
[0] = args
;
33676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33677 if (!SWIG_IsOK(res1
)) {
33678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33680 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33681 result
= (int) ((arg1
)->m_labelAlignment
);
33682 resultobj
= SWIG_From_int(static_cast< int >(result
));
33689 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33692 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33693 return SWIG_Py_Void();
33696 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33697 return SWIG_Python_InitShadowInstance(args
);
33700 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33701 PyObject
*resultobj
= 0;
33704 wxRendererVersion
*result
= 0 ;
33709 PyObject
* obj0
= 0 ;
33710 PyObject
* obj1
= 0 ;
33711 char * kwnames
[] = {
33712 (char *) "version_",(char *) "age_", NULL
33715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33717 if (!SWIG_IsOK(ecode1
)) {
33718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33720 arg1
= static_cast< int >(val1
);
33721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33722 if (!SWIG_IsOK(ecode2
)) {
33723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33725 arg2
= static_cast< int >(val2
);
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33729 wxPyEndAllowThreads(__tstate
);
33730 if (PyErr_Occurred()) SWIG_fail
;
33732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33739 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33740 PyObject
*resultobj
= 0;
33741 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33744 PyObject
*swig_obj
[1] ;
33746 if (!args
) SWIG_fail
;
33747 swig_obj
[0] = args
;
33748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33749 if (!SWIG_IsOK(res1
)) {
33750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33752 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 wxPyEndAllowThreads(__tstate
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33760 resultobj
= SWIG_Py_Void();
33767 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33768 PyObject
*resultobj
= 0;
33769 wxRendererVersion
*arg1
= 0 ;
33773 PyObject
* obj0
= 0 ;
33774 char * kwnames
[] = {
33775 (char *) "ver", NULL
33778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33779 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33780 if (!SWIG_IsOK(res1
)) {
33781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33786 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33789 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33790 wxPyEndAllowThreads(__tstate
);
33791 if (PyErr_Occurred()) SWIG_fail
;
33794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33802 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33803 PyObject
*resultobj
= 0;
33804 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33808 PyObject
*swig_obj
[1] ;
33810 if (!args
) SWIG_fail
;
33811 swig_obj
[0] = args
;
33812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33813 if (!SWIG_IsOK(res1
)) {
33814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33816 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33817 result
= (int)(int) ((arg1
)->version
);
33818 resultobj
= SWIG_From_int(static_cast< int >(result
));
33825 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33826 PyObject
*resultobj
= 0;
33827 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33831 PyObject
*swig_obj
[1] ;
33833 if (!args
) SWIG_fail
;
33834 swig_obj
[0] = args
;
33835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33836 if (!SWIG_IsOK(res1
)) {
33837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33839 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33840 result
= (int)(int) ((arg1
)->age
);
33841 resultobj
= SWIG_From_int(static_cast< int >(result
));
33848 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33851 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33852 return SWIG_Py_Void();
33855 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33856 return SWIG_Python_InitShadowInstance(args
);
33859 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
= 0;
33861 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33862 wxWindow
*arg2
= (wxWindow
*) 0 ;
33865 int arg5
= (int) 0 ;
33866 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33867 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33881 PyObject
* obj0
= 0 ;
33882 PyObject
* obj1
= 0 ;
33883 PyObject
* obj2
= 0 ;
33884 PyObject
* obj3
= 0 ;
33885 PyObject
* obj4
= 0 ;
33886 PyObject
* obj5
= 0 ;
33887 PyObject
* obj6
= 0 ;
33888 char * kwnames
[] = {
33889 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33894 if (!SWIG_IsOK(res1
)) {
33895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33897 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33899 if (!SWIG_IsOK(res2
)) {
33900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33902 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33903 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33904 if (!SWIG_IsOK(res3
)) {
33905 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33910 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33913 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33916 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33917 if (!SWIG_IsOK(ecode5
)) {
33918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
33920 arg5
= static_cast< int >(val5
);
33923 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33924 if (!SWIG_IsOK(ecode6
)) {
33925 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33927 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33930 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33931 if (!SWIG_IsOK(res7
)) {
33932 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33934 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33938 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33942 resultobj
= SWIG_Py_Void();
33949 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
= 0;
33951 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33952 wxWindow
*arg2
= (wxWindow
*) 0 ;
33955 int arg5
= (int) 0 ;
33956 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33957 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33971 PyObject
* obj0
= 0 ;
33972 PyObject
* obj1
= 0 ;
33973 PyObject
* obj2
= 0 ;
33974 PyObject
* obj3
= 0 ;
33975 PyObject
* obj4
= 0 ;
33976 PyObject
* obj5
= 0 ;
33977 PyObject
* obj6
= 0 ;
33978 char * kwnames
[] = {
33979 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33984 if (!SWIG_IsOK(res1
)) {
33985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33987 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33989 if (!SWIG_IsOK(res2
)) {
33990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
33992 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33993 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33994 if (!SWIG_IsOK(res3
)) {
33995 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
33998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34000 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34003 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34006 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34007 if (!SWIG_IsOK(ecode5
)) {
34008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34010 arg5
= static_cast< int >(val5
);
34013 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34014 if (!SWIG_IsOK(ecode6
)) {
34015 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34017 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34020 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34021 if (!SWIG_IsOK(res7
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34024 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34028 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34029 wxPyEndAllowThreads(__tstate
);
34030 if (PyErr_Occurred()) SWIG_fail
;
34032 resultobj
= SWIG_Py_Void();
34039 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
= 0;
34041 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34042 wxWindow
*arg2
= (wxWindow
*) 0 ;
34048 PyObject
* obj0
= 0 ;
34049 PyObject
* obj1
= 0 ;
34050 char * kwnames
[] = {
34051 (char *) "self",(char *) "win", NULL
34054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34056 if (!SWIG_IsOK(res1
)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34059 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34061 if (!SWIG_IsOK(res2
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34064 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34068 wxPyEndAllowThreads(__tstate
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34071 resultobj
= SWIG_From_int(static_cast< int >(result
));
34078 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(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_DrawTreeItemButton",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_DrawTreeItemButton" "', 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_DrawTreeItemButton" "', 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_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', 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_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34131 arg5
= static_cast< int >(val5
);
34134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34135 (arg1
)->DrawTreeItemButton(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_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
= 0;
34148 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34149 wxWindow
*arg2
= (wxWindow
*) 0 ;
34152 int arg5
= (int) 0 ;
34162 PyObject
* obj0
= 0 ;
34163 PyObject
* obj1
= 0 ;
34164 PyObject
* obj2
= 0 ;
34165 PyObject
* obj3
= 0 ;
34166 PyObject
* obj4
= 0 ;
34167 char * kwnames
[] = {
34168 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34173 if (!SWIG_IsOK(res1
)) {
34174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34176 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34178 if (!SWIG_IsOK(res2
)) {
34179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34182 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34183 if (!SWIG_IsOK(res3
)) {
34184 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34189 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34192 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34195 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34196 if (!SWIG_IsOK(ecode5
)) {
34197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34199 arg5
= static_cast< int >(val5
);
34202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34203 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34204 wxPyEndAllowThreads(__tstate
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34207 resultobj
= SWIG_Py_Void();
34214 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34215 PyObject
*resultobj
= 0;
34216 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34217 wxWindow
*arg2
= (wxWindow
*) 0 ;
34221 wxOrientation arg6
;
34222 int arg7
= (int) 0 ;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 PyObject
* obj2
= 0 ;
34239 PyObject
* obj3
= 0 ;
34240 PyObject
* obj4
= 0 ;
34241 PyObject
* obj5
= 0 ;
34242 PyObject
* obj6
= 0 ;
34243 char * kwnames
[] = {
34244 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34252 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34254 if (!SWIG_IsOK(res2
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34257 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34258 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34259 if (!SWIG_IsOK(res3
)) {
34260 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34265 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34268 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34270 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34271 if (!SWIG_IsOK(ecode5
)) {
34272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34274 arg5
= static_cast< int >(val5
);
34275 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34276 if (!SWIG_IsOK(ecode6
)) {
34277 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34279 arg6
= static_cast< wxOrientation
>(val6
);
34281 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34282 if (!SWIG_IsOK(ecode7
)) {
34283 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34285 arg7
= static_cast< int >(val7
);
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34290 wxPyEndAllowThreads(__tstate
);
34291 if (PyErr_Occurred()) SWIG_fail
;
34293 resultobj
= SWIG_Py_Void();
34300 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(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_DrawComboBoxDropButton",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_DrawComboBoxDropButton" "', 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_DrawComboBoxDropButton" "', 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_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', 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_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34353 arg5
= static_cast< int >(val5
);
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 (arg1
)->DrawComboBoxDropButton(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_DrawDropArrow(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_DrawDropArrow",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_DrawDropArrow" "', 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_DrawDropArrow" "', 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_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', 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_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34421 arg5
= static_cast< int >(val5
);
34424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34425 (arg1
)->DrawDropArrow(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_DrawCheckBox(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_DrawCheckBox",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_DrawCheckBox" "', 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_DrawCheckBox" "', 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_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', 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_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34489 arg5
= static_cast< int >(val5
);
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 (arg1
)->DrawCheckBox(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_DrawPushButton(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_DrawPushButton",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_DrawPushButton" "', 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_DrawPushButton" "', 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_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', 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_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34557 arg5
= static_cast< int >(val5
);
34560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34561 (arg1
)->DrawPushButton(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_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34573 PyObject
*resultobj
= 0;
34574 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34575 wxWindow
*arg2
= (wxWindow
*) 0 ;
34578 int arg5
= (int) 0 ;
34588 PyObject
* obj0
= 0 ;
34589 PyObject
* obj1
= 0 ;
34590 PyObject
* obj2
= 0 ;
34591 PyObject
* obj3
= 0 ;
34592 PyObject
* obj4
= 0 ;
34593 char * kwnames
[] = {
34594 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34599 if (!SWIG_IsOK(res1
)) {
34600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34602 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34604 if (!SWIG_IsOK(res2
)) {
34605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34607 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34608 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34609 if (!SWIG_IsOK(res3
)) {
34610 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34615 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34618 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34621 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34622 if (!SWIG_IsOK(ecode5
)) {
34623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34625 arg5
= static_cast< int >(val5
);
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34633 resultobj
= SWIG_Py_Void();
34640 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34641 PyObject
*resultobj
= 0;
34642 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34643 wxWindow
*arg2
= (wxWindow
*) 0 ;
34644 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34649 PyObject
* obj0
= 0 ;
34650 PyObject
* obj1
= 0 ;
34651 char * kwnames
[] = {
34652 (char *) "self",(char *) "win", NULL
34655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34657 if (!SWIG_IsOK(res1
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34660 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34662 if (!SWIG_IsOK(res2
)) {
34663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34665 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34669 wxPyEndAllowThreads(__tstate
);
34670 if (PyErr_Occurred()) SWIG_fail
;
34672 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34679 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34680 PyObject
*resultobj
= 0;
34681 wxRendererNative
*result
= 0 ;
34683 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34685 if (!wxPyCheckForApp()) SWIG_fail
;
34686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34688 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34689 result
= (wxRendererNative
*) &_result_ref
;
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34701 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34702 PyObject
*resultobj
= 0;
34703 wxRendererNative
*result
= 0 ;
34705 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34707 if (!wxPyCheckForApp()) SWIG_fail
;
34708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34710 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34711 result
= (wxRendererNative
*) &_result_ref
;
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34723 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34724 PyObject
*resultobj
= 0;
34725 wxRendererNative
*result
= 0 ;
34727 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34729 if (!wxPyCheckForApp()) SWIG_fail
;
34730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34733 result
= (wxRendererNative
*) &_result_ref
;
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34745 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
= 0;
34747 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34748 wxRendererNative
*result
= 0 ;
34751 PyObject
* obj0
= 0 ;
34752 char * kwnames
[] = {
34753 (char *) "renderer", NULL
34756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34758 if (!SWIG_IsOK(res1
)) {
34759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34761 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34763 if (!wxPyCheckForApp()) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34776 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34777 PyObject
*resultobj
= 0;
34778 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34779 SwigValueWrapper
<wxRendererVersion
> result
;
34782 PyObject
*swig_obj
[1] ;
34784 if (!args
) SWIG_fail
;
34785 swig_obj
[0] = args
;
34786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34787 if (!SWIG_IsOK(res1
)) {
34788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34790 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34793 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34804 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34807 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34808 return SWIG_Py_Void();
34811 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34812 PyObject
*resultobj
= 0;
34813 wxPseudoDC
*result
= 0 ;
34815 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34818 result
= (wxPseudoDC
*)new wxPseudoDC();
34819 wxPyEndAllowThreads(__tstate
);
34820 if (PyErr_Occurred()) SWIG_fail
;
34822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34829 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34830 PyObject
*resultobj
= 0;
34831 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34834 PyObject
*swig_obj
[1] ;
34836 if (!args
) SWIG_fail
;
34837 swig_obj
[0] = args
;
34838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34839 if (!SWIG_IsOK(res1
)) {
34840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34845 (arg1
)->BeginDrawing();
34846 wxPyEndAllowThreads(__tstate
);
34847 if (PyErr_Occurred()) SWIG_fail
;
34849 resultobj
= SWIG_Py_Void();
34856 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34857 PyObject
*resultobj
= 0;
34858 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34861 PyObject
*swig_obj
[1] ;
34863 if (!args
) SWIG_fail
;
34864 swig_obj
[0] = args
;
34865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34866 if (!SWIG_IsOK(res1
)) {
34867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34872 (arg1
)->EndDrawing();
34873 wxPyEndAllowThreads(__tstate
);
34874 if (PyErr_Occurred()) SWIG_fail
;
34876 resultobj
= SWIG_Py_Void();
34883 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34884 PyObject
*resultobj
= 0;
34885 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34888 PyObject
*swig_obj
[1] ;
34890 if (!args
) SWIG_fail
;
34891 swig_obj
[0] = args
;
34892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34893 if (!SWIG_IsOK(res1
)) {
34894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34896 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34901 wxPyEndAllowThreads(__tstate
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34904 resultobj
= SWIG_Py_Void();
34911 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34912 PyObject
*resultobj
= 0;
34913 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34916 PyObject
*swig_obj
[1] ;
34918 if (!args
) SWIG_fail
;
34919 swig_obj
[0] = args
;
34920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34921 if (!SWIG_IsOK(res1
)) {
34922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34924 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34927 (arg1
)->RemoveAll();
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34931 resultobj
= SWIG_Py_Void();
34938 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34939 PyObject
*resultobj
= 0;
34940 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34944 PyObject
*swig_obj
[1] ;
34946 if (!args
) SWIG_fail
;
34947 swig_obj
[0] = args
;
34948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34949 if (!SWIG_IsOK(res1
)) {
34950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34955 result
= (int)(arg1
)->GetLen();
34956 wxPyEndAllowThreads(__tstate
);
34957 if (PyErr_Occurred()) SWIG_fail
;
34959 resultobj
= SWIG_From_int(static_cast< int >(result
));
34966 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34967 PyObject
*resultobj
= 0;
34968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 char * kwnames
[] = {
34977 (char *) "self",(char *) "id", NULL
34980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34982 if (!SWIG_IsOK(res1
)) {
34983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34985 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34987 if (!SWIG_IsOK(ecode2
)) {
34988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
34990 arg2
= static_cast< int >(val2
);
34992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34993 (arg1
)->SetId(arg2
);
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 resultobj
= SWIG_Py_Void();
35004 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35005 PyObject
*resultobj
= 0;
35006 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35012 PyObject
* obj0
= 0 ;
35013 PyObject
* obj1
= 0 ;
35014 char * kwnames
[] = {
35015 (char *) "self",(char *) "id", NULL
35018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35020 if (!SWIG_IsOK(res1
)) {
35021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35023 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35025 if (!SWIG_IsOK(ecode2
)) {
35026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35028 arg2
= static_cast< int >(val2
);
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 (arg1
)->ClearId(arg2
);
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35035 resultobj
= SWIG_Py_Void();
35042 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35043 PyObject
*resultobj
= 0;
35044 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35050 PyObject
* obj0
= 0 ;
35051 PyObject
* obj1
= 0 ;
35052 char * kwnames
[] = {
35053 (char *) "self",(char *) "id", NULL
35056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35058 if (!SWIG_IsOK(res1
)) {
35059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35061 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35063 if (!SWIG_IsOK(ecode2
)) {
35064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35066 arg2
= static_cast< int >(val2
);
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 (arg1
)->RemoveId(arg2
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35073 resultobj
= SWIG_Py_Void();
35080 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35081 PyObject
*resultobj
= 0;
35082 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35094 PyObject
* obj0
= 0 ;
35095 PyObject
* obj1
= 0 ;
35096 PyObject
* obj2
= 0 ;
35097 PyObject
* obj3
= 0 ;
35098 char * kwnames
[] = {
35099 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35107 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35109 if (!SWIG_IsOK(ecode2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35112 arg2
= static_cast< int >(val2
);
35113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35114 if (!SWIG_IsOK(ecode3
)) {
35115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35117 arg3
= static_cast< int >(val3
);
35118 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35119 if (!SWIG_IsOK(ecode4
)) {
35120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35122 arg4
= static_cast< int >(val4
);
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35129 resultobj
= SWIG_Py_Void();
35136 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
= 0;
35138 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35140 bool arg3
= (bool) true ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 PyObject
* obj2
= 0 ;
35150 char * kwnames
[] = {
35151 (char *) "self",(char *) "id",(char *) "greyout", NULL
35154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35156 if (!SWIG_IsOK(res1
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35161 if (!SWIG_IsOK(ecode2
)) {
35162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35164 arg2
= static_cast< int >(val2
);
35166 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35167 if (!SWIG_IsOK(ecode3
)) {
35168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35170 arg3
= static_cast< bool >(val3
);
35173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35174 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35175 wxPyEndAllowThreads(__tstate
);
35176 if (PyErr_Occurred()) SWIG_fail
;
35178 resultobj
= SWIG_Py_Void();
35185 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35186 PyObject
*resultobj
= 0;
35187 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35194 PyObject
* obj0
= 0 ;
35195 PyObject
* obj1
= 0 ;
35196 char * kwnames
[] = {
35197 (char *) "self",(char *) "id", NULL
35200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35202 if (!SWIG_IsOK(res1
)) {
35203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35205 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35207 if (!SWIG_IsOK(ecode2
)) {
35208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35210 arg2
= static_cast< int >(val2
);
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35213 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35226 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
= 0;
35228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35231 int arg4
= (int) 1 ;
35232 wxColor
const &arg5_defvalue
= *wxWHITE
;
35233 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35234 PyObject
*result
= 0 ;
35245 PyObject
* obj0
= 0 ;
35246 PyObject
* obj1
= 0 ;
35247 PyObject
* obj2
= 0 ;
35248 PyObject
* obj3
= 0 ;
35249 PyObject
* obj4
= 0 ;
35250 char * kwnames
[] = {
35251 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35256 if (!SWIG_IsOK(res1
)) {
35257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35259 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35261 if (!SWIG_IsOK(ecode2
)) {
35262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35264 arg2
= static_cast< int >(val2
);
35265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35266 if (!SWIG_IsOK(ecode3
)) {
35267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35269 arg3
= static_cast< int >(val3
);
35271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35272 if (!SWIG_IsOK(ecode4
)) {
35273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35275 arg4
= static_cast< int >(val4
);
35278 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35279 if (!SWIG_IsOK(res5
)) {
35280 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35285 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35288 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 resultobj
= result
;
35298 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
= 0;
35300 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35303 PyObject
*result
= 0 ;
35310 PyObject
* obj0
= 0 ;
35311 PyObject
* obj1
= 0 ;
35312 PyObject
* obj2
= 0 ;
35313 char * kwnames
[] = {
35314 (char *) "self",(char *) "x",(char *) "y", NULL
35317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35319 if (!SWIG_IsOK(res1
)) {
35320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35322 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35324 if (!SWIG_IsOK(ecode2
)) {
35325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35327 arg2
= static_cast< int >(val2
);
35328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35329 if (!SWIG_IsOK(ecode3
)) {
35330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35332 arg3
= static_cast< int >(val3
);
35334 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35335 if (PyErr_Occurred()) SWIG_fail
;
35337 resultobj
= result
;
35344 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35345 PyObject
*resultobj
= 0;
35346 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35348 wxDC
*arg3
= (wxDC
*) 0 ;
35355 PyObject
* obj0
= 0 ;
35356 PyObject
* obj1
= 0 ;
35357 PyObject
* obj2
= 0 ;
35358 char * kwnames
[] = {
35359 (char *) "self",(char *) "id",(char *) "dc", NULL
35362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35364 if (!SWIG_IsOK(res1
)) {
35365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35367 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35369 if (!SWIG_IsOK(ecode2
)) {
35370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35372 arg2
= static_cast< int >(val2
);
35373 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35374 if (!SWIG_IsOK(res3
)) {
35375 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35377 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35380 (arg1
)->DrawIdToDC(arg2
,arg3
);
35381 wxPyEndAllowThreads(__tstate
);
35382 if (PyErr_Occurred()) SWIG_fail
;
35384 resultobj
= SWIG_Py_Void();
35391 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35392 PyObject
*resultobj
= 0;
35393 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35401 PyObject
* obj0
= 0 ;
35402 PyObject
* obj1
= 0 ;
35403 PyObject
* obj2
= 0 ;
35404 char * kwnames
[] = {
35405 (char *) "self",(char *) "id",(char *) "rect", NULL
35408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35410 if (!SWIG_IsOK(res1
)) {
35411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35413 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35415 if (!SWIG_IsOK(ecode2
)) {
35416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35418 arg2
= static_cast< int >(val2
);
35421 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35425 (arg1
)->SetIdBounds(arg2
,*arg3
);
35426 wxPyEndAllowThreads(__tstate
);
35427 if (PyErr_Occurred()) SWIG_fail
;
35429 resultobj
= SWIG_Py_Void();
35436 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35437 PyObject
*resultobj
= 0;
35438 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35445 PyObject
* obj0
= 0 ;
35446 PyObject
* obj1
= 0 ;
35447 char * kwnames
[] = {
35448 (char *) "self",(char *) "id", NULL
35451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35453 if (!SWIG_IsOK(res1
)) {
35454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35456 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35458 if (!SWIG_IsOK(ecode2
)) {
35459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35461 arg2
= static_cast< int >(val2
);
35463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35464 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35465 wxPyEndAllowThreads(__tstate
);
35466 if (PyErr_Occurred()) SWIG_fail
;
35468 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35475 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35476 PyObject
*resultobj
= 0;
35477 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35478 wxDC
*arg2
= (wxDC
*) 0 ;
35485 PyObject
* obj0
= 0 ;
35486 PyObject
* obj1
= 0 ;
35487 PyObject
* obj2
= 0 ;
35488 char * kwnames
[] = {
35489 (char *) "self",(char *) "dc",(char *) "rect", NULL
35492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35494 if (!SWIG_IsOK(res1
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35499 if (!SWIG_IsOK(res2
)) {
35500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35502 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35505 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35509 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35510 wxPyEndAllowThreads(__tstate
);
35511 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= SWIG_Py_Void();
35520 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35521 PyObject
*resultobj
= 0;
35522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35523 wxDC
*arg2
= (wxDC
*) 0 ;
35524 wxRegion
*arg3
= 0 ;
35531 PyObject
* obj0
= 0 ;
35532 PyObject
* obj1
= 0 ;
35533 PyObject
* obj2
= 0 ;
35534 char * kwnames
[] = {
35535 (char *) "self",(char *) "dc",(char *) "region", NULL
35538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35540 if (!SWIG_IsOK(res1
)) {
35541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35543 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35545 if (!SWIG_IsOK(res2
)) {
35546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35548 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35549 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35550 if (!SWIG_IsOK(res3
)) {
35551 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35556 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35559 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35560 wxPyEndAllowThreads(__tstate
);
35561 if (PyErr_Occurred()) SWIG_fail
;
35563 resultobj
= SWIG_Py_Void();
35570 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35571 PyObject
*resultobj
= 0;
35572 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35573 wxDC
*arg2
= (wxDC
*) 0 ;
35578 PyObject
* obj0
= 0 ;
35579 PyObject
* obj1
= 0 ;
35580 char * kwnames
[] = {
35581 (char *) "self",(char *) "dc", NULL
35584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35586 if (!SWIG_IsOK(res1
)) {
35587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35589 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35591 if (!SWIG_IsOK(res2
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35594 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35597 (arg1
)->DrawToDC(arg2
);
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= SWIG_Py_Void();
35608 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35609 PyObject
*resultobj
= 0;
35610 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35613 wxColour
*arg4
= 0 ;
35614 int arg5
= (int) wxFLOOD_SURFACE
;
35624 PyObject
* obj0
= 0 ;
35625 PyObject
* obj1
= 0 ;
35626 PyObject
* obj2
= 0 ;
35627 PyObject
* obj3
= 0 ;
35628 PyObject
* obj4
= 0 ;
35629 char * kwnames
[] = {
35630 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35635 if (!SWIG_IsOK(res1
)) {
35636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35638 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35640 if (!SWIG_IsOK(ecode2
)) {
35641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35643 arg2
= static_cast< int >(val2
);
35644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35645 if (!SWIG_IsOK(ecode3
)) {
35646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35648 arg3
= static_cast< int >(val3
);
35651 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35655 if (!SWIG_IsOK(ecode5
)) {
35656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35658 arg5
= static_cast< int >(val5
);
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= SWIG_Py_Void();
35673 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35674 PyObject
*resultobj
= 0;
35675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35676 wxPoint
*arg2
= 0 ;
35677 wxColour
*arg3
= 0 ;
35678 int arg4
= (int) wxFLOOD_SURFACE
;
35685 PyObject
* obj0
= 0 ;
35686 PyObject
* obj1
= 0 ;
35687 PyObject
* obj2
= 0 ;
35688 PyObject
* obj3
= 0 ;
35689 char * kwnames
[] = {
35690 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35695 if (!SWIG_IsOK(res1
)) {
35696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35705 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35709 if (!SWIG_IsOK(ecode4
)) {
35710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35712 arg4
= static_cast< int >(val4
);
35715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35716 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35717 wxPyEndAllowThreads(__tstate
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35720 resultobj
= SWIG_Py_Void();
35727 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35728 PyObject
*resultobj
= 0;
35729 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35744 PyObject
* obj0
= 0 ;
35745 PyObject
* obj1
= 0 ;
35746 PyObject
* obj2
= 0 ;
35747 PyObject
* obj3
= 0 ;
35748 PyObject
* obj4
= 0 ;
35749 char * kwnames
[] = {
35750 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35755 if (!SWIG_IsOK(res1
)) {
35756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35758 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35760 if (!SWIG_IsOK(ecode2
)) {
35761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35763 arg2
= static_cast< int >(val2
);
35764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35765 if (!SWIG_IsOK(ecode3
)) {
35766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35768 arg3
= static_cast< int >(val3
);
35769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35770 if (!SWIG_IsOK(ecode4
)) {
35771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35773 arg4
= static_cast< int >(val4
);
35774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35775 if (!SWIG_IsOK(ecode5
)) {
35776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35778 arg5
= static_cast< int >(val5
);
35780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35781 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= SWIG_Py_Void();
35792 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35793 PyObject
*resultobj
= 0;
35794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35795 wxPoint
*arg2
= 0 ;
35796 wxPoint
*arg3
= 0 ;
35801 PyObject
* obj0
= 0 ;
35802 PyObject
* obj1
= 0 ;
35803 PyObject
* obj2
= 0 ;
35804 char * kwnames
[] = {
35805 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35810 if (!SWIG_IsOK(res1
)) {
35811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35813 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35824 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35825 wxPyEndAllowThreads(__tstate
);
35826 if (PyErr_Occurred()) SWIG_fail
;
35828 resultobj
= SWIG_Py_Void();
35835 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35836 PyObject
*resultobj
= 0;
35837 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35846 PyObject
* obj0
= 0 ;
35847 PyObject
* obj1
= 0 ;
35848 PyObject
* obj2
= 0 ;
35849 char * kwnames
[] = {
35850 (char *) "self",(char *) "x",(char *) "y", NULL
35853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35855 if (!SWIG_IsOK(res1
)) {
35856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35858 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35860 if (!SWIG_IsOK(ecode2
)) {
35861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35863 arg2
= static_cast< int >(val2
);
35864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35865 if (!SWIG_IsOK(ecode3
)) {
35866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35868 arg3
= static_cast< int >(val3
);
35870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35871 (arg1
)->CrossHair(arg2
,arg3
);
35872 wxPyEndAllowThreads(__tstate
);
35873 if (PyErr_Occurred()) SWIG_fail
;
35875 resultobj
= SWIG_Py_Void();
35882 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35883 PyObject
*resultobj
= 0;
35884 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35885 wxPoint
*arg2
= 0 ;
35889 PyObject
* obj0
= 0 ;
35890 PyObject
* obj1
= 0 ;
35891 char * kwnames
[] = {
35892 (char *) "self",(char *) "pt", NULL
35895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35897 if (!SWIG_IsOK(res1
)) {
35898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35900 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35903 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 resultobj
= SWIG_Py_Void();
35918 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
= 0;
35920 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35941 PyObject
* obj0
= 0 ;
35942 PyObject
* obj1
= 0 ;
35943 PyObject
* obj2
= 0 ;
35944 PyObject
* obj3
= 0 ;
35945 PyObject
* obj4
= 0 ;
35946 PyObject
* obj5
= 0 ;
35947 PyObject
* obj6
= 0 ;
35948 char * kwnames
[] = {
35949 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
35952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35959 if (!SWIG_IsOK(ecode2
)) {
35960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
35962 arg2
= static_cast< int >(val2
);
35963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35964 if (!SWIG_IsOK(ecode3
)) {
35965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
35967 arg3
= static_cast< int >(val3
);
35968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35969 if (!SWIG_IsOK(ecode4
)) {
35970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
35972 arg4
= static_cast< int >(val4
);
35973 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35974 if (!SWIG_IsOK(ecode5
)) {
35975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
35977 arg5
= static_cast< int >(val5
);
35978 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35979 if (!SWIG_IsOK(ecode6
)) {
35980 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
35982 arg6
= static_cast< int >(val6
);
35983 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35984 if (!SWIG_IsOK(ecode7
)) {
35985 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
35987 arg7
= static_cast< int >(val7
);
35989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35990 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35991 wxPyEndAllowThreads(__tstate
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35994 resultobj
= SWIG_Py_Void();
36001 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36002 PyObject
*resultobj
= 0;
36003 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36004 wxPoint
*arg2
= 0 ;
36005 wxPoint
*arg3
= 0 ;
36006 wxPoint
*arg4
= 0 ;
36012 PyObject
* obj0
= 0 ;
36013 PyObject
* obj1
= 0 ;
36014 PyObject
* obj2
= 0 ;
36015 PyObject
* obj3
= 0 ;
36016 char * kwnames
[] = {
36017 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36022 if (!SWIG_IsOK(res1
)) {
36023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36025 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36028 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36032 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36036 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36040 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36041 wxPyEndAllowThreads(__tstate
);
36042 if (PyErr_Occurred()) SWIG_fail
;
36044 resultobj
= SWIG_Py_Void();
36051 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36052 PyObject
*resultobj
= 0;
36053 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36068 PyObject
* obj0
= 0 ;
36069 PyObject
* obj1
= 0 ;
36070 PyObject
* obj2
= 0 ;
36071 PyObject
* obj3
= 0 ;
36072 PyObject
* obj4
= 0 ;
36073 char * kwnames
[] = {
36074 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36079 if (!SWIG_IsOK(res1
)) {
36080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36082 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36084 if (!SWIG_IsOK(ecode2
)) {
36085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36087 arg2
= static_cast< int >(val2
);
36088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36089 if (!SWIG_IsOK(ecode3
)) {
36090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36092 arg3
= static_cast< int >(val3
);
36093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36094 if (!SWIG_IsOK(ecode4
)) {
36095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36097 arg4
= static_cast< int >(val4
);
36098 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36099 if (!SWIG_IsOK(ecode5
)) {
36100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36102 arg5
= static_cast< int >(val5
);
36104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36105 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36106 wxPyEndAllowThreads(__tstate
);
36107 if (PyErr_Occurred()) SWIG_fail
;
36109 resultobj
= SWIG_Py_Void();
36116 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36117 PyObject
*resultobj
= 0;
36118 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36123 PyObject
* obj0
= 0 ;
36124 PyObject
* obj1
= 0 ;
36125 char * kwnames
[] = {
36126 (char *) "self",(char *) "rect", NULL
36129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36131 if (!SWIG_IsOK(res1
)) {
36132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36137 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36141 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36142 wxPyEndAllowThreads(__tstate
);
36143 if (PyErr_Occurred()) SWIG_fail
;
36145 resultobj
= SWIG_Py_Void();
36152 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36153 PyObject
*resultobj
= 0;
36154 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36175 PyObject
* obj0
= 0 ;
36176 PyObject
* obj1
= 0 ;
36177 PyObject
* obj2
= 0 ;
36178 PyObject
* obj3
= 0 ;
36179 PyObject
* obj4
= 0 ;
36180 PyObject
* obj5
= 0 ;
36181 PyObject
* obj6
= 0 ;
36182 char * kwnames
[] = {
36183 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36188 if (!SWIG_IsOK(res1
)) {
36189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36193 if (!SWIG_IsOK(ecode2
)) {
36194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36196 arg2
= static_cast< int >(val2
);
36197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36198 if (!SWIG_IsOK(ecode3
)) {
36199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36201 arg3
= static_cast< int >(val3
);
36202 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36203 if (!SWIG_IsOK(ecode4
)) {
36204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36206 arg4
= static_cast< int >(val4
);
36207 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36208 if (!SWIG_IsOK(ecode5
)) {
36209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36211 arg5
= static_cast< int >(val5
);
36212 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36213 if (!SWIG_IsOK(ecode6
)) {
36214 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36216 arg6
= static_cast< double >(val6
);
36217 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36218 if (!SWIG_IsOK(ecode7
)) {
36219 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36221 arg7
= static_cast< double >(val7
);
36223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36224 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36225 wxPyEndAllowThreads(__tstate
);
36226 if (PyErr_Occurred()) SWIG_fail
;
36228 resultobj
= SWIG_Py_Void();
36235 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36236 PyObject
*resultobj
= 0;
36237 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36238 wxPoint
*arg2
= 0 ;
36250 PyObject
* obj0
= 0 ;
36251 PyObject
* obj1
= 0 ;
36252 PyObject
* obj2
= 0 ;
36253 PyObject
* obj3
= 0 ;
36254 PyObject
* obj4
= 0 ;
36255 char * kwnames
[] = {
36256 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36261 if (!SWIG_IsOK(res1
)) {
36262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36264 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36271 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36273 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36274 if (!SWIG_IsOK(ecode4
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36277 arg4
= static_cast< double >(val4
);
36278 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36279 if (!SWIG_IsOK(ecode5
)) {
36280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36282 arg5
= static_cast< double >(val5
);
36284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36285 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36286 wxPyEndAllowThreads(__tstate
);
36287 if (PyErr_Occurred()) SWIG_fail
;
36289 resultobj
= SWIG_Py_Void();
36296 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36297 PyObject
*resultobj
= 0;
36298 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36307 PyObject
* obj0
= 0 ;
36308 PyObject
* obj1
= 0 ;
36309 PyObject
* obj2
= 0 ;
36310 char * kwnames
[] = {
36311 (char *) "self",(char *) "x",(char *) "y", NULL
36314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36316 if (!SWIG_IsOK(res1
)) {
36317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36321 if (!SWIG_IsOK(ecode2
)) {
36322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36324 arg2
= static_cast< int >(val2
);
36325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36326 if (!SWIG_IsOK(ecode3
)) {
36327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36329 arg3
= static_cast< int >(val3
);
36331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36332 (arg1
)->DrawPoint(arg2
,arg3
);
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 resultobj
= SWIG_Py_Void();
36343 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36344 PyObject
*resultobj
= 0;
36345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36346 wxPoint
*arg2
= 0 ;
36350 PyObject
* obj0
= 0 ;
36351 PyObject
* obj1
= 0 ;
36352 char * kwnames
[] = {
36353 (char *) "self",(char *) "pt", NULL
36356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36358 if (!SWIG_IsOK(res1
)) {
36359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36361 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36364 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36369 wxPyEndAllowThreads(__tstate
);
36370 if (PyErr_Occurred()) SWIG_fail
;
36372 resultobj
= SWIG_Py_Void();
36379 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36380 PyObject
*resultobj
= 0;
36381 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36396 PyObject
* obj0
= 0 ;
36397 PyObject
* obj1
= 0 ;
36398 PyObject
* obj2
= 0 ;
36399 PyObject
* obj3
= 0 ;
36400 PyObject
* obj4
= 0 ;
36401 char * kwnames
[] = {
36402 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36407 if (!SWIG_IsOK(res1
)) {
36408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36412 if (!SWIG_IsOK(ecode2
)) {
36413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36415 arg2
= static_cast< int >(val2
);
36416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36417 if (!SWIG_IsOK(ecode3
)) {
36418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36420 arg3
= static_cast< int >(val3
);
36421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36422 if (!SWIG_IsOK(ecode4
)) {
36423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36425 arg4
= static_cast< int >(val4
);
36426 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36427 if (!SWIG_IsOK(ecode5
)) {
36428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36430 arg5
= static_cast< int >(val5
);
36432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36433 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= SWIG_Py_Void();
36444 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
= 0;
36446 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36451 PyObject
* obj0
= 0 ;
36452 PyObject
* obj1
= 0 ;
36453 char * kwnames
[] = {
36454 (char *) "self",(char *) "rect", NULL
36457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36459 if (!SWIG_IsOK(res1
)) {
36460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36462 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36465 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36469 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36470 wxPyEndAllowThreads(__tstate
);
36471 if (PyErr_Occurred()) SWIG_fail
;
36473 resultobj
= SWIG_Py_Void();
36480 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36481 PyObject
*resultobj
= 0;
36482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36483 wxPoint
*arg2
= 0 ;
36489 PyObject
* obj0
= 0 ;
36490 PyObject
* obj1
= 0 ;
36491 PyObject
* obj2
= 0 ;
36492 char * kwnames
[] = {
36493 (char *) "self",(char *) "pt",(char *) "sz", NULL
36496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36498 if (!SWIG_IsOK(res1
)) {
36499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36508 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_Py_Void();
36523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36543 PyObject
* obj0
= 0 ;
36544 PyObject
* obj1
= 0 ;
36545 PyObject
* obj2
= 0 ;
36546 PyObject
* obj3
= 0 ;
36547 PyObject
* obj4
= 0 ;
36548 PyObject
* obj5
= 0 ;
36549 char * kwnames
[] = {
36550 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36555 if (!SWIG_IsOK(res1
)) {
36556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36558 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36560 if (!SWIG_IsOK(ecode2
)) {
36561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36563 arg2
= static_cast< int >(val2
);
36564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36565 if (!SWIG_IsOK(ecode3
)) {
36566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36568 arg3
= static_cast< int >(val3
);
36569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36570 if (!SWIG_IsOK(ecode4
)) {
36571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36573 arg4
= static_cast< int >(val4
);
36574 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36575 if (!SWIG_IsOK(ecode5
)) {
36576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36578 arg5
= static_cast< int >(val5
);
36579 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36580 if (!SWIG_IsOK(ecode6
)) {
36581 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36583 arg6
= static_cast< double >(val6
);
36585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36586 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36587 wxPyEndAllowThreads(__tstate
);
36588 if (PyErr_Occurred()) SWIG_fail
;
36590 resultobj
= SWIG_Py_Void();
36597 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36598 PyObject
*resultobj
= 0;
36599 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36607 PyObject
* obj0
= 0 ;
36608 PyObject
* obj1
= 0 ;
36609 PyObject
* obj2
= 0 ;
36610 char * kwnames
[] = {
36611 (char *) "self",(char *) "r",(char *) "radius", NULL
36614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36616 if (!SWIG_IsOK(res1
)) {
36617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36619 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36622 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36624 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36625 if (!SWIG_IsOK(ecode3
)) {
36626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36628 arg3
= static_cast< double >(val3
);
36630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36631 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36632 wxPyEndAllowThreads(__tstate
);
36633 if (PyErr_Occurred()) SWIG_fail
;
36635 resultobj
= SWIG_Py_Void();
36642 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36643 PyObject
*resultobj
= 0;
36644 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36645 wxPoint
*arg2
= 0 ;
36654 PyObject
* obj0
= 0 ;
36655 PyObject
* obj1
= 0 ;
36656 PyObject
* obj2
= 0 ;
36657 PyObject
* obj3
= 0 ;
36658 char * kwnames
[] = {
36659 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36664 if (!SWIG_IsOK(res1
)) {
36665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36667 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36674 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36676 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36677 if (!SWIG_IsOK(ecode4
)) {
36678 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36680 arg4
= static_cast< double >(val4
);
36682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36683 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36684 wxPyEndAllowThreads(__tstate
);
36685 if (PyErr_Occurred()) SWIG_fail
;
36687 resultobj
= SWIG_Py_Void();
36694 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36695 PyObject
*resultobj
= 0;
36696 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36708 PyObject
* obj0
= 0 ;
36709 PyObject
* obj1
= 0 ;
36710 PyObject
* obj2
= 0 ;
36711 PyObject
* obj3
= 0 ;
36712 char * kwnames
[] = {
36713 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36718 if (!SWIG_IsOK(res1
)) {
36719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36721 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36723 if (!SWIG_IsOK(ecode2
)) {
36724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36726 arg2
= static_cast< int >(val2
);
36727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36728 if (!SWIG_IsOK(ecode3
)) {
36729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36731 arg3
= static_cast< int >(val3
);
36732 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36733 if (!SWIG_IsOK(ecode4
)) {
36734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36736 arg4
= static_cast< int >(val4
);
36738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36739 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 resultobj
= SWIG_Py_Void();
36750 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
= 0;
36752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36753 wxPoint
*arg2
= 0 ;
36760 PyObject
* obj0
= 0 ;
36761 PyObject
* obj1
= 0 ;
36762 PyObject
* obj2
= 0 ;
36763 char * kwnames
[] = {
36764 (char *) "self",(char *) "pt",(char *) "radius", NULL
36767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36769 if (!SWIG_IsOK(res1
)) {
36770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36772 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36778 if (!SWIG_IsOK(ecode3
)) {
36779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36781 arg3
= static_cast< int >(val3
);
36783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36784 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36785 wxPyEndAllowThreads(__tstate
);
36786 if (PyErr_Occurred()) SWIG_fail
;
36788 resultobj
= SWIG_Py_Void();
36795 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36796 PyObject
*resultobj
= 0;
36797 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36812 PyObject
* obj0
= 0 ;
36813 PyObject
* obj1
= 0 ;
36814 PyObject
* obj2
= 0 ;
36815 PyObject
* obj3
= 0 ;
36816 PyObject
* obj4
= 0 ;
36817 char * kwnames
[] = {
36818 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36823 if (!SWIG_IsOK(res1
)) {
36824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36826 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36828 if (!SWIG_IsOK(ecode2
)) {
36829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36831 arg2
= static_cast< int >(val2
);
36832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36833 if (!SWIG_IsOK(ecode3
)) {
36834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36836 arg3
= static_cast< int >(val3
);
36837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36838 if (!SWIG_IsOK(ecode4
)) {
36839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36841 arg4
= static_cast< int >(val4
);
36842 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36843 if (!SWIG_IsOK(ecode5
)) {
36844 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36846 arg5
= static_cast< int >(val5
);
36848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36849 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36850 wxPyEndAllowThreads(__tstate
);
36851 if (PyErr_Occurred()) SWIG_fail
;
36853 resultobj
= SWIG_Py_Void();
36860 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36861 PyObject
*resultobj
= 0;
36862 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36867 PyObject
* obj0
= 0 ;
36868 PyObject
* obj1
= 0 ;
36869 char * kwnames
[] = {
36870 (char *) "self",(char *) "rect", NULL
36873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36875 if (!SWIG_IsOK(res1
)) {
36876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36878 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36881 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36885 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36886 wxPyEndAllowThreads(__tstate
);
36887 if (PyErr_Occurred()) SWIG_fail
;
36889 resultobj
= SWIG_Py_Void();
36896 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36897 PyObject
*resultobj
= 0;
36898 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36899 wxPoint
*arg2
= 0 ;
36905 PyObject
* obj0
= 0 ;
36906 PyObject
* obj1
= 0 ;
36907 PyObject
* obj2
= 0 ;
36908 char * kwnames
[] = {
36909 (char *) "self",(char *) "pt",(char *) "sz", NULL
36912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36914 if (!SWIG_IsOK(res1
)) {
36915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36917 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36920 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36924 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36928 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36929 wxPyEndAllowThreads(__tstate
);
36930 if (PyErr_Occurred()) SWIG_fail
;
36932 resultobj
= SWIG_Py_Void();
36939 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36940 PyObject
*resultobj
= 0;
36941 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36953 PyObject
* obj0
= 0 ;
36954 PyObject
* obj1
= 0 ;
36955 PyObject
* obj2
= 0 ;
36956 PyObject
* obj3
= 0 ;
36957 char * kwnames
[] = {
36958 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
36961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36963 if (!SWIG_IsOK(res1
)) {
36964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36966 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
36968 if (!SWIG_IsOK(res2
)) {
36969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
36974 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
36975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36976 if (!SWIG_IsOK(ecode3
)) {
36977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
36979 arg3
= static_cast< int >(val3
);
36980 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36981 if (!SWIG_IsOK(ecode4
)) {
36982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
36984 arg4
= static_cast< int >(val4
);
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
36988 wxPyEndAllowThreads(__tstate
);
36989 if (PyErr_Occurred()) SWIG_fail
;
36991 resultobj
= SWIG_Py_Void();
36998 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36999 PyObject
*resultobj
= 0;
37000 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37002 wxPoint
*arg3
= 0 ;
37008 PyObject
* obj0
= 0 ;
37009 PyObject
* obj1
= 0 ;
37010 PyObject
* obj2
= 0 ;
37011 char * kwnames
[] = {
37012 (char *) "self",(char *) "icon",(char *) "pt", NULL
37015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37017 if (!SWIG_IsOK(res1
)) {
37018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37020 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37022 if (!SWIG_IsOK(res2
)) {
37023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37028 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37031 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37035 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37036 wxPyEndAllowThreads(__tstate
);
37037 if (PyErr_Occurred()) SWIG_fail
;
37039 resultobj
= SWIG_Py_Void();
37046 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37047 PyObject
*resultobj
= 0;
37048 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37049 wxBitmap
*arg2
= 0 ;
37052 bool arg5
= (bool) false ;
37063 PyObject
* obj0
= 0 ;
37064 PyObject
* obj1
= 0 ;
37065 PyObject
* obj2
= 0 ;
37066 PyObject
* obj3
= 0 ;
37067 PyObject
* obj4
= 0 ;
37068 char * kwnames
[] = {
37069 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37074 if (!SWIG_IsOK(res1
)) {
37075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37077 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37079 if (!SWIG_IsOK(res2
)) {
37080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37085 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37087 if (!SWIG_IsOK(ecode3
)) {
37088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37090 arg3
= static_cast< int >(val3
);
37091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37092 if (!SWIG_IsOK(ecode4
)) {
37093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37095 arg4
= static_cast< int >(val4
);
37097 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37098 if (!SWIG_IsOK(ecode5
)) {
37099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37101 arg5
= static_cast< bool >(val5
);
37104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37105 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37106 wxPyEndAllowThreads(__tstate
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37109 resultobj
= SWIG_Py_Void();
37116 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37117 PyObject
*resultobj
= 0;
37118 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37119 wxBitmap
*arg2
= 0 ;
37120 wxPoint
*arg3
= 0 ;
37121 bool arg4
= (bool) false ;
37129 PyObject
* obj0
= 0 ;
37130 PyObject
* obj1
= 0 ;
37131 PyObject
* obj2
= 0 ;
37132 PyObject
* obj3
= 0 ;
37133 char * kwnames
[] = {
37134 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37139 if (!SWIG_IsOK(res1
)) {
37140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37144 if (!SWIG_IsOK(res2
)) {
37145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37150 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37153 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37156 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37157 if (!SWIG_IsOK(ecode4
)) {
37158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37160 arg4
= static_cast< bool >(val4
);
37163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37164 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37165 wxPyEndAllowThreads(__tstate
);
37166 if (PyErr_Occurred()) SWIG_fail
;
37168 resultobj
= SWIG_Py_Void();
37175 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37176 PyObject
*resultobj
= 0;
37177 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37178 wxString
*arg2
= 0 ;
37183 bool temp2
= false ;
37188 PyObject
* obj0
= 0 ;
37189 PyObject
* obj1
= 0 ;
37190 PyObject
* obj2
= 0 ;
37191 PyObject
* obj3
= 0 ;
37192 char * kwnames
[] = {
37193 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37198 if (!SWIG_IsOK(res1
)) {
37199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37201 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37203 arg2
= wxString_in_helper(obj1
);
37204 if (arg2
== NULL
) SWIG_fail
;
37207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37208 if (!SWIG_IsOK(ecode3
)) {
37209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37211 arg3
= static_cast< int >(val3
);
37212 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37213 if (!SWIG_IsOK(ecode4
)) {
37214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37216 arg4
= static_cast< int >(val4
);
37218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37219 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37220 wxPyEndAllowThreads(__tstate
);
37221 if (PyErr_Occurred()) SWIG_fail
;
37223 resultobj
= SWIG_Py_Void();
37238 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37239 PyObject
*resultobj
= 0;
37240 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37241 wxString
*arg2
= 0 ;
37242 wxPoint
*arg3
= 0 ;
37245 bool temp2
= false ;
37247 PyObject
* obj0
= 0 ;
37248 PyObject
* obj1
= 0 ;
37249 PyObject
* obj2
= 0 ;
37250 char * kwnames
[] = {
37251 (char *) "self",(char *) "text",(char *) "pt", NULL
37254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37256 if (!SWIG_IsOK(res1
)) {
37257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37259 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37261 arg2
= wxString_in_helper(obj1
);
37262 if (arg2
== NULL
) SWIG_fail
;
37267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37271 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37272 wxPyEndAllowThreads(__tstate
);
37273 if (PyErr_Occurred()) SWIG_fail
;
37275 resultobj
= SWIG_Py_Void();
37290 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37291 PyObject
*resultobj
= 0;
37292 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37293 wxString
*arg2
= 0 ;
37299 bool temp2
= false ;
37306 PyObject
* obj0
= 0 ;
37307 PyObject
* obj1
= 0 ;
37308 PyObject
* obj2
= 0 ;
37309 PyObject
* obj3
= 0 ;
37310 PyObject
* obj4
= 0 ;
37311 char * kwnames
[] = {
37312 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37317 if (!SWIG_IsOK(res1
)) {
37318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37322 arg2
= wxString_in_helper(obj1
);
37323 if (arg2
== NULL
) SWIG_fail
;
37326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37327 if (!SWIG_IsOK(ecode3
)) {
37328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37330 arg3
= static_cast< int >(val3
);
37331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37332 if (!SWIG_IsOK(ecode4
)) {
37333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37335 arg4
= static_cast< int >(val4
);
37336 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37337 if (!SWIG_IsOK(ecode5
)) {
37338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37340 arg5
= static_cast< double >(val5
);
37342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37343 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37347 resultobj
= SWIG_Py_Void();
37362 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37363 PyObject
*resultobj
= 0;
37364 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37365 wxString
*arg2
= 0 ;
37366 wxPoint
*arg3
= 0 ;
37370 bool temp2
= false ;
37374 PyObject
* obj0
= 0 ;
37375 PyObject
* obj1
= 0 ;
37376 PyObject
* obj2
= 0 ;
37377 PyObject
* obj3
= 0 ;
37378 char * kwnames
[] = {
37379 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37384 if (!SWIG_IsOK(res1
)) {
37385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37387 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37389 arg2
= wxString_in_helper(obj1
);
37390 if (arg2
== NULL
) SWIG_fail
;
37395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37397 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37398 if (!SWIG_IsOK(ecode4
)) {
37399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37401 arg4
= static_cast< double >(val4
);
37403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37404 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37405 wxPyEndAllowThreads(__tstate
);
37406 if (PyErr_Occurred()) SWIG_fail
;
37408 resultobj
= SWIG_Py_Void();
37423 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37424 PyObject
*resultobj
= 0;
37425 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37427 wxPoint
*arg3
= (wxPoint
*) 0 ;
37428 int arg4
= (int) 0 ;
37429 int arg5
= (int) 0 ;
37436 PyObject
* obj0
= 0 ;
37437 PyObject
* obj1
= 0 ;
37438 PyObject
* obj2
= 0 ;
37439 PyObject
* obj3
= 0 ;
37440 char * kwnames
[] = {
37441 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawLines" "', 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_DrawLines" "', 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_DrawLines" "', expected argument " "5"" of type '" "int""'");
37466 arg5
= static_cast< int >(val5
);
37469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37470 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37471 wxPyEndAllowThreads(__tstate
);
37472 if (PyErr_Occurred()) SWIG_fail
;
37474 resultobj
= SWIG_Py_Void();
37476 if (arg3
) delete [] arg3
;
37481 if (arg3
) delete [] arg3
;
37487 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37488 PyObject
*resultobj
= 0;
37489 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37491 wxPoint
*arg3
= (wxPoint
*) 0 ;
37492 int arg4
= (int) 0 ;
37493 int arg5
= (int) 0 ;
37494 int arg6
= (int) wxODDEVEN_RULE
;
37503 PyObject
* obj0
= 0 ;
37504 PyObject
* obj1
= 0 ;
37505 PyObject
* obj2
= 0 ;
37506 PyObject
* obj3
= 0 ;
37507 PyObject
* obj4
= 0 ;
37508 char * kwnames
[] = {
37509 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37514 if (!SWIG_IsOK(res1
)) {
37515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37517 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37519 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37520 if (arg3
== NULL
) SWIG_fail
;
37523 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37524 if (!SWIG_IsOK(ecode4
)) {
37525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37527 arg4
= static_cast< int >(val4
);
37530 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37531 if (!SWIG_IsOK(ecode5
)) {
37532 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37534 arg5
= static_cast< int >(val5
);
37537 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37538 if (!SWIG_IsOK(ecode6
)) {
37539 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37541 arg6
= static_cast< int >(val6
);
37544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37545 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37549 resultobj
= SWIG_Py_Void();
37551 if (arg3
) delete [] arg3
;
37556 if (arg3
) delete [] arg3
;
37562 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37563 PyObject
*resultobj
= 0;
37564 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37565 wxString
*arg2
= 0 ;
37567 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37568 int arg5
= (int) -1 ;
37571 bool temp2
= false ;
37577 PyObject
* obj0
= 0 ;
37578 PyObject
* obj1
= 0 ;
37579 PyObject
* obj2
= 0 ;
37580 PyObject
* obj3
= 0 ;
37581 PyObject
* obj4
= 0 ;
37582 char * kwnames
[] = {
37583 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37588 if (!SWIG_IsOK(res1
)) {
37589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37591 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37593 arg2
= wxString_in_helper(obj1
);
37594 if (arg2
== NULL
) SWIG_fail
;
37599 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37603 if (!SWIG_IsOK(ecode4
)) {
37604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37606 arg4
= static_cast< int >(val4
);
37609 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37610 if (!SWIG_IsOK(ecode5
)) {
37611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37613 arg5
= static_cast< int >(val5
);
37616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37617 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37618 wxPyEndAllowThreads(__tstate
);
37619 if (PyErr_Occurred()) SWIG_fail
;
37621 resultobj
= SWIG_Py_Void();
37636 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
= 0;
37638 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37639 wxString
*arg2
= 0 ;
37640 wxBitmap
*arg3
= 0 ;
37642 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37643 int arg6
= (int) -1 ;
37646 bool temp2
= false ;
37654 PyObject
* obj0
= 0 ;
37655 PyObject
* obj1
= 0 ;
37656 PyObject
* obj2
= 0 ;
37657 PyObject
* obj3
= 0 ;
37658 PyObject
* obj4
= 0 ;
37659 PyObject
* obj5
= 0 ;
37660 char * kwnames
[] = {
37661 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37666 if (!SWIG_IsOK(res1
)) {
37667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37669 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37671 arg2
= wxString_in_helper(obj1
);
37672 if (arg2
== NULL
) SWIG_fail
;
37675 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37676 if (!SWIG_IsOK(res3
)) {
37677 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37682 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37685 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37688 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37689 if (!SWIG_IsOK(ecode5
)) {
37690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37692 arg5
= static_cast< int >(val5
);
37695 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37696 if (!SWIG_IsOK(ecode6
)) {
37697 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37699 arg6
= static_cast< int >(val6
);
37702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37703 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37704 wxPyEndAllowThreads(__tstate
);
37705 if (PyErr_Occurred()) SWIG_fail
;
37707 resultobj
= SWIG_Py_Void();
37722 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37723 PyObject
*resultobj
= 0;
37724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37726 wxPoint
*arg3
= (wxPoint
*) 0 ;
37729 PyObject
* obj0
= 0 ;
37730 PyObject
* obj1
= 0 ;
37731 char * kwnames
[] = {
37732 (char *) "self",(char *) "points", NULL
37735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37737 if (!SWIG_IsOK(res1
)) {
37738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37742 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37743 if (arg3
== NULL
) SWIG_fail
;
37746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37747 (arg1
)->DrawSpline(arg2
,arg3
);
37748 wxPyEndAllowThreads(__tstate
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37751 resultobj
= SWIG_Py_Void();
37753 if (arg3
) delete [] arg3
;
37758 if (arg3
) delete [] arg3
;
37764 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37765 PyObject
*resultobj
= 0;
37766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37769 PyObject
*swig_obj
[1] ;
37771 if (!args
) SWIG_fail
;
37772 swig_obj
[0] = args
;
37773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37774 if (!SWIG_IsOK(res1
)) {
37775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37777 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37781 wxPyEndAllowThreads(__tstate
);
37782 if (PyErr_Occurred()) SWIG_fail
;
37784 resultobj
= SWIG_Py_Void();
37791 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37792 PyObject
*resultobj
= 0;
37793 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37799 PyObject
* obj0
= 0 ;
37800 PyObject
* obj1
= 0 ;
37801 char * kwnames
[] = {
37802 (char *) "self",(char *) "font", NULL
37805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37807 if (!SWIG_IsOK(res1
)) {
37808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37810 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37812 if (!SWIG_IsOK(res2
)) {
37813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37818 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37821 (arg1
)->SetFont((wxFont
const &)*arg2
);
37822 wxPyEndAllowThreads(__tstate
);
37823 if (PyErr_Occurred()) SWIG_fail
;
37825 resultobj
= SWIG_Py_Void();
37832 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37833 PyObject
*resultobj
= 0;
37834 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37840 PyObject
* obj0
= 0 ;
37841 PyObject
* obj1
= 0 ;
37842 char * kwnames
[] = {
37843 (char *) "self",(char *) "pen", NULL
37846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37848 if (!SWIG_IsOK(res1
)) {
37849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37851 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37853 if (!SWIG_IsOK(res2
)) {
37854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37859 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37862 (arg1
)->SetPen((wxPen
const &)*arg2
);
37863 wxPyEndAllowThreads(__tstate
);
37864 if (PyErr_Occurred()) SWIG_fail
;
37866 resultobj
= SWIG_Py_Void();
37873 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37874 PyObject
*resultobj
= 0;
37875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37876 wxBrush
*arg2
= 0 ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 char * kwnames
[] = {
37884 (char *) "self",(char *) "brush", NULL
37887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37889 if (!SWIG_IsOK(res1
)) {
37890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37894 if (!SWIG_IsOK(res2
)) {
37895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37900 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
37904 wxPyEndAllowThreads(__tstate
);
37905 if (PyErr_Occurred()) SWIG_fail
;
37907 resultobj
= SWIG_Py_Void();
37914 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37915 PyObject
*resultobj
= 0;
37916 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37917 wxBrush
*arg2
= 0 ;
37922 PyObject
* obj0
= 0 ;
37923 PyObject
* obj1
= 0 ;
37924 char * kwnames
[] = {
37925 (char *) "self",(char *) "brush", NULL
37928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37930 if (!SWIG_IsOK(res1
)) {
37931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37935 if (!SWIG_IsOK(res2
)) {
37936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37941 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
37945 wxPyEndAllowThreads(__tstate
);
37946 if (PyErr_Occurred()) SWIG_fail
;
37948 resultobj
= SWIG_Py_Void();
37955 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
= 0;
37957 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37963 PyObject
* obj0
= 0 ;
37964 PyObject
* obj1
= 0 ;
37965 char * kwnames
[] = {
37966 (char *) "self",(char *) "mode", NULL
37969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37971 if (!SWIG_IsOK(res1
)) {
37972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37974 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37976 if (!SWIG_IsOK(ecode2
)) {
37977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
37979 arg2
= static_cast< int >(val2
);
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 (arg1
)->SetBackgroundMode(arg2
);
37983 wxPyEndAllowThreads(__tstate
);
37984 if (PyErr_Occurred()) SWIG_fail
;
37986 resultobj
= SWIG_Py_Void();
37993 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37994 PyObject
*resultobj
= 0;
37995 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37996 wxPalette
*arg2
= 0 ;
38001 PyObject
* obj0
= 0 ;
38002 PyObject
* obj1
= 0 ;
38003 char * kwnames
[] = {
38004 (char *) "self",(char *) "palette", NULL
38007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38009 if (!SWIG_IsOK(res1
)) {
38010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38012 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38013 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38014 if (!SWIG_IsOK(res2
)) {
38015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38020 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38024 wxPyEndAllowThreads(__tstate
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38027 resultobj
= SWIG_Py_Void();
38034 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38035 PyObject
*resultobj
= 0;
38036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38037 wxColour
*arg2
= 0 ;
38041 PyObject
* obj0
= 0 ;
38042 PyObject
* obj1
= 0 ;
38043 char * kwnames
[] = {
38044 (char *) "self",(char *) "colour", NULL
38047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38049 if (!SWIG_IsOK(res1
)) {
38050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38052 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38055 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38059 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38060 wxPyEndAllowThreads(__tstate
);
38061 if (PyErr_Occurred()) SWIG_fail
;
38063 resultobj
= SWIG_Py_Void();
38070 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38071 PyObject
*resultobj
= 0;
38072 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38073 wxColour
*arg2
= 0 ;
38077 PyObject
* obj0
= 0 ;
38078 PyObject
* obj1
= 0 ;
38079 char * kwnames
[] = {
38080 (char *) "self",(char *) "colour", NULL
38083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38085 if (!SWIG_IsOK(res1
)) {
38086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38091 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38095 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38096 wxPyEndAllowThreads(__tstate
);
38097 if (PyErr_Occurred()) SWIG_fail
;
38099 resultobj
= SWIG_Py_Void();
38106 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38107 PyObject
*resultobj
= 0;
38108 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38114 PyObject
* obj0
= 0 ;
38115 PyObject
* obj1
= 0 ;
38116 char * kwnames
[] = {
38117 (char *) "self",(char *) "function", NULL
38120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38122 if (!SWIG_IsOK(res1
)) {
38123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38125 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38127 if (!SWIG_IsOK(ecode2
)) {
38128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38130 arg2
= static_cast< int >(val2
);
38132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38133 (arg1
)->SetLogicalFunction(arg2
);
38134 wxPyEndAllowThreads(__tstate
);
38135 if (PyErr_Occurred()) SWIG_fail
;
38137 resultobj
= SWIG_Py_Void();
38144 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38147 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38148 return SWIG_Py_Void();
38151 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38152 return SWIG_Python_InitShadowInstance(args
);
38155 static PyMethodDef SwigMethods
[] = {
38156 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38157 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38158 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38159 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38160 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38161 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38162 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38163 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38164 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38165 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38166 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38167 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38168 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38169 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38170 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38171 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38172 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38173 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38174 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38175 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38176 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38177 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38178 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38179 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38180 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38181 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38182 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38183 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38184 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38185 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38186 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38187 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38188 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38189 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38190 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38191 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38192 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38193 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38194 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38195 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38196 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38197 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38198 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38199 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38200 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38201 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38202 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38203 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38204 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38205 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38206 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38207 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38208 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38209 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38210 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38211 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38212 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38213 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38214 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38215 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38216 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38217 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38218 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38219 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38220 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38221 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38222 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38223 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38224 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38225 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38226 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38227 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38228 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38229 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38230 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38231 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38232 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38233 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38234 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38235 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38236 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38237 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38238 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38239 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38240 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38241 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38242 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38243 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38244 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38245 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38246 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38247 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38248 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38249 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38250 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38251 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38252 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38253 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38254 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38255 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38256 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38257 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38258 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38259 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38260 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38261 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38262 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38263 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38264 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38265 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38266 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38267 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38268 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38269 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38270 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38271 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38272 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38273 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38274 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38275 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38276 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38277 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38278 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38279 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38280 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38281 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38282 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38283 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38284 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38285 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38286 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38287 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38288 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38289 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38290 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38291 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38292 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38293 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38294 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38295 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38296 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38297 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38299 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38300 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38301 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38302 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38303 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38305 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38306 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38307 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38308 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38309 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38310 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38311 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38312 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38313 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38314 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38315 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38316 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38317 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38318 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38319 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38320 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38321 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38322 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38323 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38324 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38325 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38326 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38327 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38328 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38329 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38330 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38331 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38332 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38333 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38334 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38335 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38336 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38337 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38338 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38339 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38341 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38342 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38343 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38344 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38345 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38346 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38347 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38348 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38349 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38350 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38351 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38352 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38353 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38354 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38355 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38356 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38357 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38358 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38359 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38360 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38361 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38362 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38363 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38365 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38366 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38373 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38374 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38375 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38376 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38378 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38379 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38380 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38382 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38383 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38384 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38385 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38386 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38387 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38388 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38389 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38390 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38391 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38392 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38393 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38394 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38395 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38396 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38397 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38398 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38400 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38401 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38402 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38403 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38404 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38405 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38406 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38407 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38408 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38415 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38416 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38417 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38418 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38419 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38420 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38421 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38422 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38423 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38424 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38425 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38426 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38427 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38428 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38429 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38430 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38431 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38432 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38433 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38434 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38435 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38436 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38437 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38438 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38443 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38444 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38445 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38448 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38449 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38450 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38452 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38453 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38458 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38461 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38462 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38463 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38464 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38465 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38466 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38467 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38468 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38469 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38470 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38471 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38472 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38473 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38474 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38475 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38485 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38486 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38487 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38489 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38490 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38492 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38493 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38494 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38495 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38499 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38500 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38502 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38503 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38504 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38505 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38506 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38507 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38508 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38509 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38510 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38512 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38515 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38516 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38517 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38518 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38519 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38520 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38521 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38522 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38532 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38533 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38534 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38536 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38540 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38541 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38542 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38543 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38544 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38545 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38546 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38551 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38552 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38553 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38557 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38567 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38570 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38593 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38603 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38604 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38605 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38606 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38607 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38614 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38615 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38616 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38617 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38618 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38623 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38624 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38625 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38626 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38635 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38636 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38637 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38638 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38639 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38640 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38641 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38642 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38643 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38644 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38645 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38646 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38649 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38651 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38653 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38655 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38656 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38659 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38660 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38664 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38666 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38669 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38670 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38671 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38672 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38673 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38674 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38675 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38683 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38685 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38686 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38687 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38689 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38690 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38691 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38693 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38694 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38695 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38696 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38697 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38698 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38699 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38704 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38705 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38706 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38709 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38710 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38711 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38713 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38714 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38716 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38717 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38719 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38720 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38721 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38722 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38723 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38725 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38726 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38727 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38729 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38730 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38732 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38733 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38736 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38737 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38739 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38742 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38743 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38744 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38746 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38747 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38749 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38750 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38752 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38753 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38755 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38756 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38757 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38758 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38759 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38760 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38761 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38762 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38763 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38764 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38765 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38766 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38767 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38768 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38769 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38770 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38771 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38772 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38773 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38777 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38779 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38785 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38786 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38787 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38788 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38789 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38790 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38791 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38792 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38794 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38795 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38796 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38803 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38806 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38807 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38808 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38809 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38810 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38811 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38814 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38821 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38822 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38825 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38826 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38832 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38833 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38834 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38835 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38853 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38854 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38855 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38856 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38857 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38860 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38867 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38869 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38870 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38872 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38873 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38874 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38875 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38876 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38877 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38878 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38879 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38880 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38881 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38882 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38883 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38885 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38893 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38895 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38897 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38898 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38899 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
38900 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
38901 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
38902 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
38908 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
38909 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
38910 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
38911 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
38912 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
38913 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
38917 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
38921 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
38925 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
38926 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
38927 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
38932 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
38933 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
38934 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
38935 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
38936 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
38937 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
38938 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
38939 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
38940 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
38941 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
38942 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
38943 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
38952 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
38953 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
38955 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
38956 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
38957 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
38958 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
38959 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
38960 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
38961 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
38962 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
38963 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
38964 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
38965 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
38966 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
38967 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
38968 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
38969 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
38970 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
38971 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
38972 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
38973 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
38974 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
38975 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
38976 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
38977 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
38978 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
38980 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
38982 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
38983 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
38984 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
38985 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
38998 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
38999 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39000 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39002 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39003 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39004 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39005 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39006 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39007 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39008 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39009 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39062 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39072 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39073 { NULL
, NULL
, 0, NULL
}
39077 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39079 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39080 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39082 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39083 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39085 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39086 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39088 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39089 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39091 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39092 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39094 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39095 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39097 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39098 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39100 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39101 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39103 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39104 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39106 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39107 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39109 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39110 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39112 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39113 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39115 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39116 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39118 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39119 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39121 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39122 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39124 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39125 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39127 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39128 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39130 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39131 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39133 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39134 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39136 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39137 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39139 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39140 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39142 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39143 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39145 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39146 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39148 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39149 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39151 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39152 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39154 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39155 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39157 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39158 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39160 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39161 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39163 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39164 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39166 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39167 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39169 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39170 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39172 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39173 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39175 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39176 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39178 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39179 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39181 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39182 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39184 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39185 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39187 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39188 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39190 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39191 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39193 static void *_p_wxPenTo_p_wxObject(void *x
) {
39194 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39196 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39197 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39199 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39200 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39202 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39203 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39205 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39208 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39209 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39211 static void *_p_wxIconTo_p_wxObject(void *x
) {
39212 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39214 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39215 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39217 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39218 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39220 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39221 return (void *)((wxObject
*) ((wxSizer
*) x
));
39223 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39224 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39226 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39227 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39229 static void *_p_wxEventTo_p_wxObject(void *x
) {
39230 return (void *)((wxObject
*) ((wxEvent
*) x
));
39232 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39233 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39235 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39236 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39238 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39239 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39241 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39242 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39244 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39247 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39248 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39250 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39251 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39253 static void *_p_wxDCTo_p_wxObject(void *x
) {
39254 return (void *)((wxObject
*) ((wxDC
*) x
));
39256 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39257 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39259 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39260 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39262 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39263 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39265 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39266 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39268 static void *_p_wxControlTo_p_wxObject(void *x
) {
39269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39271 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39272 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39274 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39275 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39277 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39278 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39280 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39281 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39283 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39284 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39286 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39287 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39289 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39290 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39292 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39293 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39295 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39296 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39298 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39299 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39301 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39302 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39304 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39305 return (void *)((wxObject
*) ((wxEffects
*) x
));
39307 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39308 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39310 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39313 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39314 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39316 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39317 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39319 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39320 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39322 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39323 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39325 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39326 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39328 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39329 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39331 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39334 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39335 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39337 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39338 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39340 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39341 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39343 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39344 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39346 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39347 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39349 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39350 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39352 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39353 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39355 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39356 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39358 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39359 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39361 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39362 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39364 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39365 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39367 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39368 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39370 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39371 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39373 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39374 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39376 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39377 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39379 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39382 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39383 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39385 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39388 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39391 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39392 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39394 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39395 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39397 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39398 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39400 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39401 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39403 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39404 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39406 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39407 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39409 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39410 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39412 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39413 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39415 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39416 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39418 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39419 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39421 static void *_p_wxImageTo_p_wxObject(void *x
) {
39422 return (void *)((wxObject
*) ((wxImage
*) x
));
39424 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39425 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39427 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39428 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39430 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39431 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39433 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39434 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39436 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39437 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39439 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39440 return (void *)((wxObject
*) ((wxImageList
*) x
));
39442 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39443 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39445 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39446 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39448 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39449 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39451 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39452 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39454 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39455 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39457 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39460 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39461 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39463 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39464 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39466 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39467 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39469 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39470 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39472 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39475 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39476 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39478 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39479 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39481 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39482 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39484 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39485 return (void *)((wxObject
*) ((wxMask
*) x
));
39487 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39488 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39490 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39493 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39494 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39496 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39497 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39499 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39500 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39502 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39503 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39505 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39506 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39508 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39511 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39512 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39514 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39515 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39517 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39518 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39520 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39523 static void *_p_wxFontTo_p_wxObject(void *x
) {
39524 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39526 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39527 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39529 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39530 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39532 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39535 static void *_p_wxColourTo_p_wxObject(void *x
) {
39536 return (void *)((wxObject
*) ((wxColour
*) x
));
39538 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39541 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39542 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39544 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39545 return (void *)((wxWindow
*) ((wxControl
*) x
));
39547 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39548 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39550 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39551 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39553 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39554 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39556 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39557 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39559 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39560 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39561 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39562 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};
39563 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39564 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39565 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39566 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39567 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39568 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39569 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39570 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39571 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39572 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39573 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39574 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39575 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39576 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39577 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39578 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39579 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39580 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39581 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39582 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39583 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39584 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39585 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39586 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39587 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39588 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39589 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39590 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39591 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39592 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39593 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39594 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39595 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39596 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39597 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39598 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39599 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39600 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39601 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39602 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39603 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39604 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39605 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39606 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39607 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39608 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39609 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39610 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39611 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39612 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39613 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39614 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39615 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39616 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39617 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39618 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39619 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39620 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39621 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39622 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39623 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39624 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39625 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39626 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39627 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39628 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39629 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39630 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39631 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39632 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39633 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39634 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39635 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39636 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39637 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39638 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39639 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39640 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39641 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39642 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39643 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39644 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39645 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39646 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39647 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39648 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39649 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39650 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39651 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39652 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39653 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39654 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39655 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39656 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39657 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39658 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39659 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39660 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39661 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39662 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39663 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39664 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39665 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39666 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39667 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39668 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39669 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39670 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39671 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39672 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39673 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39674 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39675 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39676 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39677 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39678 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39679 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39680 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39681 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39682 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39683 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39684 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39685 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39686 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39687 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39688 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39689 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39690 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39691 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39692 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39693 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39694 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39695 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39696 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39697 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39698 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39699 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39700 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39701 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39702 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39703 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39704 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39705 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39706 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39707 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39708 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39709 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39710 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39711 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39712 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39713 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39714 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39715 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39716 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39717 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39718 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39719 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39720 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39721 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39722 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39723 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39724 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39725 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39726 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39727 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39728 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39729 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39731 static swig_type_info
*swig_type_initial
[] = {
39735 &_swigt__p_form_ops_t
,
39737 &_swigt__p_unsigned_char
,
39738 &_swigt__p_unsigned_int
,
39739 &_swigt__p_unsigned_long
,
39741 &_swigt__p_wxANIHandler
,
39742 &_swigt__p_wxAcceleratorTable
,
39743 &_swigt__p_wxActivateEvent
,
39744 &_swigt__p_wxAlphaPixelData
,
39745 &_swigt__p_wxAlphaPixelData_Accessor
,
39746 &_swigt__p_wxAutoBufferedPaintDC
,
39747 &_swigt__p_wxBMPHandler
,
39748 &_swigt__p_wxBitmap
,
39749 &_swigt__p_wxBoxSizer
,
39750 &_swigt__p_wxBrush
,
39751 &_swigt__p_wxBrushList
,
39752 &_swigt__p_wxBufferedDC
,
39753 &_swigt__p_wxBufferedPaintDC
,
39754 &_swigt__p_wxCURHandler
,
39756 &_swigt__p_wxChildFocusEvent
,
39757 &_swigt__p_wxClientDC
,
39758 &_swigt__p_wxClipboardTextEvent
,
39759 &_swigt__p_wxCloseEvent
,
39760 &_swigt__p_wxColor
,
39761 &_swigt__p_wxColour
,
39762 &_swigt__p_wxColourDatabase
,
39763 &_swigt__p_wxCommandEvent
,
39764 &_swigt__p_wxContextMenuEvent
,
39765 &_swigt__p_wxControl
,
39766 &_swigt__p_wxControlWithItems
,
39767 &_swigt__p_wxCursor
,
39769 &_swigt__p_wxDCBrushChanger
,
39770 &_swigt__p_wxDCClipper
,
39771 &_swigt__p_wxDCOverlay
,
39772 &_swigt__p_wxDCPenChanger
,
39773 &_swigt__p_wxDCTextColourChanger
,
39775 &_swigt__p_wxDateEvent
,
39776 &_swigt__p_wxDisplayChangedEvent
,
39777 &_swigt__p_wxDropFilesEvent
,
39778 &_swigt__p_wxDuplexMode
,
39779 &_swigt__p_wxEffects
,
39780 &_swigt__p_wxEncodingConverter
,
39781 &_swigt__p_wxEraseEvent
,
39782 &_swigt__p_wxEvent
,
39783 &_swigt__p_wxEvtHandler
,
39784 &_swigt__p_wxFSFile
,
39785 &_swigt__p_wxFileSystem
,
39786 &_swigt__p_wxFlexGridSizer
,
39787 &_swigt__p_wxFocusEvent
,
39789 &_swigt__p_wxFontList
,
39790 &_swigt__p_wxFontMapper
,
39791 &_swigt__p_wxGBSizerItem
,
39793 &_swigt__p_wxGDIObjListBase
,
39794 &_swigt__p_wxGDIObject
,
39795 &_swigt__p_wxGIFHandler
,
39796 &_swigt__p_wxGraphicsBrush
,
39797 &_swigt__p_wxGraphicsContext
,
39798 &_swigt__p_wxGraphicsFont
,
39799 &_swigt__p_wxGraphicsMatrix
,
39800 &_swigt__p_wxGraphicsObject
,
39801 &_swigt__p_wxGraphicsPath
,
39802 &_swigt__p_wxGraphicsPen
,
39803 &_swigt__p_wxGraphicsRenderer
,
39804 &_swigt__p_wxGridBagSizer
,
39805 &_swigt__p_wxGridSizer
,
39806 &_swigt__p_wxHeaderButtonParams
,
39807 &_swigt__p_wxICOHandler
,
39809 &_swigt__p_wxIconBundle
,
39810 &_swigt__p_wxIconLocation
,
39811 &_swigt__p_wxIconizeEvent
,
39812 &_swigt__p_wxIdleEvent
,
39813 &_swigt__p_wxImage
,
39814 &_swigt__p_wxImageHandler
,
39815 &_swigt__p_wxImageList
,
39816 &_swigt__p_wxIndividualLayoutConstraint
,
39817 &_swigt__p_wxInitDialogEvent
,
39818 &_swigt__p_wxJPEGHandler
,
39819 &_swigt__p_wxKeyEvent
,
39820 &_swigt__p_wxLanguageInfo
,
39821 &_swigt__p_wxLayoutConstraints
,
39822 &_swigt__p_wxLocale
,
39824 &_swigt__p_wxMaximizeEvent
,
39825 &_swigt__p_wxMemoryDC
,
39827 &_swigt__p_wxMenuBar
,
39828 &_swigt__p_wxMenuEvent
,
39829 &_swigt__p_wxMenuItem
,
39830 &_swigt__p_wxMetaFile
,
39831 &_swigt__p_wxMetaFileDC
,
39832 &_swigt__p_wxMirrorDC
,
39833 &_swigt__p_wxMouseCaptureChangedEvent
,
39834 &_swigt__p_wxMouseCaptureLostEvent
,
39835 &_swigt__p_wxMouseEvent
,
39836 &_swigt__p_wxMoveEvent
,
39837 &_swigt__p_wxNativeEncodingInfo
,
39838 &_swigt__p_wxNativeFontInfo
,
39839 &_swigt__p_wxNativePixelData
,
39840 &_swigt__p_wxNativePixelData_Accessor
,
39841 &_swigt__p_wxNavigationKeyEvent
,
39842 &_swigt__p_wxNcPaintEvent
,
39843 &_swigt__p_wxNotifyEvent
,
39844 &_swigt__p_wxObject
,
39845 &_swigt__p_wxOverlay
,
39846 &_swigt__p_wxPCXHandler
,
39847 &_swigt__p_wxPNGHandler
,
39848 &_swigt__p_wxPNMHandler
,
39849 &_swigt__p_wxPaintDC
,
39850 &_swigt__p_wxPaintEvent
,
39851 &_swigt__p_wxPalette
,
39852 &_swigt__p_wxPaletteChangedEvent
,
39853 &_swigt__p_wxPaperSize
,
39855 &_swigt__p_wxPenList
,
39856 &_swigt__p_wxPixelDataBase
,
39857 &_swigt__p_wxPoint
,
39858 &_swigt__p_wxPoint2D
,
39859 &_swigt__p_wxPoint2DDouble
,
39860 &_swigt__p_wxPostScriptDC
,
39861 &_swigt__p_wxPrintData
,
39862 &_swigt__p_wxPrinterDC
,
39863 &_swigt__p_wxPseudoDC
,
39864 &_swigt__p_wxPyApp
,
39865 &_swigt__p_wxPyCommandEvent
,
39866 &_swigt__p_wxPyEvent
,
39867 &_swigt__p_wxPyFontEnumerator
,
39868 &_swigt__p_wxPyImageHandler
,
39869 &_swigt__p_wxPyLocale
,
39870 &_swigt__p_wxPySizer
,
39871 &_swigt__p_wxPyValidator
,
39872 &_swigt__p_wxQueryNewPaletteEvent
,
39874 &_swigt__p_wxRect2DDouble
,
39875 &_swigt__p_wxRegion
,
39876 &_swigt__p_wxRegionIterator
,
39877 &_swigt__p_wxRendererNative
,
39878 &_swigt__p_wxRendererVersion
,
39879 &_swigt__p_wxScreenDC
,
39880 &_swigt__p_wxScrollEvent
,
39881 &_swigt__p_wxScrollWinEvent
,
39882 &_swigt__p_wxSetCursorEvent
,
39883 &_swigt__p_wxShowEvent
,
39885 &_swigt__p_wxSizeEvent
,
39886 &_swigt__p_wxSizer
,
39887 &_swigt__p_wxSizerItem
,
39888 &_swigt__p_wxSplitterRenderParams
,
39889 &_swigt__p_wxStaticBoxSizer
,
39890 &_swigt__p_wxStdDialogButtonSizer
,
39891 &_swigt__p_wxStockGDI
,
39892 &_swigt__p_wxString
,
39893 &_swigt__p_wxSysColourChangedEvent
,
39894 &_swigt__p_wxTGAHandler
,
39895 &_swigt__p_wxTIFFHandler
,
39896 &_swigt__p_wxUpdateUIEvent
,
39897 &_swigt__p_wxValidator
,
39898 &_swigt__p_wxWindow
,
39899 &_swigt__p_wxWindowCreateEvent
,
39900 &_swigt__p_wxWindowDC
,
39901 &_swigt__p_wxWindowDestroyEvent
,
39902 &_swigt__p_wxXPMHandler
,
39905 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
39906 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39907 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
39908 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39909 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39910 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39911 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39912 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39913 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39914 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
39915 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39916 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39917 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39918 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
39919 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
39920 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}};
39921 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39922 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39923 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}};
39924 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
39925 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39926 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
39927 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39928 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}};
39929 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
39930 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
39931 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39932 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
39933 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
39934 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
39935 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39936 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
39937 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
39938 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39939 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
39940 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
39941 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
39942 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}};
39943 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}};
39944 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
39945 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
39946 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
39947 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
39948 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}};
39949 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
39950 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
39951 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
39952 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
39953 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39954 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
39955 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
39956 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39957 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
39958 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
39959 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}};
39960 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
39961 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}};
39962 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
39963 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
39964 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
39965 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
39966 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
39967 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
39968 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39969 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39970 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39971 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39972 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39973 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39974 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39975 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39976 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39977 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39978 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39979 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39980 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
39981 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39982 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39983 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39984 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39985 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39986 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39987 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39988 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39989 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39990 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39991 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39992 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39993 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39994 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39995 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39996 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39997 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39998 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39999 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40000 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40001 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40002 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40003 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40004 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40005 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40006 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40007 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40008 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40009 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40010 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40011 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40012 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40013 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40014 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40015 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40016 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40017 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40018 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40019 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40020 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40021 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40022 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40023 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40024 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40025 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40026 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40027 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40028 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40029 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40030 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40031 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40032 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40033 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40034 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40035 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40036 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40037 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40038 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40039 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40040 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40041 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40042 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40043 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40044 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40045 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40046 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40047 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40048 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40049 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40050 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40051 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40052 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40053 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}};
40054 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40055 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40056 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40057 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40058 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40059 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40060 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40061 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40062 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40063 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40064 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40065 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40066 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40067 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40068 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40069 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40070 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40071 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40072 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40073 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40074 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}};
40075 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}};
40077 static swig_cast_info
*swig_cast_initial
[] = {
40081 _swigc__p_form_ops_t
,
40083 _swigc__p_unsigned_char
,
40084 _swigc__p_unsigned_int
,
40085 _swigc__p_unsigned_long
,
40087 _swigc__p_wxANIHandler
,
40088 _swigc__p_wxAcceleratorTable
,
40089 _swigc__p_wxActivateEvent
,
40090 _swigc__p_wxAlphaPixelData
,
40091 _swigc__p_wxAlphaPixelData_Accessor
,
40092 _swigc__p_wxAutoBufferedPaintDC
,
40093 _swigc__p_wxBMPHandler
,
40094 _swigc__p_wxBitmap
,
40095 _swigc__p_wxBoxSizer
,
40097 _swigc__p_wxBrushList
,
40098 _swigc__p_wxBufferedDC
,
40099 _swigc__p_wxBufferedPaintDC
,
40100 _swigc__p_wxCURHandler
,
40102 _swigc__p_wxChildFocusEvent
,
40103 _swigc__p_wxClientDC
,
40104 _swigc__p_wxClipboardTextEvent
,
40105 _swigc__p_wxCloseEvent
,
40107 _swigc__p_wxColour
,
40108 _swigc__p_wxColourDatabase
,
40109 _swigc__p_wxCommandEvent
,
40110 _swigc__p_wxContextMenuEvent
,
40111 _swigc__p_wxControl
,
40112 _swigc__p_wxControlWithItems
,
40113 _swigc__p_wxCursor
,
40115 _swigc__p_wxDCBrushChanger
,
40116 _swigc__p_wxDCClipper
,
40117 _swigc__p_wxDCOverlay
,
40118 _swigc__p_wxDCPenChanger
,
40119 _swigc__p_wxDCTextColourChanger
,
40121 _swigc__p_wxDateEvent
,
40122 _swigc__p_wxDisplayChangedEvent
,
40123 _swigc__p_wxDropFilesEvent
,
40124 _swigc__p_wxDuplexMode
,
40125 _swigc__p_wxEffects
,
40126 _swigc__p_wxEncodingConverter
,
40127 _swigc__p_wxEraseEvent
,
40129 _swigc__p_wxEvtHandler
,
40130 _swigc__p_wxFSFile
,
40131 _swigc__p_wxFileSystem
,
40132 _swigc__p_wxFlexGridSizer
,
40133 _swigc__p_wxFocusEvent
,
40135 _swigc__p_wxFontList
,
40136 _swigc__p_wxFontMapper
,
40137 _swigc__p_wxGBSizerItem
,
40139 _swigc__p_wxGDIObjListBase
,
40140 _swigc__p_wxGDIObject
,
40141 _swigc__p_wxGIFHandler
,
40142 _swigc__p_wxGraphicsBrush
,
40143 _swigc__p_wxGraphicsContext
,
40144 _swigc__p_wxGraphicsFont
,
40145 _swigc__p_wxGraphicsMatrix
,
40146 _swigc__p_wxGraphicsObject
,
40147 _swigc__p_wxGraphicsPath
,
40148 _swigc__p_wxGraphicsPen
,
40149 _swigc__p_wxGraphicsRenderer
,
40150 _swigc__p_wxGridBagSizer
,
40151 _swigc__p_wxGridSizer
,
40152 _swigc__p_wxHeaderButtonParams
,
40153 _swigc__p_wxICOHandler
,
40155 _swigc__p_wxIconBundle
,
40156 _swigc__p_wxIconLocation
,
40157 _swigc__p_wxIconizeEvent
,
40158 _swigc__p_wxIdleEvent
,
40160 _swigc__p_wxImageHandler
,
40161 _swigc__p_wxImageList
,
40162 _swigc__p_wxIndividualLayoutConstraint
,
40163 _swigc__p_wxInitDialogEvent
,
40164 _swigc__p_wxJPEGHandler
,
40165 _swigc__p_wxKeyEvent
,
40166 _swigc__p_wxLanguageInfo
,
40167 _swigc__p_wxLayoutConstraints
,
40168 _swigc__p_wxLocale
,
40170 _swigc__p_wxMaximizeEvent
,
40171 _swigc__p_wxMemoryDC
,
40173 _swigc__p_wxMenuBar
,
40174 _swigc__p_wxMenuEvent
,
40175 _swigc__p_wxMenuItem
,
40176 _swigc__p_wxMetaFile
,
40177 _swigc__p_wxMetaFileDC
,
40178 _swigc__p_wxMirrorDC
,
40179 _swigc__p_wxMouseCaptureChangedEvent
,
40180 _swigc__p_wxMouseCaptureLostEvent
,
40181 _swigc__p_wxMouseEvent
,
40182 _swigc__p_wxMoveEvent
,
40183 _swigc__p_wxNativeEncodingInfo
,
40184 _swigc__p_wxNativeFontInfo
,
40185 _swigc__p_wxNativePixelData
,
40186 _swigc__p_wxNativePixelData_Accessor
,
40187 _swigc__p_wxNavigationKeyEvent
,
40188 _swigc__p_wxNcPaintEvent
,
40189 _swigc__p_wxNotifyEvent
,
40190 _swigc__p_wxObject
,
40191 _swigc__p_wxOverlay
,
40192 _swigc__p_wxPCXHandler
,
40193 _swigc__p_wxPNGHandler
,
40194 _swigc__p_wxPNMHandler
,
40195 _swigc__p_wxPaintDC
,
40196 _swigc__p_wxPaintEvent
,
40197 _swigc__p_wxPalette
,
40198 _swigc__p_wxPaletteChangedEvent
,
40199 _swigc__p_wxPaperSize
,
40201 _swigc__p_wxPenList
,
40202 _swigc__p_wxPixelDataBase
,
40204 _swigc__p_wxPoint2D
,
40205 _swigc__p_wxPoint2DDouble
,
40206 _swigc__p_wxPostScriptDC
,
40207 _swigc__p_wxPrintData
,
40208 _swigc__p_wxPrinterDC
,
40209 _swigc__p_wxPseudoDC
,
40211 _swigc__p_wxPyCommandEvent
,
40212 _swigc__p_wxPyEvent
,
40213 _swigc__p_wxPyFontEnumerator
,
40214 _swigc__p_wxPyImageHandler
,
40215 _swigc__p_wxPyLocale
,
40216 _swigc__p_wxPySizer
,
40217 _swigc__p_wxPyValidator
,
40218 _swigc__p_wxQueryNewPaletteEvent
,
40220 _swigc__p_wxRect2DDouble
,
40221 _swigc__p_wxRegion
,
40222 _swigc__p_wxRegionIterator
,
40223 _swigc__p_wxRendererNative
,
40224 _swigc__p_wxRendererVersion
,
40225 _swigc__p_wxScreenDC
,
40226 _swigc__p_wxScrollEvent
,
40227 _swigc__p_wxScrollWinEvent
,
40228 _swigc__p_wxSetCursorEvent
,
40229 _swigc__p_wxShowEvent
,
40231 _swigc__p_wxSizeEvent
,
40233 _swigc__p_wxSizerItem
,
40234 _swigc__p_wxSplitterRenderParams
,
40235 _swigc__p_wxStaticBoxSizer
,
40236 _swigc__p_wxStdDialogButtonSizer
,
40237 _swigc__p_wxStockGDI
,
40238 _swigc__p_wxString
,
40239 _swigc__p_wxSysColourChangedEvent
,
40240 _swigc__p_wxTGAHandler
,
40241 _swigc__p_wxTIFFHandler
,
40242 _swigc__p_wxUpdateUIEvent
,
40243 _swigc__p_wxValidator
,
40244 _swigc__p_wxWindow
,
40245 _swigc__p_wxWindowCreateEvent
,
40246 _swigc__p_wxWindowDC
,
40247 _swigc__p_wxWindowDestroyEvent
,
40248 _swigc__p_wxXPMHandler
,
40252 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40254 static swig_const_info swig_const_table
[] = {
40255 {0, 0, 0, 0.0, 0, 0}};
40260 /* -----------------------------------------------------------------------------
40261 * Type initialization:
40262 * This problem is tough by the requirement that no dynamic
40263 * memory is used. Also, since swig_type_info structures store pointers to
40264 * swig_cast_info structures and swig_cast_info structures store pointers back
40265 * to swig_type_info structures, we need some lookup code at initialization.
40266 * The idea is that swig generates all the structures that are needed.
40267 * The runtime then collects these partially filled structures.
40268 * The SWIG_InitializeModule function takes these initial arrays out of
40269 * swig_module, and does all the lookup, filling in the swig_module.types
40270 * array with the correct data and linking the correct swig_cast_info
40271 * structures together.
40273 * The generated swig_type_info structures are assigned staticly to an initial
40274 * array. We just loop though that array, and handle each type individually.
40275 * First we lookup if this type has been already loaded, and if so, use the
40276 * loaded structure instead of the generated one. Then we have to fill in the
40277 * cast linked list. The cast data is initially stored in something like a
40278 * two-dimensional array. Each row corresponds to a type (there are the same
40279 * number of rows as there are in the swig_type_initial array). Each entry in
40280 * a column is one of the swig_cast_info structures for that type.
40281 * The cast_initial array is actually an array of arrays, because each row has
40282 * a variable number of columns. So to actually build the cast linked list,
40283 * we find the array of casts associated with the type, and loop through it
40284 * adding the casts to the list. The one last trick we need to do is making
40285 * sure the type pointer in the swig_cast_info struct is correct.
40287 * First off, we lookup the cast->type name to see if it is already loaded.
40288 * There are three cases to handle:
40289 * 1) If the cast->type has already been loaded AND the type we are adding
40290 * casting info to has not been loaded (it is in this module), THEN we
40291 * replace the cast->type pointer with the type pointer that has already
40293 * 2) If BOTH types (the one we are adding casting info to, and the
40294 * cast->type) are loaded, THEN the cast info has already been loaded by
40295 * the previous module so we just ignore it.
40296 * 3) Finally, if cast->type has not already been loaded, then we add that
40297 * swig_cast_info to the linked list (because the cast->type) pointer will
40299 * ----------------------------------------------------------------------------- */
40309 #define SWIGRUNTIME_DEBUG
40313 SWIG_InitializeModule(void *clientdata
) {
40315 swig_module_info
*module_head
;
40316 static int init_run
= 0;
40318 clientdata
= clientdata
;
40320 if (init_run
) return;
40323 /* Initialize the swig_module */
40324 swig_module
.type_initial
= swig_type_initial
;
40325 swig_module
.cast_initial
= swig_cast_initial
;
40327 /* Try and load any already created modules */
40328 module_head
= SWIG_GetModule(clientdata
);
40330 swig_module
.next
= module_head
->next
;
40331 module_head
->next
= &swig_module
;
40333 /* This is the first module loaded */
40334 swig_module
.next
= &swig_module
;
40335 SWIG_SetModule(clientdata
, &swig_module
);
40338 /* Now work on filling in swig_module.types */
40339 #ifdef SWIGRUNTIME_DEBUG
40340 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40342 for (i
= 0; i
< swig_module
.size
; ++i
) {
40343 swig_type_info
*type
= 0;
40344 swig_type_info
*ret
;
40345 swig_cast_info
*cast
;
40347 #ifdef SWIGRUNTIME_DEBUG
40348 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40351 /* if there is another module already loaded */
40352 if (swig_module
.next
!= &swig_module
) {
40353 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40356 /* Overwrite clientdata field */
40357 #ifdef SWIGRUNTIME_DEBUG
40358 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40360 if (swig_module
.type_initial
[i
]->clientdata
) {
40361 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40362 #ifdef SWIGRUNTIME_DEBUG
40363 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40367 type
= swig_module
.type_initial
[i
];
40370 /* Insert casting types */
40371 cast
= swig_module
.cast_initial
[i
];
40372 while (cast
->type
) {
40373 /* Don't need to add information already in the list */
40375 #ifdef SWIGRUNTIME_DEBUG
40376 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40378 if (swig_module
.next
!= &swig_module
) {
40379 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40380 #ifdef SWIGRUNTIME_DEBUG
40381 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40385 if (type
== swig_module
.type_initial
[i
]) {
40386 #ifdef SWIGRUNTIME_DEBUG
40387 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40392 /* Check for casting already in the list */
40393 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40394 #ifdef SWIGRUNTIME_DEBUG
40395 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40397 if (!ocast
) ret
= 0;
40402 #ifdef SWIGRUNTIME_DEBUG
40403 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40406 type
->cast
->prev
= cast
;
40407 cast
->next
= type
->cast
;
40413 /* Set entry in modules->types array equal to the type */
40414 swig_module
.types
[i
] = type
;
40416 swig_module
.types
[i
] = 0;
40418 #ifdef SWIGRUNTIME_DEBUG
40419 printf("**** SWIG_InitializeModule: Cast List ******\n");
40420 for (i
= 0; i
< swig_module
.size
; ++i
) {
40422 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40423 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40424 while (cast
->type
) {
40425 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40429 printf("---- Total casts: %d\n",j
);
40431 printf("**** SWIG_InitializeModule: Cast List ******\n");
40435 /* This function will propagate the clientdata field of type to
40436 * any new swig_type_info structures that have been added into the list
40437 * of equivalent types. It is like calling
40438 * SWIG_TypeClientData(type, clientdata) a second time.
40441 SWIG_PropagateClientData(void) {
40443 swig_cast_info
*equiv
;
40444 static int init_run
= 0;
40446 if (init_run
) return;
40449 for (i
= 0; i
< swig_module
.size
; i
++) {
40450 if (swig_module
.types
[i
]->clientdata
) {
40451 equiv
= swig_module
.types
[i
]->cast
;
40453 if (!equiv
->converter
) {
40454 if (equiv
->type
&& !equiv
->type
->clientdata
)
40455 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40457 equiv
= equiv
->next
;
40477 /* Python-specific SWIG API */
40478 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40479 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40480 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40482 /* -----------------------------------------------------------------------------
40483 * global variable support code.
40484 * ----------------------------------------------------------------------------- */
40486 typedef struct swig_globalvar
{
40487 char *name
; /* Name of global variable */
40488 PyObject
*(*get_attr
)(void); /* Return the current value */
40489 int (*set_attr
)(PyObject
*); /* Set the value */
40490 struct swig_globalvar
*next
;
40493 typedef struct swig_varlinkobject
{
40495 swig_globalvar
*vars
;
40496 } swig_varlinkobject
;
40498 SWIGINTERN PyObject
*
40499 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40500 return PyString_FromString("<Swig global variables>");
40503 SWIGINTERN PyObject
*
40504 swig_varlink_str(swig_varlinkobject
*v
) {
40505 PyObject
*str
= PyString_FromString("(");
40506 swig_globalvar
*var
;
40507 for (var
= v
->vars
; var
; var
=var
->next
) {
40508 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40509 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40511 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40516 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40517 PyObject
*str
= swig_varlink_str(v
);
40518 fprintf(fp
,"Swig global variables ");
40519 fprintf(fp
,"%s\n", PyString_AsString(str
));
40525 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40526 swig_globalvar
*var
= v
->vars
;
40528 swig_globalvar
*n
= var
->next
;
40535 SWIGINTERN PyObject
*
40536 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40537 PyObject
*res
= NULL
;
40538 swig_globalvar
*var
= v
->vars
;
40540 if (strcmp(var
->name
,n
) == 0) {
40541 res
= (*var
->get_attr
)();
40546 if (res
== NULL
&& !PyErr_Occurred()) {
40547 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40553 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40555 swig_globalvar
*var
= v
->vars
;
40557 if (strcmp(var
->name
,n
) == 0) {
40558 res
= (*var
->set_attr
)(p
);
40563 if (res
== 1 && !PyErr_Occurred()) {
40564 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40569 SWIGINTERN PyTypeObject
*
40570 swig_varlink_type(void) {
40571 static char varlink__doc__
[] = "Swig var link object";
40572 static PyTypeObject varlink_type
;
40573 static int type_init
= 0;
40575 const PyTypeObject tmp
40577 PyObject_HEAD_INIT(NULL
)
40578 0, /* Number of items in variable part (ob_size) */
40579 (char *)"swigvarlink", /* Type name (tp_name) */
40580 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40581 0, /* Itemsize (tp_itemsize) */
40582 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40583 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40584 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40585 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40586 0, /* tp_compare */
40587 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40588 0, /* tp_as_number */
40589 0, /* tp_as_sequence */
40590 0, /* tp_as_mapping */
40593 (reprfunc
)swig_varlink_str
, /* tp_str */
40594 0, /* tp_getattro */
40595 0, /* tp_setattro */
40596 0, /* tp_as_buffer */
40598 varlink__doc__
, /* tp_doc */
40599 0, /* tp_traverse */
40601 0, /* tp_richcompare */
40602 0, /* tp_weaklistoffset */
40603 #if PY_VERSION_HEX >= 0x02020000
40604 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40606 #if PY_VERSION_HEX >= 0x02030000
40609 #ifdef COUNT_ALLOCS
40610 0,0,0,0 /* tp_alloc -> tp_next */
40613 varlink_type
= tmp
;
40614 varlink_type
.ob_type
= &PyType_Type
;
40617 return &varlink_type
;
40620 /* Create a variable linking object for use later */
40621 SWIGINTERN PyObject
*
40622 SWIG_Python_newvarlink(void) {
40623 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40627 return ((PyObject
*) result
);
40631 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40632 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40633 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40635 size_t size
= strlen(name
)+1;
40636 gv
->name
= (char *)malloc(size
);
40638 strncpy(gv
->name
,name
,size
);
40639 gv
->get_attr
= get_attr
;
40640 gv
->set_attr
= set_attr
;
40641 gv
->next
= v
->vars
;
40647 SWIGINTERN PyObject
*
40649 static PyObject
*_SWIG_globals
= 0;
40650 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40651 return _SWIG_globals
;
40654 /* -----------------------------------------------------------------------------
40655 * constants/methods manipulation
40656 * ----------------------------------------------------------------------------- */
40658 /* Install Constants */
40660 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40663 for (i
= 0; constants
[i
].type
; ++i
) {
40664 switch(constants
[i
].type
) {
40665 case SWIG_PY_POINTER
:
40666 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40668 case SWIG_PY_BINARY
:
40669 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40676 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40682 /* -----------------------------------------------------------------------------*/
40683 /* Fix SwigMethods to carry the callback ptrs when needed */
40684 /* -----------------------------------------------------------------------------*/
40687 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40688 swig_const_info
*const_table
,
40689 swig_type_info
**types
,
40690 swig_type_info
**types_initial
) {
40692 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40693 const char *c
= methods
[i
].ml_doc
;
40694 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40696 swig_const_info
*ci
= 0;
40697 const char *name
= c
+ 10;
40698 for (j
= 0; const_table
[j
].type
; ++j
) {
40699 if (strncmp(const_table
[j
].name
, name
,
40700 strlen(const_table
[j
].name
)) == 0) {
40701 ci
= &(const_table
[j
]);
40706 size_t shift
= (ci
->ptype
) - types
;
40707 swig_type_info
*ty
= types_initial
[shift
];
40708 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40709 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40710 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40713 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40715 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40717 strncpy(buff
, "swig_ptr: ", 10);
40719 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40720 methods
[i
].ml_doc
= ndoc
;
40732 /* -----------------------------------------------------------------------------*
40733 * Partial Init method
40734 * -----------------------------------------------------------------------------*/
40739 SWIGEXPORT
void SWIG_init(void) {
40742 /* Fix SwigMethods to carry the callback ptrs when needed */
40743 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40745 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40746 d
= PyModule_GetDict(m
);
40748 SWIG_InitializeModule(0);
40749 SWIG_InstallConstants(d
,swig_const_table
);
40752 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40753 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40754 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40755 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40756 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40757 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40758 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40759 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40760 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40761 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40762 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40763 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40764 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40765 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40766 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40767 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40768 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40769 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40770 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40771 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40772 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40773 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40774 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40775 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40776 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40777 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40778 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40779 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40780 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40781 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40782 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40783 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40784 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40785 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40786 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40787 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40788 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40789 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40790 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40791 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40792 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40793 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40794 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40795 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40796 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40797 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40798 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40799 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40800 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40801 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40802 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40803 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40804 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40805 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40806 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40807 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40808 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40809 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40810 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40811 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40812 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40813 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40814 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40815 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40816 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40817 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40818 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40819 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40820 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40821 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40822 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40823 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40824 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40825 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40826 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40827 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40828 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40829 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40830 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40831 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40832 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40833 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40834 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40835 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40836 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40837 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40838 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40839 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40840 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40841 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40842 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40843 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40844 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40845 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40846 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40847 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40848 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40849 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40850 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40851 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40852 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40853 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40854 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40855 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40856 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40857 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40858 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40859 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40860 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40861 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40862 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40863 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40864 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40865 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40866 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40867 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40868 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40869 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40870 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40871 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40872 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40873 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40874 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40875 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40876 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40877 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40878 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40879 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40880 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40881 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40882 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40883 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40885 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40887 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40888 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40889 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40890 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
40891 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
40892 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
40893 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
40894 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
40895 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
40896 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
40897 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
40898 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
40899 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
40900 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
40901 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
40902 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
40903 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
40904 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
40905 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
40906 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
40907 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
40908 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
40909 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
40910 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
40911 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
40912 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
40913 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
40914 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
40915 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
40916 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
40917 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
40918 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
40919 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
40920 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
40921 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
40922 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
40923 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
40924 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
40925 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
40926 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
40927 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
40928 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
40929 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
40930 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
40931 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
40932 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
40933 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
40934 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
40935 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
40936 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
40937 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
40938 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
40939 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
40940 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
40941 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
40942 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
40943 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
40944 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
40945 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
40946 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
40947 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
40948 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
40949 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
40950 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
40951 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
40952 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
40953 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
40954 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
40955 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
40956 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
40957 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
40958 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
40959 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
40960 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
40961 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
40962 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
40963 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
40964 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
40965 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
40966 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
40967 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
40968 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
40969 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
40970 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
40971 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
40972 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
40973 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
40974 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
40975 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
40976 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
40977 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
40978 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
40979 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
40980 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
40981 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
40982 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
40983 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
40984 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
40985 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
40986 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
40987 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
40988 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
40989 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
40990 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
40991 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
40992 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
40993 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
40994 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
40995 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
40996 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
40997 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
40998 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
40999 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41000 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41001 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41002 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41003 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41004 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41005 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41006 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41007 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41008 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41009 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41010 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41011 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41012 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41013 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41014 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41015 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41016 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41017 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41018 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41019 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41020 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41021 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41022 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41023 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41024 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41025 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41049 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41050 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41051 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41052 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41053 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41054 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41055 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41056 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41057 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41058 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41059 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41060 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41061 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41062 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41063 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41064 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41065 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41066 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41067 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41068 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41084 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41085 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41086 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41087 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41088 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41089 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41090 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41091 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41092 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41093 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41094 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41095 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41096 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41097 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41098 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41099 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41100 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41101 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41102 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41118 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41119 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41120 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41121 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41122 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41123 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41124 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41125 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41126 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41127 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41128 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41129 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41130 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41131 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41132 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41133 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41134 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41135 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41136 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41137 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41138 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41139 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41140 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41141 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41142 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41143 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41144 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41145 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41146 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41147 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41148 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41149 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41150 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41151 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41152 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41153 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41154 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41155 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41156 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41157 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41158 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41159 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41160 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41161 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41162 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41163 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41164 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41165 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41166 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41167 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41168 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41169 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41170 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41171 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41172 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41173 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41174 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41175 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41176 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41177 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41178 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41179 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41180 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41181 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41182 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41183 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41184 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41185 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41186 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41187 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41188 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41189 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41190 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41191 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41192 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41193 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41194 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41195 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41196 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41197 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41198 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41199 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41200 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41201 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41202 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41203 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41204 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41205 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41206 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41207 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41208 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41209 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41210 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41212 // Work around a chicken/egg problem in drawlist.cpp
41213 wxPyDrawList_SetAPIPtr();