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_wxPostScriptDC swig_types[127]
2594 #define SWIGTYPE_p_wxPrintData swig_types[128]
2595 #define SWIGTYPE_p_wxPrinterDC swig_types[129]
2596 #define SWIGTYPE_p_wxPseudoDC swig_types[130]
2597 #define SWIGTYPE_p_wxPyApp swig_types[131]
2598 #define SWIGTYPE_p_wxPyCommandEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[134]
2601 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
2602 #define SWIGTYPE_p_wxPyLocale swig_types[136]
2603 #define SWIGTYPE_p_wxPySizer swig_types[137]
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138]
2605 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139]
2606 #define SWIGTYPE_p_wxRect swig_types[140]
2607 #define SWIGTYPE_p_wxRect2D swig_types[141]
2608 #define SWIGTYPE_p_wxRegion swig_types[142]
2609 #define SWIGTYPE_p_wxRegionIterator swig_types[143]
2610 #define SWIGTYPE_p_wxRendererNative swig_types[144]
2611 #define SWIGTYPE_p_wxRendererVersion swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
);
3233 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3240 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3247 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3249 wxImage
img(cursorName
, type
);
3250 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3252 return new wxCursor(img
);
3254 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3259 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3262 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3263 return self
->operator bool();
3266 #include <wx/fontutil.h>
3267 #include <wx/fontmap.h>
3268 #include <wx/fontenum.h>
3270 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3271 return self
->ToString();
3274 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3275 static wxNativeEncodingInfo info
;
3276 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3283 SWIGINTERNINLINE PyObject
*
3284 SWIG_From_size_t (size_t value
)
3286 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3290 SWIGINTERNINLINE
int
3291 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3294 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3295 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxChar
*szName
, // name (for messages)
3399 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3400 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3410 const wxChar
*szDomain
= NULL
) const;
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szOrigString2
, size_t n
,
3413 const wxChar
*szDomain
= NULL
) const;
3415 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3416 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3418 const wxChar
*szOrigString2
, size_t n
,
3419 const wxChar
*szDomain
= NULL
) const;
3423 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3426 wxPyLocale::wxPyLocale() : wxLocale()
3430 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3431 const wxChar
*szShort
, // dir prefix (for msg files)
3432 const wxChar
*szLocale
, // locale (for setlocale)
3433 bool bLoadDefault
, // preload wxstd.mo?
3434 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3435 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3439 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3440 int flags
) : wxLocale(language
, flags
)
3444 wxPyLocale::~wxPyLocale()
3448 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3449 const wxChar
*szDomain
) const
3451 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3452 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3455 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3456 const wxChar
*szOrigString2
, size_t n
,
3457 const wxChar
*szDomain
) const
3459 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3460 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3463 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3464 const wxChar
*szDomain
) const
3467 static wxString str
;
3468 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3469 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3470 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3471 PyObject
* param1
= wx2PyString(szOrigString
);
3472 PyObject
* param2
= wx2PyString(szDomain
);
3473 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3477 str
= Py2wxString(ret
);
3481 wxPyEndBlockThreads(blocked
);
3482 return (found
? (wxChar
*)str
.c_str() : NULL
);
3485 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3486 const wxChar
*szOrigString2
, size_t n
,
3487 const wxChar
*szDomain
) const
3490 static wxString str
;
3491 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szOrigString2
);
3496 PyObject
* param4
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3502 str
= Py2wxString(ret
);
3506 wxPyEndBlockThreads(blocked
);
3507 return (found
? (wxChar
*)str
.c_str() : NULL
);
3510 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3513 loc
= new wxPyLocale();
3515 loc
= new wxPyLocale(language
, flags
);
3516 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3517 // for the floating point conversions and such to work right.
3518 #if PY_VERSION_HEX < 0x02040000
3519 setlocale(LC_NUMERIC
, "C");
3524 #include "wx/wxPython/pydrawxxx.h"
3526 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3528 self
->GetPixel(x
, y
, &col
);
3531 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3533 self
->GetPixel(pt
, &col
);
3538 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3540 if (PyNumber_Check(obj
)) {
3541 if (val
) *val
= PyFloat_AsDouble(obj
);
3544 return SWIG_TypeError
;
3547 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3549 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3552 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3554 self
->GetClippingBox(rect
);
3557 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3559 self
->GetPartialTextExtents(text
, widths
);
3563 #define SWIG_From_double PyFloat_FromDouble
3565 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3566 self
->SetLogicalOrigin(point
.x
, point
.y
);
3568 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetDeviceOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->CalcBoundingBox(point
.x
, point
.y
);
3574 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3575 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3577 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3590 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3593 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3601 #include <wx/dcbuffer.h>
3604 #include <wx/dcps.h>
3607 class wxMetaFile
: public wxObject
{
3609 wxMetaFile(const wxString
&)
3610 { wxPyRaiseNotImplemented(); }
3613 class wxMetaFileDC
: public wxClientDC
{
3615 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3616 { wxPyRaiseNotImplemented(); }
3621 class wxPrinterDC
: public wxClientDC
{
3623 wxPrinterDC(const wxPrintData
&)
3624 { wxPyRaiseNotImplemented(); }
3629 #include <wx/graphics.h>
3632 #if !wxUSE_GRAPHICS_CONTEXT
3633 // C++ stub classes for platforms or build configurations that don't have
3634 // wxGraphicsContext yet.
3636 class wxGraphicsRenderer
;
3637 class wxGraphicsMatrix
;
3640 class wxGraphicsObject
: public wxObject
3643 wxGraphicsObject() {}
3644 wxGraphicsObject( wxGraphicsRenderer
* ) {
3645 PyErr_SetString(PyExc_NotImplementedError
,
3646 "wx.GraphicsObject is not available on this platform.");
3648 wxGraphicsObject( const wxGraphicsObject
& ) {}
3649 virtual ~wxGraphicsObject() {}
3650 bool IsNull() const { return false; }
3651 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3656 class wxGraphicsPen
: public wxGraphicsObject
3660 virtual ~wxGraphicsPen() {}
3662 wxGraphicsPen wxNullGraphicsPen
;
3666 class wxGraphicsBrush
: public wxGraphicsObject
3669 wxGraphicsBrush() {}
3670 virtual ~wxGraphicsBrush() {}
3672 wxGraphicsBrush wxNullGraphicsBrush
;
3676 class wxGraphicsFont
: public wxGraphicsObject
3680 virtual ~wxGraphicsFont() {}
3682 wxGraphicsFont wxNullGraphicsFont
;
3686 class wxGraphicsPath
: public wxGraphicsObject
3689 wxGraphicsPath() { }
3690 wxGraphicsPath(wxGraphicsRenderer
* ) {
3691 PyErr_SetString(PyExc_NotImplementedError
,
3692 "wx.GraphicsPath is not available on this platform.");
3694 virtual ~wxGraphicsPath() {}
3696 void MoveToPoint( wxDouble
, wxDouble
) {}
3697 void MoveToPoint( const wxPoint2DDouble
& ) {}
3698 void AddLineToPoint( wxDouble
, wxDouble
) {}
3699 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3700 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3701 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3702 void AddPath( const wxGraphicsPath
& ) {}
3703 void CloseSubpath() {}
3704 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3705 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3706 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3707 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3709 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void * GetNativePath() const { return NULL
; }
3717 void UnGetNativePath(void *) const {}
3718 void Transform( const wxGraphicsMatrix
& ) {}
3719 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3720 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3722 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3723 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3725 wxGraphicsPath wxNullGraphicsPath
;
3728 class wxGraphicsMatrix
: public wxGraphicsObject
3731 wxGraphicsMatrix() { }
3732 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3733 PyErr_SetString(PyExc_NotImplementedError
,
3734 "wx.GraphicsMatrix is not available on this platform.");
3736 virtual ~wxGraphicsMatrix() {}
3737 virtual void Concat( const wxGraphicsMatrix
& ) {}
3738 virtual void Copy( const wxGraphicsMatrix
& ) {}
3739 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3740 wxDouble
, wxDouble
) {}
3741 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3742 wxDouble
*, wxDouble
*, wxDouble
*) {}
3743 virtual void Invert() {}
3744 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3745 virtual bool IsIdentity() const { return false; }
3746 virtual void Translate( wxDouble
, wxDouble
) {}
3747 virtual void Scale( wxDouble
, wxDouble
) {}
3748 virtual void Rotate( wxDouble
) {}
3749 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3750 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3751 virtual void * GetNativeMatrix() const { return NULL
; }
3753 wxGraphicsMatrix wxNullGraphicsMatrix
;
3756 class wxGraphicsContext
: public wxGraphicsObject
3760 wxGraphicsContext(wxGraphicsRenderer
* ) {
3761 PyErr_SetString(PyExc_NotImplementedError
,
3762 "wx.GraphicsContext is not available on this platform.");
3765 virtual ~wxGraphicsContext() {}
3767 static wxGraphicsContext
* Create() {
3768 PyErr_SetString(PyExc_NotImplementedError
,
3769 "wx.GraphicsContext is not available on this platform.");
3772 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3773 PyErr_SetString(PyExc_NotImplementedError
,
3774 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* CreateFromNative( void * ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3784 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3785 PyErr_SetString(PyExc_NotImplementedError
,
3786 "wx.GraphicsContext is not available on this platform.");
3790 static wxGraphicsContext
* Create( wxWindow
* ) {
3791 PyErr_SetString(PyExc_NotImplementedError
,
3792 "wx.GraphicsContext is not available on this platform.");
3796 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3798 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3800 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3802 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3803 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3805 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3806 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3807 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3809 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3811 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3812 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3814 virtual void PushState() {}
3815 virtual void PopState() {}
3816 virtual void Clip( const wxRegion
& ) {}
3817 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3818 virtual void ResetClip() {}
3819 virtual void * GetNativeContext() { return NULL
; }
3820 virtual int GetLogicalFunction() const { return 0; }
3821 virtual bool SetLogicalFunction(int ) {}
3822 virtual void Translate( wxDouble
, wxDouble
) {}
3823 virtual void Scale( wxDouble
, wxDouble
) {}
3824 virtual void Rotate( wxDouble
) {}
3825 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3826 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3827 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3829 virtual void SetPen( const wxGraphicsPen
& ) {}
3830 void SetPen( const wxPen
& ) {}
3832 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3833 void SetBrush( const wxBrush
& ) {}
3835 virtual void SetFont( const wxGraphicsFont
& ) {}
3836 void SetFont( const wxFont
&, const wxColour
& ) {}
3838 virtual void StrokePath( const wxGraphicsPath
& ) {}
3839 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3840 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3842 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3843 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3844 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3845 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3846 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3847 wxDouble
*, wxDouble
* ) const {}
3848 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3850 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3851 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3853 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3854 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3855 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3856 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3857 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3861 virtual bool ShouldOffset() const { return false; }
3865 class wxGraphicsRenderer
: public wxObject
3868 wxGraphicsRenderer() {
3869 PyErr_SetString(PyExc_NotImplementedError
,
3870 "wx.GraphicsRenderer is not available on this platform.");
3873 virtual ~wxGraphicsRenderer() {}
3875 static wxGraphicsRenderer
* GetDefaultRenderer() {
3876 PyErr_SetString(PyExc_NotImplementedError
,
3877 "wx.GraphicsRenderer is not available on this platform.");
3881 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3882 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3883 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3884 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3885 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3887 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3889 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3890 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3892 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3893 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3894 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3895 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3896 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3897 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3898 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3903 class wxGCDC
: public wxWindowDC
3906 wxGCDC(const wxWindowDC
&) {
3907 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3908 PyErr_SetString(PyExc_NotImplementedError
,
3909 "wxGCDC is not available on this platform.");
3910 wxPyEndBlockThreads(blocked
);
3913 wxGCDC(const wxWindow
*) {
3914 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3915 PyErr_SetString(PyExc_NotImplementedError
,
3916 "wxGCDC is not available on this platform.");
3917 wxPyEndBlockThreads(blocked
);
3921 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3922 PyErr_SetString(PyExc_NotImplementedError
,
3923 "wxGCDC is not available on this platform.");
3924 wxPyEndBlockThreads(blocked
);
3927 virtual ~wxGCDC() {}
3929 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3930 void SetGraphicsContext( wxGraphicsContext
* ) {}
3935 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3936 if ( !backgroundBrush
.IsNull() )
3937 self
->DrawText(str
, x
, y
, backgroundBrush
);
3939 self
->DrawText(str
, x
, y
);
3941 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3942 if ( !backgroundBrush
.IsNull() )
3943 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3945 self
->DrawText(str
, x
, y
, angle
);
3947 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3948 wxDouble width
= 0.0,
3950 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3951 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3952 PyObject
* rv
= PyTuple_New(2);
3953 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3954 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3957 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3958 wxArrayDouble widths
;
3959 self
->GetPartialTextExtents(text
, widths
);
3962 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3963 size_t c1
, c2
, count
;
3964 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3965 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3967 if ( beginP
!= NULL
&& endP
!= NULL
)
3969 count
= wxMin(c1
, c2
);
3970 self
->StrokeLines(count
, beginP
, endP
);
3976 #include "wx/dcgraph.h"
3979 #include <wx/overlay.h>
3983 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3984 self
->AddColour(name
, wxColour(red
, green
, blue
));
3987 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3988 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3989 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3990 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3993 #include <wx/effects.h>
3996 #include "wx/renderer.h"
3999 SWIGINTERNINLINE PyObject
*
4000 SWIG_From_bool (bool value
)
4002 return PyBool_FromLong(value
? 1 : 0);
4006 #include "wx/wxPython/pseudodc.h"
4008 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4010 self
->GetIdBounds(id
, rect
);
4016 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4017 PyObject
*resultobj
= 0;
4018 wxGDIObject
*result
= 0 ;
4020 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4022 if (!wxPyCheckForApp()) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (wxGDIObject
*)new wxGDIObject();
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4035 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4036 PyObject
*resultobj
= 0;
4037 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4040 PyObject
*swig_obj
[1] ;
4042 if (!args
) SWIG_fail
;
4044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4045 if (!SWIG_IsOK(res1
)) {
4046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4048 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= SWIG_Py_Void();
4063 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4064 PyObject
*resultobj
= 0;
4065 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4069 PyObject
*swig_obj
[1] ;
4071 if (!args
) SWIG_fail
;
4073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4074 if (!SWIG_IsOK(res1
)) {
4075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4077 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= (bool)(arg1
)->IsNull();
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4093 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4096 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4097 return SWIG_Py_Void();
4100 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4101 return SWIG_Python_InitShadowInstance(args
);
4104 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
= 0;
4106 byte arg1
= (byte
) 0 ;
4107 byte arg2
= (byte
) 0 ;
4108 byte arg3
= (byte
) 0 ;
4109 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4110 wxColour
*result
= 0 ;
4111 unsigned char val1
;
4113 unsigned char val2
;
4115 unsigned char val3
;
4117 unsigned char val4
;
4119 PyObject
* obj0
= 0 ;
4120 PyObject
* obj1
= 0 ;
4121 PyObject
* obj2
= 0 ;
4122 PyObject
* obj3
= 0 ;
4123 char * kwnames
[] = {
4124 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4129 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4130 if (!SWIG_IsOK(ecode1
)) {
4131 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4133 arg1
= static_cast< byte
>(val1
);
4136 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4137 if (!SWIG_IsOK(ecode2
)) {
4138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4140 arg2
= static_cast< byte
>(val2
);
4143 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4144 if (!SWIG_IsOK(ecode3
)) {
4145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4147 arg3
= static_cast< byte
>(val3
);
4150 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4151 if (!SWIG_IsOK(ecode4
)) {
4152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4154 arg4
= static_cast< byte
>(val4
);
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4169 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
= 0;
4171 wxString
*arg1
= 0 ;
4172 wxColour
*result
= 0 ;
4173 bool temp1
= false ;
4174 PyObject
* obj0
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "colorName", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4181 arg1
= wxString_in_helper(obj0
);
4182 if (arg1
== NULL
) SWIG_fail
;
4186 if (!wxPyCheckForApp()) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4207 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
*resultobj
= 0;
4209 unsigned long arg1
;
4210 wxColour
*result
= 0 ;
4211 unsigned long val1
;
4213 PyObject
* obj0
= 0 ;
4214 char * kwnames
[] = {
4215 (char *) "colRGB", NULL
4218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4219 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4220 if (!SWIG_IsOK(ecode1
)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4223 arg1
= static_cast< unsigned long >(val1
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (wxColour
*)new wxColour(arg1
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4237 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4238 PyObject
*resultobj
= 0;
4239 wxColour
*arg1
= (wxColour
*) 0 ;
4242 PyObject
*swig_obj
[1] ;
4244 if (!args
) SWIG_fail
;
4246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4247 if (!SWIG_IsOK(res1
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4250 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4258 resultobj
= SWIG_Py_Void();
4265 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4266 PyObject
*resultobj
= 0;
4267 wxColour
*arg1
= (wxColour
*) 0 ;
4271 PyObject
*swig_obj
[1] ;
4273 if (!args
) SWIG_fail
;
4275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4276 if (!SWIG_IsOK(res1
)) {
4277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4279 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 result
= (byte
)(arg1
)->Red();
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4293 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4294 PyObject
*resultobj
= 0;
4295 wxColour
*arg1
= (wxColour
*) 0 ;
4299 PyObject
*swig_obj
[1] ;
4301 if (!args
) SWIG_fail
;
4303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4304 if (!SWIG_IsOK(res1
)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4307 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (byte
)(arg1
)->Green();
4311 wxPyEndAllowThreads(__tstate
);
4312 if (PyErr_Occurred()) SWIG_fail
;
4314 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4321 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4322 PyObject
*resultobj
= 0;
4323 wxColour
*arg1
= (wxColour
*) 0 ;
4327 PyObject
*swig_obj
[1] ;
4329 if (!args
) SWIG_fail
;
4331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4332 if (!SWIG_IsOK(res1
)) {
4333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4335 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (byte
)(arg1
)->Blue();
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4349 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4350 PyObject
*resultobj
= 0;
4351 wxColour
*arg1
= (wxColour
*) 0 ;
4355 PyObject
*swig_obj
[1] ;
4357 if (!args
) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4363 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 result
= (byte
)(arg1
)->Alpha();
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4377 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4378 PyObject
*resultobj
= 0;
4379 wxColour
*arg1
= (wxColour
*) 0 ;
4383 PyObject
*swig_obj
[1] ;
4385 if (!args
) SWIG_fail
;
4387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4388 if (!SWIG_IsOK(res1
)) {
4389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4391 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 result
= (bool)(arg1
)->IsOk();
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4407 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
= 0;
4409 wxColour
*arg1
= (wxColour
*) 0 ;
4413 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4416 unsigned char val2
;
4418 unsigned char val3
;
4420 unsigned char val4
;
4422 unsigned char val5
;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4426 PyObject
* obj2
= 0 ;
4427 PyObject
* obj3
= 0 ;
4428 PyObject
* obj4
= 0 ;
4429 char * kwnames
[] = {
4430 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4435 if (!SWIG_IsOK(res1
)) {
4436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4438 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4439 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4440 if (!SWIG_IsOK(ecode2
)) {
4441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4443 arg2
= static_cast< byte
>(val2
);
4444 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4445 if (!SWIG_IsOK(ecode3
)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4448 arg3
= static_cast< byte
>(val3
);
4449 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4450 if (!SWIG_IsOK(ecode4
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4453 arg4
= static_cast< byte
>(val4
);
4455 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4456 if (!SWIG_IsOK(ecode5
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4459 arg5
= static_cast< byte
>(val5
);
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= SWIG_Py_Void();
4474 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
= 0;
4476 wxColour
*arg1
= (wxColour
*) 0 ;
4477 unsigned long arg2
;
4480 unsigned long val2
;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4484 char * kwnames
[] = {
4485 (char *) "self",(char *) "colRGB", NULL
4488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4490 if (!SWIG_IsOK(res1
)) {
4491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4493 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4494 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4495 if (!SWIG_IsOK(ecode2
)) {
4496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4498 arg2
= static_cast< unsigned long >(val2
);
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= SWIG_Py_Void();
4512 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
= 0;
4514 wxColour
*arg1
= (wxColour
*) 0 ;
4515 wxString
*arg2
= 0 ;
4518 bool temp2
= false ;
4519 PyObject
* obj0
= 0 ;
4520 PyObject
* obj1
= 0 ;
4521 char * kwnames
[] = {
4522 (char *) "self",(char *) "colourName", NULL
4525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4527 if (!SWIG_IsOK(res1
)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4530 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4532 arg2
= wxString_in_helper(obj1
);
4533 if (arg2
== NULL
) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4538 (arg1
)->Set((wxString
const &)*arg2
);
4539 wxPyEndAllowThreads(__tstate
);
4540 if (PyErr_Occurred()) SWIG_fail
;
4542 resultobj
= SWIG_Py_Void();
4557 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
= 0;
4559 wxColour
*arg1
= (wxColour
*) 0 ;
4560 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4566 PyObject
* obj0
= 0 ;
4567 PyObject
* obj1
= 0 ;
4568 char * kwnames
[] = {
4569 (char *) "self",(char *) "flags", NULL
4572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4574 if (!SWIG_IsOK(res1
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4577 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4579 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4580 if (!SWIG_IsOK(ecode2
)) {
4581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4583 arg2
= static_cast< long >(val2
);
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4604 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4605 PyObject
*resultobj
= 0;
4606 wxColour
*arg1
= (wxColour
*) 0 ;
4610 PyObject
*swig_obj
[1] ;
4612 if (!args
) SWIG_fail
;
4614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4615 if (!SWIG_IsOK(res1
)) {
4616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4618 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= SWIG_From_long(static_cast< long >(result
));
4632 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
= 0;
4634 wxColour
*arg1
= (wxColour
*) 0 ;
4635 PyObject
*arg2
= (PyObject
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4641 char * kwnames
[] = {
4642 (char *) "self",(char *) "other", NULL
4645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4647 if (!SWIG_IsOK(res1
)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4650 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4653 result
= (bool)wxColour___eq__(arg1
,arg2
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4665 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxColour
*arg1
= (wxColour
*) 0 ;
4668 PyObject
*arg2
= (PyObject
*) 0 ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "self",(char *) "other", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4680 if (!SWIG_IsOK(res1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4683 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4686 result
= (bool)wxColour___ne__(arg1
,arg2
);
4687 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4698 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
= 0;
4700 wxColour
*arg1
= (wxColour
*) 0 ;
4701 bool arg2
= (bool) false ;
4702 PyObject
*result
= 0 ;
4707 PyObject
* obj0
= 0 ;
4708 PyObject
* obj1
= 0 ;
4709 char * kwnames
[] = {
4710 (char *) "self",(char *) "includeAlpha", NULL
4713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4715 if (!SWIG_IsOK(res1
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4718 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4720 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4721 if (!SWIG_IsOK(ecode2
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4724 arg2
= static_cast< bool >(val2
);
4727 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4737 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4738 PyObject
*resultobj
= 0;
4739 wxColour
*arg1
= (wxColour
*) 0 ;
4740 unsigned long result
;
4743 PyObject
*swig_obj
[1] ;
4745 if (!args
) SWIG_fail
;
4747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4748 if (!SWIG_IsOK(res1
)) {
4749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4751 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4753 result
= (unsigned long)wxColour_GetRGB(arg1
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4763 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4766 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4767 return SWIG_Py_Void();
4770 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4771 return SWIG_Python_InitShadowInstance(args
);
4774 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
= 0;
4777 unsigned char *arg2
= (unsigned char *) 0 ;
4778 unsigned char *arg3
= (unsigned char *) 0 ;
4779 unsigned char *arg4
= (unsigned char *) 0 ;
4780 wxPalette
*result
= 0 ;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4791 PyObject
* obj2
= 0 ;
4792 PyObject
* obj3
= 0 ;
4793 char * kwnames
[] = {
4794 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4798 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4799 if (!SWIG_IsOK(ecode1
)) {
4800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4802 arg1
= static_cast< int >(val1
);
4803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4804 if (!SWIG_IsOK(res2
)) {
4805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4807 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4808 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4809 if (!SWIG_IsOK(res3
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4812 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4813 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4814 if (!SWIG_IsOK(res4
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4817 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4819 if (!wxPyCheckForApp()) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4832 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4833 PyObject
*resultobj
= 0;
4834 wxPalette
*arg1
= (wxPalette
*) 0 ;
4837 PyObject
*swig_obj
[1] ;
4839 if (!args
) SWIG_fail
;
4841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4842 if (!SWIG_IsOK(res1
)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4845 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_Py_Void();
4860 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
= 0;
4862 wxPalette
*arg1
= (wxPalette
*) 0 ;
4869 unsigned char val2
;
4871 unsigned char val3
;
4873 unsigned char val4
;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4877 PyObject
* obj2
= 0 ;
4878 PyObject
* obj3
= 0 ;
4879 char * kwnames
[] = {
4880 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4885 if (!SWIG_IsOK(res1
)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4888 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4889 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4890 if (!SWIG_IsOK(ecode2
)) {
4891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4893 arg2
= static_cast< byte
>(val2
);
4894 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4895 if (!SWIG_IsOK(ecode3
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4898 arg3
= static_cast< byte
>(val3
);
4899 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4900 if (!SWIG_IsOK(ecode4
)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4903 arg4
= static_cast< byte
>(val4
);
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_From_int(static_cast< int >(result
));
4917 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
= 0;
4919 wxPalette
*arg1
= (wxPalette
*) 0 ;
4921 byte
*arg3
= (byte
*) 0 ;
4922 byte
*arg4
= (byte
*) 0 ;
4923 byte
*arg5
= (byte
*) 0 ;
4930 int res3
= SWIG_TMPOBJ
;
4932 int res4
= SWIG_TMPOBJ
;
4934 int res5
= SWIG_TMPOBJ
;
4935 PyObject
* obj0
= 0 ;
4936 PyObject
* obj1
= 0 ;
4937 char * kwnames
[] = {
4938 (char *) "self",(char *) "pixel", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4949 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4951 if (!SWIG_IsOK(ecode2
)) {
4952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4954 arg2
= static_cast< int >(val2
);
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4964 if (SWIG_IsTmpObj(res3
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4967 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4970 if (SWIG_IsTmpObj(res4
)) {
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4973 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4976 if (SWIG_IsTmpObj(res5
)) {
4977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4979 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4988 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4989 PyObject
*resultobj
= 0;
4990 wxPalette
*arg1
= (wxPalette
*) 0 ;
4994 PyObject
*swig_obj
[1] ;
4996 if (!args
) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5002 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_From_int(static_cast< int >(result
));
5016 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5017 PyObject
*resultobj
= 0;
5018 wxPalette
*arg1
= (wxPalette
*) 0 ;
5022 PyObject
*swig_obj
[1] ;
5024 if (!args
) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5030 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (bool)(arg1
)->IsOk();
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5046 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5049 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5050 return SWIG_Py_Void();
5053 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5054 return SWIG_Python_InitShadowInstance(args
);
5057 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
= 0;
5059 wxColour
*arg1
= 0 ;
5060 int arg2
= (int) 1 ;
5061 int arg3
= (int) wxSOLID
;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 PyObject
* obj2
= 0 ;
5071 char * kwnames
[] = {
5072 (char *) "colour",(char *) "width",(char *) "style", NULL
5075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5078 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5082 if (!SWIG_IsOK(ecode2
)) {
5083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5085 arg2
= static_cast< int >(val2
);
5088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5089 if (!SWIG_IsOK(ecode3
)) {
5090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5092 arg3
= static_cast< int >(val3
);
5095 if (!wxPyCheckForApp()) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5108 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5110 wxPen
*arg1
= (wxPen
*) 0 ;
5113 PyObject
*swig_obj
[1] ;
5115 if (!args
) SWIG_fail
;
5117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5118 if (!SWIG_IsOK(res1
)) {
5119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5121 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= SWIG_Py_Void();
5136 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5137 PyObject
*resultobj
= 0;
5138 wxPen
*arg1
= (wxPen
*) 0 ;
5142 PyObject
*swig_obj
[1] ;
5144 if (!args
) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5150 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 result
= (int)(arg1
)->GetCap();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_From_int(static_cast< int >(result
));
5164 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5165 PyObject
*resultobj
= 0;
5166 wxPen
*arg1
= (wxPen
*) 0 ;
5170 PyObject
*swig_obj
[1] ;
5172 if (!args
) SWIG_fail
;
5174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5175 if (!SWIG_IsOK(res1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5178 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (arg1
)->GetColour();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5192 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5193 PyObject
*resultobj
= 0;
5194 wxPen
*arg1
= (wxPen
*) 0 ;
5198 PyObject
*swig_obj
[1] ;
5200 if (!args
) SWIG_fail
;
5202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5203 if (!SWIG_IsOK(res1
)) {
5204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5206 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (int)(arg1
)->GetJoin();
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5213 resultobj
= SWIG_From_int(static_cast< int >(result
));
5220 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5221 PyObject
*resultobj
= 0;
5222 wxPen
*arg1
= (wxPen
*) 0 ;
5226 PyObject
*swig_obj
[1] ;
5228 if (!args
) SWIG_fail
;
5230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5231 if (!SWIG_IsOK(res1
)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5234 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (int)(arg1
)->GetStyle();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_From_int(static_cast< int >(result
));
5248 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5249 PyObject
*resultobj
= 0;
5250 wxPen
*arg1
= (wxPen
*) 0 ;
5254 PyObject
*swig_obj
[1] ;
5256 if (!args
) SWIG_fail
;
5258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5259 if (!SWIG_IsOK(res1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5262 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 result
= (int)(arg1
)->GetWidth();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_From_int(static_cast< int >(result
));
5276 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5277 PyObject
*resultobj
= 0;
5278 wxPen
*arg1
= (wxPen
*) 0 ;
5282 PyObject
*swig_obj
[1] ;
5284 if (!args
) SWIG_fail
;
5286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5287 if (!SWIG_IsOK(res1
)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5290 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (bool)(arg1
)->IsOk();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5306 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
= 0;
5308 wxPen
*arg1
= (wxPen
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5316 char * kwnames
[] = {
5317 (char *) "self",(char *) "cap_style", NULL
5320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5322 if (!SWIG_IsOK(res1
)) {
5323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5325 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5327 if (!SWIG_IsOK(ecode2
)) {
5328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5330 arg2
= static_cast< int >(val2
);
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 (arg1
)->SetCap(arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_Py_Void();
5344 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
= 0;
5346 wxPen
*arg1
= (wxPen
*) 0 ;
5347 wxColour
*arg2
= 0 ;
5351 PyObject
* obj0
= 0 ;
5352 PyObject
* obj1
= 0 ;
5353 char * kwnames
[] = {
5354 (char *) "self",(char *) "colour", NULL
5357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5359 if (!SWIG_IsOK(res1
)) {
5360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5362 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 (arg1
)->SetColour(*arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= SWIG_Py_Void();
5380 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
= 0;
5382 wxPen
*arg1
= (wxPen
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5390 char * kwnames
[] = {
5391 (char *) "self",(char *) "join_style", NULL
5394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5396 if (!SWIG_IsOK(res1
)) {
5397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5399 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5401 if (!SWIG_IsOK(ecode2
)) {
5402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5404 arg2
= static_cast< int >(val2
);
5406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 (arg1
)->SetJoin(arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_Py_Void();
5418 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= 0;
5420 wxPen
*arg1
= (wxPen
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "self",(char *) "style", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5434 if (!SWIG_IsOK(res1
)) {
5435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5437 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5439 if (!SWIG_IsOK(ecode2
)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5442 arg2
= static_cast< int >(val2
);
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->SetStyle(arg2
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) SWIG_fail
;
5449 resultobj
= SWIG_Py_Void();
5456 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
= 0;
5458 wxPen
*arg1
= (wxPen
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5465 PyObject
* obj1
= 0 ;
5466 char * kwnames
[] = {
5467 (char *) "self",(char *) "width", NULL
5470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5472 if (!SWIG_IsOK(res1
)) {
5473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5475 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5477 if (!SWIG_IsOK(ecode2
)) {
5478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5480 arg2
= static_cast< int >(val2
);
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 (arg1
)->SetWidth(arg2
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= SWIG_Py_Void();
5494 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
*resultobj
= 0;
5496 wxPen
*arg1
= (wxPen
*) 0 ;
5498 wxDash
*arg3
= (wxDash
*) 0 ;
5501 PyObject
* obj0
= 0 ;
5502 PyObject
* obj1
= 0 ;
5503 char * kwnames
[] = {
5504 (char *) "self",(char *) "dashes", NULL
5507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5509 if (!SWIG_IsOK(res1
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5512 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5514 arg2
= PyList_Size(obj1
);
5515 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5516 if (arg3
== NULL
) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 (arg1
)->SetDashes(arg2
,arg3
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= SWIG_Py_Void();
5526 if (arg3
) delete [] arg3
;
5531 if (arg3
) delete [] arg3
;
5537 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5538 PyObject
*resultobj
= 0;
5539 wxPen
*arg1
= (wxPen
*) 0 ;
5540 PyObject
*result
= 0 ;
5543 PyObject
*swig_obj
[1] ;
5545 if (!args
) SWIG_fail
;
5547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5548 if (!SWIG_IsOK(res1
)) {
5549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5551 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5565 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
= 0;
5567 wxPen
*arg1
= (wxPen
*) 0 ;
5568 PyObject
*arg2
= (PyObject
*) 0 ;
5569 PyObject
*arg3
= (PyObject
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5574 PyObject
* obj2
= 0 ;
5575 char * kwnames
[] = {
5576 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5584 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 wxPen__SetDashes(arg1
,arg2
,arg3
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_Py_Void();
5600 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5601 PyObject
*resultobj
= 0;
5602 wxPen
*arg1
= (wxPen
*) 0 ;
5606 PyObject
*swig_obj
[1] ;
5608 if (!args
) SWIG_fail
;
5610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5611 if (!SWIG_IsOK(res1
)) {
5612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5614 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= SWIG_From_int(static_cast< int >(result
));
5628 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
= 0;
5630 wxPen
*arg1
= (wxPen
*) 0 ;
5631 wxPen
*arg2
= (wxPen
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5639 char * kwnames
[] = {
5640 (char *) "self",(char *) "other", NULL
5643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5645 if (!SWIG_IsOK(res1
)) {
5646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5648 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5650 if (!SWIG_IsOK(res2
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5653 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5669 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
= 0;
5671 wxPen
*arg1
= (wxPen
*) 0 ;
5672 wxPen
*arg2
= (wxPen
*) 0 ;
5678 PyObject
* obj0
= 0 ;
5679 PyObject
* obj1
= 0 ;
5680 char * kwnames
[] = {
5681 (char *) "self",(char *) "other", NULL
5684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5689 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5691 if (!SWIG_IsOK(res2
)) {
5692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5694 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5710 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5714 return SWIG_Py_Void();
5717 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5718 return SWIG_Python_InitShadowInstance(args
);
5721 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= 0;
5723 wxColour
*arg1
= 0 ;
5724 int arg2
= (int) wxSOLID
;
5725 wxBrush
*result
= 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 char * kwnames
[] = {
5732 (char *) "colour",(char *) "style", NULL
5735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5738 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5742 if (!SWIG_IsOK(ecode2
)) {
5743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5745 arg2
= static_cast< int >(val2
);
5748 if (!wxPyCheckForApp()) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5761 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
= 0;
5763 wxBitmap
*arg1
= 0 ;
5764 wxBrush
*result
= 0 ;
5767 PyObject
* obj0
= 0 ;
5768 char * kwnames
[] = {
5769 (char *) "stippleBitmap", NULL
5772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5773 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5774 if (!SWIG_IsOK(res1
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5780 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5782 if (!wxPyCheckForApp()) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5795 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxBrush
*arg1
= (wxBrush
*) 0 ;
5800 PyObject
*swig_obj
[1] ;
5802 if (!args
) SWIG_fail
;
5804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5805 if (!SWIG_IsOK(res1
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5808 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= SWIG_Py_Void();
5823 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
= 0;
5825 wxBrush
*arg1
= (wxBrush
*) 0 ;
5826 wxColour
*arg2
= 0 ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5832 char * kwnames
[] = {
5833 (char *) "self",(char *) "col", NULL
5836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5838 if (!SWIG_IsOK(res1
)) {
5839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5841 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 (arg1
)->SetColour((wxColour
const &)*arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= SWIG_Py_Void();
5859 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
= 0;
5861 wxBrush
*arg1
= (wxBrush
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5868 PyObject
* obj1
= 0 ;
5869 char * kwnames
[] = {
5870 (char *) "self",(char *) "style", NULL
5873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5875 if (!SWIG_IsOK(res1
)) {
5876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5878 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5880 if (!SWIG_IsOK(ecode2
)) {
5881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5883 arg2
= static_cast< int >(val2
);
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 (arg1
)->SetStyle(arg2
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_Py_Void();
5897 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
= 0;
5899 wxBrush
*arg1
= (wxBrush
*) 0 ;
5900 wxBitmap
*arg2
= 0 ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5907 char * kwnames
[] = {
5908 (char *) "self",(char *) "stipple", NULL
5911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5916 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5918 if (!SWIG_IsOK(res2
)) {
5919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5924 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5927 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= SWIG_Py_Void();
5938 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5939 PyObject
*resultobj
= 0;
5940 wxBrush
*arg1
= (wxBrush
*) 0 ;
5944 PyObject
*swig_obj
[1] ;
5946 if (!args
) SWIG_fail
;
5948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5949 if (!SWIG_IsOK(res1
)) {
5950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5952 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= ((wxBrush
const *)arg1
)->GetColour();
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5966 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5967 PyObject
*resultobj
= 0;
5968 wxBrush
*arg1
= (wxBrush
*) 0 ;
5972 PyObject
*swig_obj
[1] ;
5974 if (!args
) SWIG_fail
;
5976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5977 if (!SWIG_IsOK(res1
)) {
5978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5980 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_From_int(static_cast< int >(result
));
5994 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5995 PyObject
*resultobj
= 0;
5996 wxBrush
*arg1
= (wxBrush
*) 0 ;
5997 wxBitmap
*result
= 0 ;
6000 PyObject
*swig_obj
[1] ;
6002 if (!args
) SWIG_fail
;
6004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6005 if (!SWIG_IsOK(res1
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6008 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6022 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxBrush
*arg1
= (wxBrush
*) 0 ;
6028 PyObject
*swig_obj
[1] ;
6030 if (!args
) SWIG_fail
;
6032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6033 if (!SWIG_IsOK(res1
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6036 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6052 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6053 PyObject
*resultobj
= 0;
6054 wxBrush
*arg1
= (wxBrush
*) 0 ;
6058 PyObject
*swig_obj
[1] ;
6060 if (!args
) SWIG_fail
;
6062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6063 if (!SWIG_IsOK(res1
)) {
6064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6066 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (bool)(arg1
)->IsOk();
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6082 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6085 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6086 return SWIG_Py_Void();
6089 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6090 return SWIG_Python_InitShadowInstance(args
);
6093 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
= 0;
6095 wxString
*arg1
= 0 ;
6096 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6097 wxBitmap
*result
= 0 ;
6098 bool temp1
= false ;
6101 PyObject
* obj0
= 0 ;
6102 PyObject
* obj1
= 0 ;
6103 char * kwnames
[] = {
6104 (char *) "name",(char *) "type", NULL
6107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6109 arg1
= wxString_in_helper(obj0
);
6110 if (arg1
== NULL
) SWIG_fail
;
6114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6115 if (!SWIG_IsOK(ecode2
)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6118 arg2
= static_cast< wxBitmapType
>(val2
);
6121 if (!wxPyCheckForApp()) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6142 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6143 PyObject
*resultobj
= 0;
6144 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6147 PyObject
*swig_obj
[1] ;
6149 if (!args
) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6155 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_Py_Void();
6168 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
= 0;
6172 int arg3
= (int) -1 ;
6173 wxBitmap
*result
= 0 ;
6180 PyObject
* obj0
= 0 ;
6181 PyObject
* obj1
= 0 ;
6182 PyObject
* obj2
= 0 ;
6183 char * kwnames
[] = {
6184 (char *) "width",(char *) "height",(char *) "depth", NULL
6187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6189 if (!SWIG_IsOK(ecode1
)) {
6190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6192 arg1
= static_cast< int >(val1
);
6193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6194 if (!SWIG_IsOK(ecode2
)) {
6195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6197 arg2
= static_cast< int >(val2
);
6199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6200 if (!SWIG_IsOK(ecode3
)) {
6201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6203 arg3
= static_cast< int >(val3
);
6206 if (!wxPyCheckForApp()) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6219 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
= 0;
6222 wxBitmap
*result
= 0 ;
6225 PyObject
* obj0
= 0 ;
6226 char * kwnames
[] = {
6227 (char *) "icon", NULL
6230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6231 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6232 if (!SWIG_IsOK(res1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6238 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6240 if (!wxPyCheckForApp()) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6253 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
= 0;
6256 int arg2
= (int) -1 ;
6257 wxBitmap
*result
= 0 ;
6262 PyObject
* obj0
= 0 ;
6263 PyObject
* obj1
= 0 ;
6264 char * kwnames
[] = {
6265 (char *) "image",(char *) "depth", NULL
6268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6269 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6270 if (!SWIG_IsOK(res1
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6276 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6279 if (!SWIG_IsOK(ecode2
)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6282 arg2
= static_cast< int >(val2
);
6285 if (!wxPyCheckForApp()) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6298 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
= 0;
6300 PyObject
*arg1
= (PyObject
*) 0 ;
6301 wxBitmap
*result
= 0 ;
6302 PyObject
* obj0
= 0 ;
6303 char * kwnames
[] = {
6304 (char *) "listOfStrings", NULL
6307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6310 if (!wxPyCheckForApp()) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6323 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
= 0;
6325 PyObject
*arg1
= (PyObject
*) 0 ;
6328 int arg4
= (int) 1 ;
6329 wxBitmap
*result
= 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6339 PyObject
* obj3
= 0 ;
6340 char * kwnames
[] = {
6341 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6347 if (!SWIG_IsOK(ecode2
)) {
6348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6350 arg2
= static_cast< int >(val2
);
6351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6352 if (!SWIG_IsOK(ecode3
)) {
6353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6355 arg3
= static_cast< int >(val3
);
6357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6358 if (!SWIG_IsOK(ecode4
)) {
6359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6361 arg4
= static_cast< int >(val4
);
6364 if (!wxPyCheckForApp()) SWIG_fail
;
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6377 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6378 PyObject
*resultobj
= 0;
6379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6383 PyObject
*swig_obj
[1] ;
6385 if (!args
) SWIG_fail
;
6387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6388 if (!SWIG_IsOK(res1
)) {
6389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6391 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6393 result
= (bool)(arg1
)->IsOk();
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6406 PyObject
*resultobj
= 0;
6407 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6411 PyObject
*swig_obj
[1] ;
6413 if (!args
) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6419 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6421 result
= (int)(arg1
)->GetWidth();
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= SWIG_From_int(static_cast< int >(result
));
6431 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6432 PyObject
*resultobj
= 0;
6433 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6437 PyObject
*swig_obj
[1] ;
6439 if (!args
) SWIG_fail
;
6441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6442 if (!SWIG_IsOK(res1
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6445 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6447 result
= (int)(arg1
)->GetHeight();
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 resultobj
= SWIG_From_int(static_cast< int >(result
));
6457 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6458 PyObject
*resultobj
= 0;
6459 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6463 PyObject
*swig_obj
[1] ;
6465 if (!args
) SWIG_fail
;
6467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6468 if (!SWIG_IsOK(res1
)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6471 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6473 result
= (int)(arg1
)->GetDepth();
6474 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= SWIG_From_int(static_cast< int >(result
));
6483 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6484 PyObject
*resultobj
= 0;
6485 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6489 PyObject
*swig_obj
[1] ;
6491 if (!args
) SWIG_fail
;
6493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6494 if (!SWIG_IsOK(res1
)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6497 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6499 result
= wxBitmap_GetSize(arg1
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6509 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6510 PyObject
*resultobj
= 0;
6511 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6512 SwigValueWrapper
<wxImage
> result
;
6515 PyObject
*swig_obj
[1] ;
6517 if (!args
) SWIG_fail
;
6519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6520 if (!SWIG_IsOK(res1
)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6523 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6525 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6535 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6536 PyObject
*resultobj
= 0;
6537 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6538 wxMask
*result
= 0 ;
6541 PyObject
*swig_obj
[1] ;
6543 if (!args
) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6549 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6551 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6561 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= 0;
6563 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6564 wxMask
*arg2
= (wxMask
*) 0 ;
6568 PyObject
* obj0
= 0 ;
6569 PyObject
* obj1
= 0 ;
6570 char * kwnames
[] = {
6571 (char *) "self",(char *) "mask", NULL
6574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6576 if (!SWIG_IsOK(res1
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6579 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6580 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6581 if (!SWIG_IsOK(res2
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6585 (arg1
)->SetMask(arg2
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_Py_Void();
6595 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
= 0;
6597 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6598 wxColour
*arg2
= 0 ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6604 char * kwnames
[] = {
6605 (char *) "self",(char *) "colour", NULL
6608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6610 if (!SWIG_IsOK(res1
)) {
6611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6613 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6619 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= SWIG_Py_Void();
6629 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
= 0;
6631 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6633 SwigValueWrapper
<wxBitmap
> result
;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 char * kwnames
[] = {
6640 (char *) "self",(char *) "rect", NULL
6643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6645 if (!SWIG_IsOK(res1
)) {
6646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6648 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6651 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6654 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6664 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
= 0;
6666 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6667 wxString
*arg2
= 0 ;
6669 wxPalette
*arg4
= (wxPalette
*) NULL
;
6673 bool temp2
= false ;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6680 PyObject
* obj2
= 0 ;
6681 PyObject
* obj3
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6691 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6693 arg2
= wxString_in_helper(obj1
);
6694 if (arg2
== NULL
) SWIG_fail
;
6697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6698 if (!SWIG_IsOK(ecode3
)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6701 arg3
= static_cast< wxBitmapType
>(val3
);
6703 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6704 if (!SWIG_IsOK(res4
)) {
6705 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6707 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6710 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6730 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
= 0;
6732 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6733 wxString
*arg2
= 0 ;
6738 bool temp2
= false ;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6743 PyObject
* obj2
= 0 ;
6744 char * kwnames
[] = {
6745 (char *) "self",(char *) "name",(char *) "type", NULL
6748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6750 if (!SWIG_IsOK(res1
)) {
6751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6753 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6755 arg2
= wxString_in_helper(obj1
);
6756 if (arg2
== NULL
) SWIG_fail
;
6759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6760 if (!SWIG_IsOK(ecode3
)) {
6761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6763 arg3
= static_cast< wxBitmapType
>(val3
);
6765 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6785 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6786 PyObject
*resultobj
= 0;
6787 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6788 wxPalette
*result
= 0 ;
6791 PyObject
*swig_obj
[1] ;
6793 if (!args
) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6799 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6801 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6811 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
= 0;
6813 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6820 PyObject
* obj0
= 0 ;
6821 PyObject
* obj1
= 0 ;
6822 char * kwnames
[] = {
6823 (char *) "self",(char *) "icon", NULL
6826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6828 if (!SWIG_IsOK(res1
)) {
6829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6831 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6833 if (!SWIG_IsOK(res2
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6839 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6841 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6853 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
= 0;
6855 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6862 PyObject
* obj1
= 0 ;
6863 char * kwnames
[] = {
6864 (char *) "self",(char *) "height", NULL
6867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6869 if (!SWIG_IsOK(res1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6874 if (!SWIG_IsOK(ecode2
)) {
6875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6877 arg2
= static_cast< int >(val2
);
6879 (arg1
)->SetHeight(arg2
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_Py_Void();
6889 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6891 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6898 PyObject
* obj1
= 0 ;
6899 char * kwnames
[] = {
6900 (char *) "self",(char *) "width", NULL
6903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6905 if (!SWIG_IsOK(res1
)) {
6906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6908 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6910 if (!SWIG_IsOK(ecode2
)) {
6911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6913 arg2
= static_cast< int >(val2
);
6915 (arg1
)->SetWidth(arg2
);
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_Py_Void();
6925 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
= 0;
6927 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 char * kwnames
[] = {
6936 (char *) "self",(char *) "depth", NULL
6939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6944 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6946 if (!SWIG_IsOK(ecode2
)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6949 arg2
= static_cast< int >(val2
);
6951 (arg1
)->SetDepth(arg2
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= SWIG_Py_Void();
6961 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6962 PyObject
*resultobj
= 0;
6963 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6968 PyObject
* obj0
= 0 ;
6969 PyObject
* obj1
= 0 ;
6970 char * kwnames
[] = {
6971 (char *) "self",(char *) "size", NULL
6974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6976 if (!SWIG_IsOK(res1
)) {
6977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6979 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6982 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6985 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_Py_Void();
6995 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
= 0;
6997 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7005 char * kwnames
[] = {
7006 (char *) "self",(char *) "data", NULL
7009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7011 if (!SWIG_IsOK(res1
)) {
7012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7014 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7016 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7020 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 resultobj
= SWIG_Py_Void();
7030 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
= 0;
7032 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7038 PyObject
* obj0
= 0 ;
7039 PyObject
* obj1
= 0 ;
7040 char * kwnames
[] = {
7041 (char *) "self",(char *) "data", NULL
7044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7046 if (!SWIG_IsOK(res1
)) {
7047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7049 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7051 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7055 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_Py_Void();
7065 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
= 0;
7067 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7068 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7076 char * kwnames
[] = {
7077 (char *) "self",(char *) "other", NULL
7080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7082 if (!SWIG_IsOK(res1
)) {
7083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7085 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7087 if (!SWIG_IsOK(res2
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7090 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7092 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7104 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= 0;
7106 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7107 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 char * kwnames
[] = {
7116 (char *) "self",(char *) "other", NULL
7119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7121 if (!SWIG_IsOK(res1
)) {
7122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7124 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7126 if (!SWIG_IsOK(res2
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7129 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7131 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7143 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7146 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7147 return SWIG_Py_Void();
7150 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7151 return SWIG_Python_InitShadowInstance(args
);
7154 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
= 0;
7162 wxBitmap
*result
= 0 ;
7169 PyObject
* obj0
= 0 ;
7170 PyObject
* obj1
= 0 ;
7171 PyObject
* obj2
= 0 ;
7172 PyObject
* obj3
= 0 ;
7173 char * kwnames
[] = {
7174 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7179 if (!SWIG_IsOK(ecode1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7182 arg1
= static_cast< int >(val1
);
7183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7184 if (!SWIG_IsOK(ecode2
)) {
7185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7187 arg2
= static_cast< int >(val2
);
7189 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7193 if (obj3
!= Py_None
) {
7194 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7199 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7209 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
= 0;
7215 wxBitmap
*result
= 0 ;
7221 PyObject
* obj0
= 0 ;
7222 PyObject
* obj1
= 0 ;
7223 PyObject
* obj2
= 0 ;
7224 char * kwnames
[] = {
7225 (char *) "width",(char *) "height",(char *) "data", NULL
7228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7230 if (!SWIG_IsOK(ecode1
)) {
7231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7233 arg1
= static_cast< int >(val1
);
7234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7235 if (!SWIG_IsOK(ecode2
)) {
7236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7238 arg2
= static_cast< int >(val2
);
7240 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7244 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7254 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
= 0;
7260 wxBitmap
*result
= 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7268 PyObject
* obj2
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "width",(char *) "height",(char *) "data", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7275 if (!SWIG_IsOK(ecode1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7278 arg1
= static_cast< int >(val1
);
7279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7280 if (!SWIG_IsOK(ecode2
)) {
7281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7283 arg2
= static_cast< int >(val2
);
7285 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7289 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7299 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7300 PyObject
*resultobj
= 0;
7301 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7305 PyObject
*swig_obj
[1] ;
7307 if (!args
) SWIG_fail
;
7309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7310 if (!SWIG_IsOK(res1
)) {
7311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7313 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7315 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7325 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7326 PyObject
*resultobj
= 0;
7327 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7331 PyObject
*swig_obj
[1] ;
7333 if (!args
) SWIG_fail
;
7335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7336 if (!SWIG_IsOK(res1
)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7339 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7341 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= SWIG_From_int(static_cast< int >(result
));
7351 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 PyObject
*resultobj
= 0;
7353 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7357 PyObject
*swig_obj
[1] ;
7359 if (!args
) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7365 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7367 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_From_int(static_cast< int >(result
));
7377 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7378 PyObject
*resultobj
= 0;
7379 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7383 PyObject
*swig_obj
[1] ;
7385 if (!args
) SWIG_fail
;
7387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7388 if (!SWIG_IsOK(res1
)) {
7389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7391 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7393 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7403 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7404 PyObject
*resultobj
= 0;
7405 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7409 PyObject
*swig_obj
[1] ;
7411 if (!args
) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7417 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7419 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= SWIG_From_int(static_cast< int >(result
));
7429 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7432 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7433 return SWIG_Py_Void();
7436 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7437 PyObject
*resultobj
= 0;
7438 wxBitmap
*arg1
= 0 ;
7439 wxNativePixelData
*result
= 0 ;
7443 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7445 if (!SWIG_IsOK(res1
)) {
7446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7451 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7453 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7463 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7464 PyObject
*resultobj
= 0;
7465 wxBitmap
*arg1
= 0 ;
7467 wxNativePixelData
*result
= 0 ;
7472 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7474 if (!SWIG_IsOK(res1
)) {
7475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7480 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7483 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7486 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7496 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7497 PyObject
*resultobj
= 0;
7498 wxBitmap
*arg1
= 0 ;
7501 wxNativePixelData
*result
= 0 ;
7507 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7509 if (!SWIG_IsOK(res1
)) {
7510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7515 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7518 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7522 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7525 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7535 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7539 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7542 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7545 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7548 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7552 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7557 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7558 PyObject
*resultobj
= 0;
7559 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7562 PyObject
*swig_obj
[1] ;
7564 if (!args
) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7570 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_Py_Void();
7583 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7584 PyObject
*resultobj
= 0;
7585 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7586 wxNativePixelData_Accessor result
;
7589 PyObject
*swig_obj
[1] ;
7591 if (!args
) SWIG_fail
;
7593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7594 if (!SWIG_IsOK(res1
)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7597 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7599 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7609 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7610 PyObject
*resultobj
= 0;
7611 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7622 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_Py_Void();
7634 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7635 PyObject
*resultobj
= 0;
7636 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7640 PyObject
*swig_obj
[1] ;
7642 if (!args
) SWIG_fail
;
7644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7645 if (!SWIG_IsOK(res1
)) {
7646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7648 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7650 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7662 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7665 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7666 return SWIG_Py_Void();
7669 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7670 return SWIG_Python_InitShadowInstance(args
);
7673 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7674 PyObject
*resultobj
= 0;
7675 wxNativePixelData
*arg1
= 0 ;
7676 wxNativePixelData_Accessor
*result
= 0 ;
7680 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7682 if (!SWIG_IsOK(res1
)) {
7683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7688 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7690 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7700 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7701 PyObject
*resultobj
= 0;
7702 wxBitmap
*arg1
= 0 ;
7703 wxNativePixelData
*arg2
= 0 ;
7704 wxNativePixelData_Accessor
*result
= 0 ;
7710 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7712 if (!SWIG_IsOK(res1
)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7718 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7719 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7720 if (!SWIG_IsOK(res2
)) {
7721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7726 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7728 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7738 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7739 PyObject
*resultobj
= 0;
7740 wxNativePixelData_Accessor
*result
= 0 ;
7742 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7744 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7754 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7758 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7761 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7764 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7767 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7771 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7776 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7777 PyObject
*resultobj
= 0;
7778 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7781 PyObject
*swig_obj
[1] ;
7783 if (!args
) SWIG_fail
;
7785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7786 if (!SWIG_IsOK(res1
)) {
7787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7789 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_Py_Void();
7802 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
= 0;
7804 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7805 wxNativePixelData
*arg2
= 0 ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 char * kwnames
[] = {
7813 (char *) "self",(char *) "data", NULL
7816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7818 if (!SWIG_IsOK(res1
)) {
7819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7821 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7823 if (!SWIG_IsOK(res2
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7829 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7831 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_Py_Void();
7841 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7842 PyObject
*resultobj
= 0;
7843 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7847 PyObject
*swig_obj
[1] ;
7849 if (!args
) SWIG_fail
;
7851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7852 if (!SWIG_IsOK(res1
)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7855 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7857 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7869 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7870 PyObject
*resultobj
= 0;
7871 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7874 PyObject
*swig_obj
[1] ;
7876 if (!args
) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7882 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7884 wxNativePixelData_Accessor_nextPixel(arg1
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_Py_Void();
7894 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
= 0;
7896 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7897 wxNativePixelData
*arg2
= 0 ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7911 PyObject
* obj3
= 0 ;
7912 char * kwnames
[] = {
7913 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7918 if (!SWIG_IsOK(res1
)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7921 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7923 if (!SWIG_IsOK(res2
)) {
7924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7929 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7931 if (!SWIG_IsOK(ecode3
)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7934 arg3
= static_cast< int >(val3
);
7935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7936 if (!SWIG_IsOK(ecode4
)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7939 arg4
= static_cast< int >(val4
);
7941 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7944 resultobj
= SWIG_Py_Void();
7951 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
= 0;
7953 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7954 wxNativePixelData
*arg2
= 0 ;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj1
= 0 ;
7964 PyObject
* obj2
= 0 ;
7965 char * kwnames
[] = {
7966 (char *) "self",(char *) "data",(char *) "x", NULL
7969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7971 if (!SWIG_IsOK(res1
)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7974 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7976 if (!SWIG_IsOK(res2
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7982 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7984 if (!SWIG_IsOK(ecode3
)) {
7985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7987 arg3
= static_cast< int >(val3
);
7989 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_Py_Void();
7999 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
= 0;
8001 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8002 wxNativePixelData
*arg2
= 0 ;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8012 PyObject
* obj2
= 0 ;
8013 char * kwnames
[] = {
8014 (char *) "self",(char *) "data",(char *) "y", NULL
8017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8019 if (!SWIG_IsOK(res1
)) {
8020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8022 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8023 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8024 if (!SWIG_IsOK(res2
)) {
8025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8030 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8032 if (!SWIG_IsOK(ecode3
)) {
8033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8035 arg3
= static_cast< int >(val3
);
8037 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_Py_Void();
8047 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
= 0;
8049 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8050 wxNativePixelData
*arg2
= 0 ;
8061 PyObject
* obj0
= 0 ;
8062 PyObject
* obj1
= 0 ;
8063 PyObject
* obj2
= 0 ;
8064 PyObject
* obj3
= 0 ;
8065 char * kwnames
[] = {
8066 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8071 if (!SWIG_IsOK(res1
)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8074 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8076 if (!SWIG_IsOK(res2
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8082 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8084 if (!SWIG_IsOK(ecode3
)) {
8085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8087 arg3
= static_cast< int >(val3
);
8088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8089 if (!SWIG_IsOK(ecode4
)) {
8090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8092 arg4
= static_cast< int >(val4
);
8094 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_Py_Void();
8104 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
= 0;
8106 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8112 unsigned char val2
;
8114 unsigned char val3
;
8116 unsigned char val4
;
8118 PyObject
* obj0
= 0 ;
8119 PyObject
* obj1
= 0 ;
8120 PyObject
* obj2
= 0 ;
8121 PyObject
* obj3
= 0 ;
8122 char * kwnames
[] = {
8123 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8128 if (!SWIG_IsOK(res1
)) {
8129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8131 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8132 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8133 if (!SWIG_IsOK(ecode2
)) {
8134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8136 arg2
= static_cast< byte
>(val2
);
8137 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8138 if (!SWIG_IsOK(ecode3
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8141 arg3
= static_cast< byte
>(val3
);
8142 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8143 if (!SWIG_IsOK(ecode4
)) {
8144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8146 arg4
= static_cast< byte
>(val4
);
8148 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_Py_Void();
8158 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8159 PyObject
*resultobj
= 0;
8160 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8161 PyObject
*result
= 0 ;
8164 PyObject
*swig_obj
[1] ;
8166 if (!args
) SWIG_fail
;
8168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8169 if (!SWIG_IsOK(res1
)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8172 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8174 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8184 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8187 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8188 return SWIG_Py_Void();
8191 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8192 return SWIG_Python_InitShadowInstance(args
);
8195 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8196 PyObject
*resultobj
= 0;
8197 wxBitmap
*arg1
= 0 ;
8198 wxAlphaPixelData
*result
= 0 ;
8202 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8204 if (!SWIG_IsOK(res1
)) {
8205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8210 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8212 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8222 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8223 PyObject
*resultobj
= 0;
8224 wxBitmap
*arg1
= 0 ;
8226 wxAlphaPixelData
*result
= 0 ;
8231 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8239 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8242 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8245 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8255 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8256 PyObject
*resultobj
= 0;
8257 wxBitmap
*arg1
= 0 ;
8260 wxAlphaPixelData
*result
= 0 ;
8266 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8268 if (!SWIG_IsOK(res1
)) {
8269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8274 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8277 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8281 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8284 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8294 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8298 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8301 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8304 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8307 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8311 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8316 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8317 PyObject
*resultobj
= 0;
8318 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8321 PyObject
*swig_obj
[1] ;
8323 if (!args
) SWIG_fail
;
8325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8326 if (!SWIG_IsOK(res1
)) {
8327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8329 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= SWIG_Py_Void();
8342 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8343 PyObject
*resultobj
= 0;
8344 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8345 wxAlphaPixelData_Accessor result
;
8348 PyObject
*swig_obj
[1] ;
8350 if (!args
) SWIG_fail
;
8352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8353 if (!SWIG_IsOK(res1
)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8356 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8358 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8368 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 PyObject
*resultobj
= 0;
8370 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8373 PyObject
*swig_obj
[1] ;
8375 if (!args
) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8381 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_Py_Void();
8393 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8394 PyObject
*resultobj
= 0;
8395 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8399 PyObject
*swig_obj
[1] ;
8401 if (!args
) SWIG_fail
;
8403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8404 if (!SWIG_IsOK(res1
)) {
8405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8407 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8409 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8421 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8424 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8425 return SWIG_Py_Void();
8428 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8429 return SWIG_Python_InitShadowInstance(args
);
8432 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8433 PyObject
*resultobj
= 0;
8434 wxAlphaPixelData
*arg1
= 0 ;
8435 wxAlphaPixelData_Accessor
*result
= 0 ;
8439 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8441 if (!SWIG_IsOK(res1
)) {
8442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8447 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8449 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8459 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8460 PyObject
*resultobj
= 0;
8461 wxBitmap
*arg1
= 0 ;
8462 wxAlphaPixelData
*arg2
= 0 ;
8463 wxAlphaPixelData_Accessor
*result
= 0 ;
8469 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8471 if (!SWIG_IsOK(res1
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8477 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8478 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8479 if (!SWIG_IsOK(res2
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8485 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8487 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8497 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8498 PyObject
*resultobj
= 0;
8499 wxAlphaPixelData_Accessor
*result
= 0 ;
8501 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8503 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8513 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8517 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8520 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8523 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8526 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8530 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8535 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8536 PyObject
*resultobj
= 0;
8537 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8540 PyObject
*swig_obj
[1] ;
8542 if (!args
) SWIG_fail
;
8544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8545 if (!SWIG_IsOK(res1
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8548 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_Py_Void();
8561 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
= 0;
8563 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8564 wxAlphaPixelData
*arg2
= 0 ;
8569 PyObject
* obj0
= 0 ;
8570 PyObject
* obj1
= 0 ;
8571 char * kwnames
[] = {
8572 (char *) "self",(char *) "data", NULL
8575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8577 if (!SWIG_IsOK(res1
)) {
8578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8580 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8582 if (!SWIG_IsOK(res2
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8588 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8590 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_Py_Void();
8600 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8601 PyObject
*resultobj
= 0;
8602 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8606 PyObject
*swig_obj
[1] ;
8608 if (!args
) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8614 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8616 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8628 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8629 PyObject
*resultobj
= 0;
8630 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8633 PyObject
*swig_obj
[1] ;
8635 if (!args
) SWIG_fail
;
8637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8638 if (!SWIG_IsOK(res1
)) {
8639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8641 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8643 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_Py_Void();
8653 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
= 0;
8655 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8656 wxAlphaPixelData
*arg2
= 0 ;
8667 PyObject
* obj0
= 0 ;
8668 PyObject
* obj1
= 0 ;
8669 PyObject
* obj2
= 0 ;
8670 PyObject
* obj3
= 0 ;
8671 char * kwnames
[] = {
8672 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8677 if (!SWIG_IsOK(res1
)) {
8678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8680 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8682 if (!SWIG_IsOK(res2
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8688 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8690 if (!SWIG_IsOK(ecode3
)) {
8691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8693 arg3
= static_cast< int >(val3
);
8694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8695 if (!SWIG_IsOK(ecode4
)) {
8696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8698 arg4
= static_cast< int >(val4
);
8700 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_Py_Void();
8710 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
= 0;
8712 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8713 wxAlphaPixelData
*arg2
= 0 ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8723 PyObject
* obj2
= 0 ;
8724 char * kwnames
[] = {
8725 (char *) "self",(char *) "data",(char *) "x", NULL
8728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8730 if (!SWIG_IsOK(res1
)) {
8731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8733 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8735 if (!SWIG_IsOK(res2
)) {
8736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8741 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8743 if (!SWIG_IsOK(ecode3
)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8746 arg3
= static_cast< int >(val3
);
8748 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_Py_Void();
8758 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
= 0;
8760 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8761 wxAlphaPixelData
*arg2
= 0 ;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8771 PyObject
* obj2
= 0 ;
8772 char * kwnames
[] = {
8773 (char *) "self",(char *) "data",(char *) "y", NULL
8776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8778 if (!SWIG_IsOK(res1
)) {
8779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8781 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8783 if (!SWIG_IsOK(res2
)) {
8784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8789 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8791 if (!SWIG_IsOK(ecode3
)) {
8792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8794 arg3
= static_cast< int >(val3
);
8796 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 resultobj
= SWIG_Py_Void();
8806 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
= 0;
8808 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8809 wxAlphaPixelData
*arg2
= 0 ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 char * kwnames
[] = {
8825 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8833 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8835 if (!SWIG_IsOK(res2
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8841 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8843 if (!SWIG_IsOK(ecode3
)) {
8844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8846 arg3
= static_cast< int >(val3
);
8847 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8848 if (!SWIG_IsOK(ecode4
)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8851 arg4
= static_cast< int >(val4
);
8853 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_Py_Void();
8863 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
= 0;
8865 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8872 unsigned char val2
;
8874 unsigned char val3
;
8876 unsigned char val4
;
8878 unsigned char val5
;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8883 PyObject
* obj3
= 0 ;
8884 PyObject
* obj4
= 0 ;
8885 char * kwnames
[] = {
8886 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8891 if (!SWIG_IsOK(res1
)) {
8892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8894 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8895 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8896 if (!SWIG_IsOK(ecode2
)) {
8897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8899 arg2
= static_cast< byte
>(val2
);
8900 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8901 if (!SWIG_IsOK(ecode3
)) {
8902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8904 arg3
= static_cast< byte
>(val3
);
8905 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8906 if (!SWIG_IsOK(ecode4
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8909 arg4
= static_cast< byte
>(val4
);
8910 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8911 if (!SWIG_IsOK(ecode5
)) {
8912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8914 arg5
= static_cast< byte
>(val5
);
8916 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 resultobj
= SWIG_Py_Void();
8926 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8927 PyObject
*resultobj
= 0;
8928 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8929 PyObject
*result
= 0 ;
8932 PyObject
*swig_obj
[1] ;
8934 if (!args
) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8940 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8942 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8952 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8955 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8956 return SWIG_Py_Void();
8959 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8960 return SWIG_Python_InitShadowInstance(args
);
8963 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
= 0;
8965 wxBitmap
*arg1
= 0 ;
8966 wxColour
const &arg2_defvalue
= wxNullColour
;
8967 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8968 wxMask
*result
= 0 ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8974 char * kwnames
[] = {
8975 (char *) "bitmap",(char *) "colour", NULL
8978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8979 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8980 if (!SWIG_IsOK(res1
)) {
8981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8986 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8990 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8994 if (!wxPyCheckForApp()) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9007 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9008 PyObject
*resultobj
= 0;
9009 wxMask
*arg1
= (wxMask
*) 0 ;
9012 PyObject
*swig_obj
[1] ;
9014 if (!args
) SWIG_fail
;
9016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9017 if (!SWIG_IsOK(res1
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9020 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= SWIG_Py_Void();
9033 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9036 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9037 return SWIG_Py_Void();
9040 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9041 return SWIG_Python_InitShadowInstance(args
);
9044 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
= 0;
9046 wxString
*arg1
= 0 ;
9048 int arg3
= (int) -1 ;
9049 int arg4
= (int) -1 ;
9050 wxIcon
*result
= 0 ;
9051 bool temp1
= false ;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9060 PyObject
* obj2
= 0 ;
9061 PyObject
* obj3
= 0 ;
9062 char * kwnames
[] = {
9063 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9068 arg1
= wxString_in_helper(obj0
);
9069 if (arg1
== NULL
) SWIG_fail
;
9072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9073 if (!SWIG_IsOK(ecode2
)) {
9074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9076 arg2
= static_cast< wxBitmapType
>(val2
);
9078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9079 if (!SWIG_IsOK(ecode3
)) {
9080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9082 arg3
= static_cast< int >(val3
);
9085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9086 if (!SWIG_IsOK(ecode4
)) {
9087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9089 arg4
= static_cast< int >(val4
);
9092 if (!wxPyCheckForApp()) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9113 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9114 PyObject
*resultobj
= 0;
9115 wxIcon
*arg1
= (wxIcon
*) 0 ;
9118 PyObject
*swig_obj
[1] ;
9120 if (!args
) SWIG_fail
;
9122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9123 if (!SWIG_IsOK(res1
)) {
9124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9126 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_Py_Void();
9141 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9142 PyObject
*resultobj
= 0;
9143 wxIcon
*result
= 0 ;
9145 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9147 if (!wxPyCheckForApp()) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (wxIcon
*)new wxIcon();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9160 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
= 0;
9162 wxIconLocation
*arg1
= 0 ;
9163 wxIcon
*result
= 0 ;
9166 PyObject
* obj0
= 0 ;
9167 char * kwnames
[] = {
9168 (char *) "loc", NULL
9171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9172 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9173 if (!SWIG_IsOK(res1
)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9179 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9181 if (!wxPyCheckForApp()) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9194 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
= 0;
9196 wxBitmap
*arg1
= 0 ;
9197 wxIcon
*result
= 0 ;
9200 PyObject
* obj0
= 0 ;
9201 char * kwnames
[] = {
9202 (char *) "bmp", NULL
9205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9206 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9207 if (!SWIG_IsOK(res1
)) {
9208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9213 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9215 if (!wxPyCheckForApp()) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9228 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
= 0;
9230 PyObject
*arg1
= (PyObject
*) 0 ;
9231 wxIcon
*result
= 0 ;
9232 PyObject
* obj0
= 0 ;
9233 char * kwnames
[] = {
9234 (char *) "listOfStrings", NULL
9237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9240 if (!wxPyCheckForApp()) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (wxIcon
*)new_wxIcon(arg1
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9253 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
= 0;
9255 wxIcon
*arg1
= (wxIcon
*) 0 ;
9256 wxString
*arg2
= 0 ;
9261 bool temp2
= false ;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9266 PyObject
* obj2
= 0 ;
9267 char * kwnames
[] = {
9268 (char *) "self",(char *) "name",(char *) "type", NULL
9271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9273 if (!SWIG_IsOK(res1
)) {
9274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9276 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9278 arg2
= wxString_in_helper(obj1
);
9279 if (arg2
== NULL
) SWIG_fail
;
9282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9283 if (!SWIG_IsOK(ecode3
)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9286 arg3
= static_cast< wxBitmapType
>(val3
);
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9310 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9311 PyObject
*resultobj
= 0;
9312 wxIcon
*arg1
= (wxIcon
*) 0 ;
9316 PyObject
*swig_obj
[1] ;
9318 if (!args
) SWIG_fail
;
9320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9321 if (!SWIG_IsOK(res1
)) {
9322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9324 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= (bool)(arg1
)->IsOk();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9340 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9341 PyObject
*resultobj
= 0;
9342 wxIcon
*arg1
= (wxIcon
*) 0 ;
9346 PyObject
*swig_obj
[1] ;
9348 if (!args
) SWIG_fail
;
9350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9351 if (!SWIG_IsOK(res1
)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9354 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (int)(arg1
)->GetWidth();
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 resultobj
= SWIG_From_int(static_cast< int >(result
));
9368 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9369 PyObject
*resultobj
= 0;
9370 wxIcon
*arg1
= (wxIcon
*) 0 ;
9374 PyObject
*swig_obj
[1] ;
9376 if (!args
) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9382 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (int)(arg1
)->GetHeight();
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_From_int(static_cast< int >(result
));
9396 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9397 PyObject
*resultobj
= 0;
9398 wxIcon
*arg1
= (wxIcon
*) 0 ;
9402 PyObject
*swig_obj
[1] ;
9404 if (!args
) SWIG_fail
;
9406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9407 if (!SWIG_IsOK(res1
)) {
9408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9410 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (int)(arg1
)->GetDepth();
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_From_int(static_cast< int >(result
));
9424 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
= 0;
9426 wxIcon
*arg1
= (wxIcon
*) 0 ;
9432 PyObject
* obj0
= 0 ;
9433 PyObject
* obj1
= 0 ;
9434 char * kwnames
[] = {
9435 (char *) "self",(char *) "w", NULL
9438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9443 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9445 if (!SWIG_IsOK(ecode2
)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9448 arg2
= static_cast< int >(val2
);
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 (arg1
)->SetWidth(arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= SWIG_Py_Void();
9462 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
= 0;
9464 wxIcon
*arg1
= (wxIcon
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9472 char * kwnames
[] = {
9473 (char *) "self",(char *) "h", NULL
9476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9478 if (!SWIG_IsOK(res1
)) {
9479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9481 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9483 if (!SWIG_IsOK(ecode2
)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9486 arg2
= static_cast< int >(val2
);
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->SetHeight(arg2
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_Py_Void();
9500 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
= 0;
9502 wxIcon
*arg1
= (wxIcon
*) 0 ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 char * kwnames
[] = {
9511 (char *) "self",(char *) "d", NULL
9514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9519 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9521 if (!SWIG_IsOK(ecode2
)) {
9522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9524 arg2
= static_cast< int >(val2
);
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 (arg1
)->SetDepth(arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_Py_Void();
9538 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
= 0;
9540 wxIcon
*arg1
= (wxIcon
*) 0 ;
9541 wxBitmap
*arg2
= 0 ;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9548 char * kwnames
[] = {
9549 (char *) "self",(char *) "bmp", NULL
9552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9554 if (!SWIG_IsOK(res1
)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9557 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9559 if (!SWIG_IsOK(res2
)) {
9560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9565 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_Py_Void();
9579 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9582 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9583 return SWIG_Py_Void();
9586 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9587 return SWIG_Python_InitShadowInstance(args
);
9590 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
= 0;
9592 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9593 int arg2
= (int) 0 ;
9594 wxIconLocation
*result
= 0 ;
9595 bool temp1
= false ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 char * kwnames
[] = {
9601 (char *) "filename",(char *) "num", NULL
9604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9607 arg1
= wxString_in_helper(obj0
);
9608 if (arg1
== NULL
) SWIG_fail
;
9613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9614 if (!SWIG_IsOK(ecode2
)) {
9615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9617 arg2
= static_cast< int >(val2
);
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9640 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9641 PyObject
*resultobj
= 0;
9642 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9645 PyObject
*swig_obj
[1] ;
9647 if (!args
) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9653 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_Py_Void();
9668 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9669 PyObject
*resultobj
= 0;
9670 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9682 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9698 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9701 wxString
*arg2
= 0 ;
9704 bool temp2
= false ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9707 char * kwnames
[] = {
9708 (char *) "self",(char *) "filename", NULL
9711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9716 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9718 arg2
= wxString_in_helper(obj1
);
9719 if (arg2
== NULL
) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->SetFileName((wxString
const &)*arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_Py_Void();
9743 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9744 PyObject
*resultobj
= 0;
9745 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9746 wxString
*result
= 0 ;
9749 PyObject
*swig_obj
[1] ;
9751 if (!args
) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9757 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9762 result
= (wxString
*) &_result_ref
;
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9771 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9780 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 char * kwnames
[] = {
9791 (char *) "self",(char *) "num", NULL
9794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9796 if (!SWIG_IsOK(res1
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9799 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9801 if (!SWIG_IsOK(ecode2
)) {
9802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9804 arg2
= static_cast< int >(val2
);
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 wxIconLocation_SetIndex(arg1
,arg2
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_Py_Void();
9818 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9819 PyObject
*resultobj
= 0;
9820 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9824 PyObject
*swig_obj
[1] ;
9826 if (!args
) SWIG_fail
;
9828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9829 if (!SWIG_IsOK(res1
)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9832 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (int)wxIconLocation_GetIndex(arg1
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_From_int(static_cast< int >(result
));
9846 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9849 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9850 return SWIG_Py_Void();
9853 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9854 return SWIG_Python_InitShadowInstance(args
);
9857 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9858 PyObject
*resultobj
= 0;
9859 wxIconBundle
*result
= 0 ;
9861 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= (wxIconBundle
*)new wxIconBundle();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9875 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
= 0;
9877 wxString
*arg1
= 0 ;
9879 wxIconBundle
*result
= 0 ;
9880 bool temp1
= false ;
9883 PyObject
* obj0
= 0 ;
9884 PyObject
* obj1
= 0 ;
9885 char * kwnames
[] = {
9886 (char *) "file",(char *) "type", NULL
9889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9891 arg1
= wxString_in_helper(obj0
);
9892 if (arg1
== NULL
) SWIG_fail
;
9895 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9896 if (!SWIG_IsOK(ecode2
)) {
9897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9899 arg2
= static_cast< long >(val2
);
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9921 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
= 0;
9924 wxIconBundle
*result
= 0 ;
9927 PyObject
* obj0
= 0 ;
9928 char * kwnames
[] = {
9929 (char *) "icon", NULL
9932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9933 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9934 if (!SWIG_IsOK(res1
)) {
9935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9940 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9954 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9955 PyObject
*resultobj
= 0;
9956 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9959 PyObject
*swig_obj
[1] ;
9961 if (!args
) SWIG_fail
;
9963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9964 if (!SWIG_IsOK(res1
)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9967 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_Py_Void();
9982 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
= 0;
9984 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9991 PyObject
* obj1
= 0 ;
9992 char * kwnames
[] = {
9993 (char *) "self",(char *) "icon", NULL
9996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10001 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10003 if (!SWIG_IsOK(res2
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10009 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_Py_Void();
10023 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
= 0;
10025 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10026 wxString
*arg2
= 0 ;
10030 bool temp2
= false ;
10033 PyObject
* obj0
= 0 ;
10034 PyObject
* obj1
= 0 ;
10035 PyObject
* obj2
= 0 ;
10036 char * kwnames
[] = {
10037 (char *) "self",(char *) "file",(char *) "type", NULL
10040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10042 if (!SWIG_IsOK(res1
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10045 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10047 arg2
= wxString_in_helper(obj1
);
10048 if (arg2
== NULL
) SWIG_fail
;
10051 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10052 if (!SWIG_IsOK(ecode3
)) {
10053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10055 arg3
= static_cast< long >(val3
);
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_Py_Void();
10077 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= 0;
10079 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10081 wxIcon
*result
= 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char * kwnames
[] = {
10088 (char *) "self",(char *) "size", NULL
10091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10096 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10105 result
= (wxIcon
*) &_result_ref
;
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 wxIcon
* resultptr
= new wxIcon(*result
);
10112 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10120 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10123 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10124 return SWIG_Py_Void();
10127 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10128 return SWIG_Python_InitShadowInstance(args
);
10131 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
= 0;
10133 wxString
*arg1
= 0 ;
10135 int arg3
= (int) 0 ;
10136 int arg4
= (int) 0 ;
10137 wxCursor
*result
= 0 ;
10138 bool temp1
= false ;
10145 PyObject
* obj0
= 0 ;
10146 PyObject
* obj1
= 0 ;
10147 PyObject
* obj2
= 0 ;
10148 PyObject
* obj3
= 0 ;
10149 char * kwnames
[] = {
10150 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10155 arg1
= wxString_in_helper(obj0
);
10156 if (arg1
== NULL
) SWIG_fail
;
10159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10160 if (!SWIG_IsOK(ecode2
)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10163 arg2
= static_cast< long >(val2
);
10165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10166 if (!SWIG_IsOK(ecode3
)) {
10167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10169 arg3
= static_cast< int >(val3
);
10172 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10173 if (!SWIG_IsOK(ecode4
)) {
10174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10176 arg4
= static_cast< int >(val4
);
10179 if (!wxPyCheckForApp()) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10200 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10201 PyObject
*resultobj
= 0;
10202 wxCursor
*arg1
= (wxCursor
*) 0 ;
10205 PyObject
*swig_obj
[1] ;
10207 if (!args
) SWIG_fail
;
10208 swig_obj
[0] = args
;
10209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10210 if (!SWIG_IsOK(res1
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10213 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_Py_Void();
10228 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
= 0;
10231 wxCursor
*result
= 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char * kwnames
[] = {
10236 (char *) "id", NULL
10239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10241 if (!SWIG_IsOK(ecode1
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10244 arg1
= static_cast< int >(val1
);
10246 if (!wxPyCheckForApp()) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (wxCursor
*)new wxCursor(arg1
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10259 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
= 0;
10261 wxImage
*arg1
= 0 ;
10262 wxCursor
*result
= 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char * kwnames
[] = {
10267 (char *) "image", NULL
10270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10278 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10280 if (!wxPyCheckForApp()) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10293 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10294 PyObject
*resultobj
= 0;
10295 wxCursor
*arg1
= (wxCursor
*) 0 ;
10299 PyObject
*swig_obj
[1] ;
10301 if (!args
) SWIG_fail
;
10302 swig_obj
[0] = args
;
10303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10304 if (!SWIG_IsOK(res1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10307 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)(arg1
)->IsOk();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10326 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10327 return SWIG_Py_Void();
10330 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10331 return SWIG_Python_InitShadowInstance(args
);
10334 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 int arg1
= (int) 0 ;
10337 int arg2
= (int) 0 ;
10338 int arg3
= (int) 0 ;
10339 int arg4
= (int) 0 ;
10340 wxRegion
*result
= 0 ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 PyObject
* obj2
= 0 ;
10352 PyObject
* obj3
= 0 ;
10353 char * kwnames
[] = {
10354 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10360 if (!SWIG_IsOK(ecode1
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10363 arg1
= static_cast< int >(val1
);
10366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10367 if (!SWIG_IsOK(ecode2
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10370 arg2
= static_cast< int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10380 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10381 if (!SWIG_IsOK(ecode4
)) {
10382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10384 arg4
= static_cast< int >(val4
);
10387 if (!wxPyCheckForApp()) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10400 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
= 0;
10402 wxBitmap
*arg1
= 0 ;
10403 wxRegion
*result
= 0 ;
10406 PyObject
* obj0
= 0 ;
10407 char * kwnames
[] = {
10408 (char *) "bmp", NULL
10411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10412 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10413 if (!SWIG_IsOK(res1
)) {
10414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10419 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10421 if (!wxPyCheckForApp()) SWIG_fail
;
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10434 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
= 0;
10436 wxBitmap
*arg1
= 0 ;
10437 wxColour
*arg2
= 0 ;
10438 int arg3
= (int) 0 ;
10439 wxRegion
*result
= 0 ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 PyObject
* obj2
= 0 ;
10448 char * kwnames
[] = {
10449 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10453 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10454 if (!SWIG_IsOK(res1
)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10460 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10463 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10467 if (!SWIG_IsOK(ecode3
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', 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((wxBitmap
const &)*arg1
,(wxColour
const &)*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 );
10486 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
*resultobj
= 0;
10489 wxPoint
*arg2
= (wxPoint
*) 0 ;
10490 int arg3
= (int) wxWINDING_RULE
;
10491 wxRegion
*result
= 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char * kwnames
[] = {
10497 (char *) "points",(char *) "fillStyle", NULL
10500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10502 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10503 if (arg2
== NULL
) SWIG_fail
;
10506 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10507 if (!SWIG_IsOK(ecode3
)) {
10508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10510 arg3
= static_cast< int >(val3
);
10513 if (!wxPyCheckForApp()) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10521 if (arg2
) delete [] arg2
;
10526 if (arg2
) delete [] arg2
;
10532 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10533 PyObject
*resultobj
= 0;
10534 wxRegion
*arg1
= (wxRegion
*) 0 ;
10537 PyObject
*swig_obj
[1] ;
10539 if (!args
) SWIG_fail
;
10540 swig_obj
[0] = args
;
10541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10545 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= SWIG_Py_Void();
10560 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10561 PyObject
*resultobj
= 0;
10562 wxRegion
*arg1
= (wxRegion
*) 0 ;
10565 PyObject
*swig_obj
[1] ;
10567 if (!args
) SWIG_fail
;
10568 swig_obj
[0] = args
;
10569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10570 if (!SWIG_IsOK(res1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10573 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_Py_Void();
10587 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
= 0;
10589 wxRegion
*arg1
= (wxRegion
*) 0 ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 PyObject
* obj2
= 0 ;
10602 char * kwnames
[] = {
10603 (char *) "self",(char *) "x",(char *) "y", NULL
10606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10608 if (!SWIG_IsOK(res1
)) {
10609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10611 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10613 if (!SWIG_IsOK(ecode2
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10616 arg2
= static_cast< int >(val2
);
10617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10618 if (!SWIG_IsOK(ecode3
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10621 arg3
= static_cast< int >(val3
);
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10637 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
= 0;
10639 wxRegion
*arg1
= (wxRegion
*) 0 ;
10642 wxRegionContain result
;
10649 PyObject
* obj0
= 0 ;
10650 PyObject
* obj1
= 0 ;
10651 PyObject
* obj2
= 0 ;
10652 char * kwnames
[] = {
10653 (char *) "self",(char *) "x",(char *) "y", NULL
10656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10658 if (!SWIG_IsOK(res1
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10661 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10663 if (!SWIG_IsOK(ecode2
)) {
10664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10666 arg2
= static_cast< int >(val2
);
10667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10668 if (!SWIG_IsOK(ecode3
)) {
10669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10671 arg3
= static_cast< int >(val3
);
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= SWIG_From_int(static_cast< int >(result
));
10685 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= 0;
10687 wxRegion
*arg1
= (wxRegion
*) 0 ;
10688 wxPoint
*arg2
= 0 ;
10689 wxRegionContain result
;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char * kwnames
[] = {
10696 (char *) "self",(char *) "pt", NULL
10699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10701 if (!SWIG_IsOK(res1
)) {
10702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10704 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_From_int(static_cast< int >(result
));
10722 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
= 0;
10724 wxRegion
*arg1
= (wxRegion
*) 0 ;
10726 wxRegionContain result
;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 char * kwnames
[] = {
10733 (char *) "self",(char *) "rect", NULL
10736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10738 if (!SWIG_IsOK(res1
)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10741 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_From_int(static_cast< int >(result
));
10759 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
= 0;
10761 wxRegion
*arg1
= (wxRegion
*) 0 ;
10766 wxRegionContain result
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 PyObject
* obj2
= 0 ;
10780 PyObject
* obj3
= 0 ;
10781 PyObject
* obj4
= 0 ;
10782 char * kwnames
[] = {
10783 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10788 if (!SWIG_IsOK(res1
)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10791 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10793 if (!SWIG_IsOK(ecode2
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10796 arg2
= static_cast< int >(val2
);
10797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10798 if (!SWIG_IsOK(ecode3
)) {
10799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10801 arg3
= static_cast< int >(val3
);
10802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10803 if (!SWIG_IsOK(ecode4
)) {
10804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10806 arg4
= static_cast< int >(val4
);
10807 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10808 if (!SWIG_IsOK(ecode5
)) {
10809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10811 arg5
= static_cast< int >(val5
);
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 resultobj
= SWIG_From_int(static_cast< int >(result
));
10825 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10826 PyObject
*resultobj
= 0;
10827 wxRegion
*arg1
= (wxRegion
*) 0 ;
10831 PyObject
*swig_obj
[1] ;
10833 if (!args
) SWIG_fail
;
10834 swig_obj
[0] = args
;
10835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10836 if (!SWIG_IsOK(res1
)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10839 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 result
= (arg1
)->GetBox();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10853 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
= 0;
10855 wxRegion
*arg1
= (wxRegion
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 PyObject
* obj2
= 0 ;
10874 PyObject
* obj3
= 0 ;
10875 PyObject
* obj4
= 0 ;
10876 char * kwnames
[] = {
10877 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10882 if (!SWIG_IsOK(res1
)) {
10883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10885 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10887 if (!SWIG_IsOK(ecode2
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10890 arg2
= static_cast< int >(val2
);
10891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10892 if (!SWIG_IsOK(ecode3
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10895 arg3
= static_cast< int >(val3
);
10896 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10897 if (!SWIG_IsOK(ecode4
)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10900 arg4
= static_cast< int >(val4
);
10901 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10902 if (!SWIG_IsOK(ecode5
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10905 arg5
= static_cast< int >(val5
);
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10921 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxRegion
*arg1
= (wxRegion
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "rect", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",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_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10940 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10943 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10960 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
= 0;
10962 wxRegion
*arg1
= (wxRegion
*) 0 ;
10963 wxRegion
*arg2
= 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char * kwnames
[] = {
10972 (char *) "self",(char *) "region", NULL
10975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10980 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10982 if (!SWIG_IsOK(res2
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10988 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11004 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11005 PyObject
*resultobj
= 0;
11006 wxRegion
*arg1
= (wxRegion
*) 0 ;
11010 PyObject
*swig_obj
[1] ;
11012 if (!args
) SWIG_fail
;
11013 swig_obj
[0] = args
;
11014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11015 if (!SWIG_IsOK(res1
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11018 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (bool)(arg1
)->IsEmpty();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11034 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
= 0;
11036 wxRegion
*arg1
= (wxRegion
*) 0 ;
11037 wxRegion
*arg2
= 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char * kwnames
[] = {
11046 (char *) "self",(char *) "region", NULL
11049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11054 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11056 if (!SWIG_IsOK(res2
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11062 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
= 0;
11080 wxRegion
*arg1
= (wxRegion
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 PyObject
* obj2
= 0 ;
11099 PyObject
* obj3
= 0 ;
11100 PyObject
* obj4
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11112 if (!SWIG_IsOK(ecode2
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11115 arg2
= static_cast< int >(val2
);
11116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11117 if (!SWIG_IsOK(ecode3
)) {
11118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11120 arg3
= static_cast< int >(val3
);
11121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11122 if (!SWIG_IsOK(ecode4
)) {
11123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11125 arg4
= static_cast< int >(val4
);
11126 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11127 if (!SWIG_IsOK(ecode5
)) {
11128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11130 arg5
= static_cast< int >(val5
);
11132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11133 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11146 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
= 0;
11148 wxRegion
*arg1
= (wxRegion
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 char * kwnames
[] = {
11157 (char *) "self",(char *) "rect", NULL
11160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",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_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11165 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11168 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11185 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
= 0;
11187 wxRegion
*arg1
= (wxRegion
*) 0 ;
11188 wxRegion
*arg2
= 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "region", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11205 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11207 if (!SWIG_IsOK(res2
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11213 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11229 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
= 0;
11231 wxRegion
*arg1
= (wxRegion
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 PyObject
* obj2
= 0 ;
11250 PyObject
* obj3
= 0 ;
11251 PyObject
* obj4
= 0 ;
11252 char * kwnames
[] = {
11253 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11261 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11263 if (!SWIG_IsOK(ecode2
)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11266 arg2
= static_cast< int >(val2
);
11267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11268 if (!SWIG_IsOK(ecode3
)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11271 arg3
= static_cast< int >(val3
);
11272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11273 if (!SWIG_IsOK(ecode4
)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11276 arg4
= static_cast< int >(val4
);
11277 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11278 if (!SWIG_IsOK(ecode5
)) {
11279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11281 arg5
= static_cast< int >(val5
);
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= 0;
11299 wxRegion
*arg1
= (wxRegion
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "self",(char *) "rect", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",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_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11316 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11336 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
= 0;
11338 wxRegion
*arg1
= (wxRegion
*) 0 ;
11339 wxRegion
*arg2
= 0 ;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "self",(char *) "region", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11353 if (!SWIG_IsOK(res1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11356 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11358 if (!SWIG_IsOK(res2
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11364 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
= 0;
11382 wxRegion
*arg1
= (wxRegion
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 PyObject
* obj2
= 0 ;
11401 PyObject
* obj3
= 0 ;
11402 PyObject
* obj4
= 0 ;
11403 char * kwnames
[] = {
11404 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11412 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11414 if (!SWIG_IsOK(ecode2
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11417 arg2
= static_cast< int >(val2
);
11418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11419 if (!SWIG_IsOK(ecode3
)) {
11420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11422 arg3
= static_cast< int >(val3
);
11423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11424 if (!SWIG_IsOK(ecode4
)) {
11425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11427 arg4
= static_cast< int >(val4
);
11428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11429 if (!SWIG_IsOK(ecode5
)) {
11430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11432 arg5
= static_cast< int >(val5
);
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11448 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
= 0;
11450 wxRegion
*arg1
= (wxRegion
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 char * kwnames
[] = {
11459 (char *) "self",(char *) "rect", NULL
11462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",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_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11467 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11470 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11487 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
= 0;
11489 wxRegion
*arg1
= (wxRegion
*) 0 ;
11490 wxRegion
*arg2
= 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char * kwnames
[] = {
11499 (char *) "self",(char *) "region", NULL
11502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11504 if (!SWIG_IsOK(res1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11507 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11509 if (!SWIG_IsOK(res2
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11515 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11531 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11532 PyObject
*resultobj
= 0;
11533 wxRegion
*arg1
= (wxRegion
*) 0 ;
11534 SwigValueWrapper
<wxBitmap
> result
;
11537 PyObject
*swig_obj
[1] ;
11539 if (!args
) SWIG_fail
;
11540 swig_obj
[0] = args
;
11541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11542 if (!SWIG_IsOK(res1
)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11545 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 result
= (arg1
)->ConvertToBitmap();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11559 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
= 0;
11561 wxRegion
*arg1
= (wxRegion
*) 0 ;
11562 wxBitmap
*arg2
= 0 ;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 char * kwnames
[] = {
11571 (char *) "self",(char *) "bmp", NULL
11574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11576 if (!SWIG_IsOK(res1
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11579 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11581 if (!SWIG_IsOK(res2
)) {
11582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11587 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11603 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
= 0;
11605 wxRegion
*arg1
= (wxRegion
*) 0 ;
11606 wxBitmap
*arg2
= 0 ;
11607 wxColour
*arg3
= 0 ;
11608 int arg4
= (int) 0 ;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 PyObject
* obj2
= 0 ;
11620 PyObject
* obj3
= 0 ;
11621 char * kwnames
[] = {
11622 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11627 if (!SWIG_IsOK(res1
)) {
11628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11630 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11632 if (!SWIG_IsOK(res2
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11638 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11641 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11645 if (!SWIG_IsOK(ecode4
)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11648 arg4
= static_cast< int >(val4
);
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11665 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11668 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11669 return SWIG_Py_Void();
11672 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11673 return SWIG_Python_InitShadowInstance(args
);
11676 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11677 PyObject
*resultobj
= 0;
11678 wxRegion
*arg1
= 0 ;
11679 wxRegionIterator
*result
= 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char * kwnames
[] = {
11684 (char *) "region", NULL
11687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11688 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11689 if (!SWIG_IsOK(res1
)) {
11690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11695 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11697 if (!wxPyCheckForApp()) SWIG_fail
;
11698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11710 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11711 PyObject
*resultobj
= 0;
11712 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11715 PyObject
*swig_obj
[1] ;
11717 if (!args
) SWIG_fail
;
11718 swig_obj
[0] = args
;
11719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11720 if (!SWIG_IsOK(res1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11723 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= SWIG_Py_Void();
11738 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11739 PyObject
*resultobj
= 0;
11740 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11744 PyObject
*swig_obj
[1] ;
11746 if (!args
) SWIG_fail
;
11747 swig_obj
[0] = args
;
11748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11749 if (!SWIG_IsOK(res1
)) {
11750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11752 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)(arg1
)->GetX();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11759 resultobj
= SWIG_From_int(static_cast< int >(result
));
11766 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11767 PyObject
*resultobj
= 0;
11768 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11772 PyObject
*swig_obj
[1] ;
11774 if (!args
) SWIG_fail
;
11775 swig_obj
[0] = args
;
11776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11777 if (!SWIG_IsOK(res1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11780 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (int)(arg1
)->GetY();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= SWIG_From_int(static_cast< int >(result
));
11794 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11795 PyObject
*resultobj
= 0;
11796 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11800 PyObject
*swig_obj
[1] ;
11802 if (!args
) SWIG_fail
;
11803 swig_obj
[0] = args
;
11804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11805 if (!SWIG_IsOK(res1
)) {
11806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11808 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (int)(arg1
)->GetW();
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_From_int(static_cast< int >(result
));
11822 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11823 PyObject
*resultobj
= 0;
11824 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11828 PyObject
*swig_obj
[1] ;
11830 if (!args
) SWIG_fail
;
11831 swig_obj
[0] = args
;
11832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11833 if (!SWIG_IsOK(res1
)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11836 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (int)(arg1
)->GetWidth();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_From_int(static_cast< int >(result
));
11850 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11851 PyObject
*resultobj
= 0;
11852 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11856 PyObject
*swig_obj
[1] ;
11858 if (!args
) SWIG_fail
;
11859 swig_obj
[0] = args
;
11860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11861 if (!SWIG_IsOK(res1
)) {
11862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11864 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (int)(arg1
)->GetH();
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= SWIG_From_int(static_cast< int >(result
));
11878 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11879 PyObject
*resultobj
= 0;
11880 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11884 PyObject
*swig_obj
[1] ;
11886 if (!args
) SWIG_fail
;
11887 swig_obj
[0] = args
;
11888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11889 if (!SWIG_IsOK(res1
)) {
11890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11892 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (int)(arg1
)->GetHeight();
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_From_int(static_cast< int >(result
));
11906 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 PyObject
*resultobj
= 0;
11908 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11912 PyObject
*swig_obj
[1] ;
11914 if (!args
) SWIG_fail
;
11915 swig_obj
[0] = args
;
11916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11917 if (!SWIG_IsOK(res1
)) {
11918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11920 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= (arg1
)->GetRect();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11934 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11935 PyObject
*resultobj
= 0;
11936 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11940 PyObject
*swig_obj
[1] ;
11942 if (!args
) SWIG_fail
;
11943 swig_obj
[0] = args
;
11944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11945 if (!SWIG_IsOK(res1
)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11948 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)(arg1
)->HaveRects();
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11964 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11965 PyObject
*resultobj
= 0;
11966 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11969 PyObject
*swig_obj
[1] ;
11971 if (!args
) SWIG_fail
;
11972 swig_obj
[0] = args
;
11973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11977 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_Py_Void();
11991 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11992 PyObject
*resultobj
= 0;
11993 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11996 PyObject
*swig_obj
[1] ;
11998 if (!args
) SWIG_fail
;
11999 swig_obj
[0] = args
;
12000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12001 if (!SWIG_IsOK(res1
)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12004 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 wxRegionIterator_Next(arg1
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_Py_Void();
12018 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12019 PyObject
*resultobj
= 0;
12020 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12024 PyObject
*swig_obj
[1] ;
12026 if (!args
) SWIG_fail
;
12027 swig_obj
[0] = args
;
12028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12032 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12048 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12051 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12052 return SWIG_Py_Void();
12055 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12056 return SWIG_Python_InitShadowInstance(args
);
12059 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12060 PyObject
*resultobj
= 0;
12061 wxNativeFontInfo
*result
= 0 ;
12063 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12077 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12078 PyObject
*resultobj
= 0;
12079 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12082 PyObject
*swig_obj
[1] ;
12084 if (!args
) SWIG_fail
;
12085 swig_obj
[0] = args
;
12086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12087 if (!SWIG_IsOK(res1
)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12090 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_Py_Void();
12105 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12110 PyObject
*swig_obj
[1] ;
12112 if (!args
) SWIG_fail
;
12113 swig_obj
[0] = args
;
12114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12118 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= SWIG_Py_Void();
12132 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
= 0;
12134 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "font", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12151 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12153 if (!SWIG_IsOK(res2
)) {
12154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12159 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_Py_Void();
12173 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12174 PyObject
*resultobj
= 0;
12175 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12179 PyObject
*swig_obj
[1] ;
12181 if (!args
) SWIG_fail
;
12182 swig_obj
[0] = args
;
12183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12184 if (!SWIG_IsOK(res1
)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12187 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_From_int(static_cast< int >(result
));
12201 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12202 PyObject
*resultobj
= 0;
12203 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12204 wxFontStyle result
;
12207 PyObject
*swig_obj
[1] ;
12209 if (!args
) SWIG_fail
;
12210 swig_obj
[0] = args
;
12211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12212 if (!SWIG_IsOK(res1
)) {
12213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12215 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_From_int(static_cast< int >(result
));
12229 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12230 PyObject
*resultobj
= 0;
12231 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12232 wxFontWeight result
;
12235 PyObject
*swig_obj
[1] ;
12237 if (!args
) SWIG_fail
;
12238 swig_obj
[0] = args
;
12239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12243 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_From_int(static_cast< int >(result
));
12257 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12258 PyObject
*resultobj
= 0;
12259 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12263 PyObject
*swig_obj
[1] ;
12265 if (!args
) SWIG_fail
;
12266 swig_obj
[0] = args
;
12267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12268 if (!SWIG_IsOK(res1
)) {
12269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12271 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12287 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12288 PyObject
*resultobj
= 0;
12289 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12293 PyObject
*swig_obj
[1] ;
12295 if (!args
) SWIG_fail
;
12296 swig_obj
[0] = args
;
12297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12298 if (!SWIG_IsOK(res1
)) {
12299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12301 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12321 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12322 PyObject
*resultobj
= 0;
12323 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12324 wxFontFamily result
;
12327 PyObject
*swig_obj
[1] ;
12329 if (!args
) SWIG_fail
;
12330 swig_obj
[0] = args
;
12331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12332 if (!SWIG_IsOK(res1
)) {
12333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12335 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_From_int(static_cast< int >(result
));
12349 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12352 wxFontEncoding result
;
12355 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12363 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_From_int(static_cast< int >(result
));
12377 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 PyObject
* obj1
= 0 ;
12387 char * kwnames
[] = {
12388 (char *) "self",(char *) "pointsize", NULL
12391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12393 if (!SWIG_IsOK(res1
)) {
12394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12396 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12398 if (!SWIG_IsOK(ecode2
)) {
12399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12401 arg2
= static_cast< int >(val2
);
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 (arg1
)->SetPointSize(arg2
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_Py_Void();
12415 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
= 0;
12417 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12423 PyObject
* obj0
= 0 ;
12424 PyObject
* obj1
= 0 ;
12425 char * kwnames
[] = {
12426 (char *) "self",(char *) "style", NULL
12429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12431 if (!SWIG_IsOK(res1
)) {
12432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12434 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12436 if (!SWIG_IsOK(ecode2
)) {
12437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12439 arg2
= static_cast< wxFontStyle
>(val2
);
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 (arg1
)->SetStyle(arg2
);
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 resultobj
= SWIG_Py_Void();
12453 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
= 0;
12455 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12456 wxFontWeight arg2
;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 char * kwnames
[] = {
12464 (char *) "self",(char *) "weight", NULL
12467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12469 if (!SWIG_IsOK(res1
)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12472 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12474 if (!SWIG_IsOK(ecode2
)) {
12475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12477 arg2
= static_cast< wxFontWeight
>(val2
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->SetWeight(arg2
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_Py_Void();
12491 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
= 0;
12493 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 PyObject
* obj1
= 0 ;
12501 char * kwnames
[] = {
12502 (char *) "self",(char *) "underlined", NULL
12505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12510 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12511 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12512 if (!SWIG_IsOK(ecode2
)) {
12513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12515 arg2
= static_cast< bool >(val2
);
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 (arg1
)->SetUnderlined(arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= SWIG_Py_Void();
12529 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
= 0;
12531 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 PyObject
* obj1
= 0 ;
12538 char * kwnames
[] = {
12539 (char *) "self",(char *) "facename", NULL
12542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12544 if (!SWIG_IsOK(res1
)) {
12545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12547 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12549 wxString
* sptr
= wxString_in_helper(obj1
);
12550 if (sptr
== NULL
) SWIG_fail
;
12555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12556 result
= (bool)(arg1
)->SetFaceName(arg2
);
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12569 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
= 0;
12571 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12572 wxFontFamily arg2
;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 char * kwnames
[] = {
12580 (char *) "self",(char *) "family", NULL
12583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12585 if (!SWIG_IsOK(res1
)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12588 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12590 if (!SWIG_IsOK(ecode2
)) {
12591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12593 arg2
= static_cast< wxFontFamily
>(val2
);
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 (arg1
)->SetFamily(arg2
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_Py_Void();
12607 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12608 PyObject
*resultobj
= 0;
12609 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12610 wxFontEncoding arg2
;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char * kwnames
[] = {
12618 (char *) "self",(char *) "encoding", NULL
12621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12626 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12628 if (!SWIG_IsOK(ecode2
)) {
12629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12631 arg2
= static_cast< wxFontEncoding
>(val2
);
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->SetEncoding(arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12645 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
= 0;
12647 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12648 wxString
*arg2
= 0 ;
12652 bool temp2
= false ;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "self",(char *) "s", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12661 if (!SWIG_IsOK(res1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12664 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12666 arg2
= wxString_in_helper(obj1
);
12667 if (arg2
== NULL
) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12694 PyObject
*resultobj
= 0;
12695 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12699 PyObject
*swig_obj
[1] ;
12701 if (!args
) SWIG_fail
;
12702 swig_obj
[0] = args
;
12703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12704 if (!SWIG_IsOK(res1
)) {
12705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12707 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12727 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12728 PyObject
*resultobj
= 0;
12729 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12733 PyObject
*swig_obj
[1] ;
12735 if (!args
) SWIG_fail
;
12736 swig_obj
[0] = args
;
12737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12738 if (!SWIG_IsOK(res1
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12741 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= wxNativeFontInfo___str__(arg1
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12761 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
= 0;
12763 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12764 wxString
*arg2
= 0 ;
12768 bool temp2
= false ;
12769 PyObject
* obj0
= 0 ;
12770 PyObject
* obj1
= 0 ;
12771 char * kwnames
[] = {
12772 (char *) "self",(char *) "s", NULL
12775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12777 if (!SWIG_IsOK(res1
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12780 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12782 arg2
= wxString_in_helper(obj1
);
12783 if (arg2
== NULL
) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12809 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12810 PyObject
*resultobj
= 0;
12811 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12815 PyObject
*swig_obj
[1] ;
12817 if (!args
) SWIG_fail
;
12818 swig_obj
[0] = args
;
12819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12820 if (!SWIG_IsOK(res1
)) {
12821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12823 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12843 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12846 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12847 return SWIG_Py_Void();
12850 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 return SWIG_Python_InitShadowInstance(args
);
12854 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12855 PyObject
*resultobj
= 0;
12856 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12857 wxString
*arg2
= (wxString
*) 0 ;
12860 bool temp2
= false ;
12861 PyObject
*swig_obj
[2] ;
12863 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12868 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12870 arg2
= wxString_in_helper(swig_obj
[1]);
12871 if (arg2
== NULL
) SWIG_fail
;
12874 if (arg1
) (arg1
)->facename
= *arg2
;
12876 resultobj
= SWIG_Py_Void();
12891 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12892 PyObject
*resultobj
= 0;
12893 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12894 wxString
*result
= 0 ;
12897 PyObject
*swig_obj
[1] ;
12899 if (!args
) SWIG_fail
;
12900 swig_obj
[0] = args
;
12901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12905 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12906 result
= (wxString
*)& ((arg1
)->facename
);
12909 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12911 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12920 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12921 PyObject
*resultobj
= 0;
12922 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12923 wxFontEncoding arg2
;
12928 PyObject
*swig_obj
[2] ;
12930 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12935 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12936 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12937 if (!SWIG_IsOK(ecode2
)) {
12938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12940 arg2
= static_cast< wxFontEncoding
>(val2
);
12941 if (arg1
) (arg1
)->encoding
= arg2
;
12943 resultobj
= SWIG_Py_Void();
12950 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12951 PyObject
*resultobj
= 0;
12952 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12953 wxFontEncoding result
;
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
, 0 | 0 );
12961 if (!SWIG_IsOK(res1
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12964 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12965 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12966 resultobj
= SWIG_From_int(static_cast< int >(result
));
12973 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 PyObject
*resultobj
= 0;
12975 wxNativeEncodingInfo
*result
= 0 ;
12977 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12991 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12992 PyObject
*resultobj
= 0;
12993 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12996 PyObject
*swig_obj
[1] ;
12998 if (!args
) SWIG_fail
;
12999 swig_obj
[0] = args
;
13000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13001 if (!SWIG_IsOK(res1
)) {
13002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13004 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_Py_Void();
13019 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13022 wxString
*arg2
= 0 ;
13026 bool temp2
= false ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char * kwnames
[] = {
13030 (char *) "self",(char *) "s", NULL
13033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13035 if (!SWIG_IsOK(res1
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13038 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13040 arg2
= wxString_in_helper(obj1
);
13041 if (arg2
== NULL
) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13067 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13068 PyObject
*resultobj
= 0;
13069 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13073 PyObject
*swig_obj
[1] ;
13075 if (!args
) SWIG_fail
;
13076 swig_obj
[0] = args
;
13077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13078 if (!SWIG_IsOK(res1
)) {
13079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13081 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13101 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13104 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13105 return SWIG_Py_Void();
13108 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 return SWIG_Python_InitShadowInstance(args
);
13112 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
= 0;
13114 wxFontEncoding arg1
;
13115 wxNativeEncodingInfo
*result
= 0 ;
13118 PyObject
* obj0
= 0 ;
13119 char * kwnames
[] = {
13120 (char *) "encoding", NULL
13123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13125 if (!SWIG_IsOK(ecode1
)) {
13126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13128 arg1
= static_cast< wxFontEncoding
>(val1
);
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13142 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
= 0;
13144 wxNativeEncodingInfo
*arg1
= 0 ;
13148 PyObject
* obj0
= 0 ;
13149 char * kwnames
[] = {
13150 (char *) "info", NULL
13153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13154 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13155 if (!SWIG_IsOK(res1
)) {
13156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13161 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13177 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 PyObject
*resultobj
= 0;
13179 wxFontMapper
*result
= 0 ;
13181 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (wxFontMapper
*)new wxFontMapper();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13195 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13196 PyObject
*resultobj
= 0;
13197 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13200 PyObject
*swig_obj
[1] ;
13202 if (!args
) SWIG_fail
;
13203 swig_obj
[0] = args
;
13204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13208 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_Py_Void();
13223 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13224 PyObject
*resultobj
= 0;
13225 wxFontMapper
*result
= 0 ;
13227 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 result
= (wxFontMapper
*)wxFontMapper::Get();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13241 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
= 0;
13243 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13244 wxFontMapper
*result
= 0 ;
13247 PyObject
* obj0
= 0 ;
13248 char * kwnames
[] = {
13249 (char *) "mapper", NULL
13252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13254 if (!SWIG_IsOK(res1
)) {
13255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13257 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13271 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
= 0;
13273 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13274 wxString
*arg2
= 0 ;
13275 bool arg3
= (bool) true ;
13276 wxFontEncoding result
;
13279 bool temp2
= false ;
13282 PyObject
* obj0
= 0 ;
13283 PyObject
* obj1
= 0 ;
13284 PyObject
* obj2
= 0 ;
13285 char * kwnames
[] = {
13286 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13291 if (!SWIG_IsOK(res1
)) {
13292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13294 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13296 arg2
= wxString_in_helper(obj1
);
13297 if (arg2
== NULL
) SWIG_fail
;
13301 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13302 if (!SWIG_IsOK(ecode3
)) {
13303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13305 arg3
= static_cast< bool >(val3
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_From_int(static_cast< int >(result
));
13328 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13329 PyObject
*resultobj
= 0;
13332 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13346 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13347 PyObject
*resultobj
= 0;
13349 wxFontEncoding result
;
13352 PyObject
* obj0
= 0 ;
13353 char * kwnames
[] = {
13357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13358 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13359 if (!SWIG_IsOK(ecode1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13362 arg1
= static_cast< size_t >(val1
);
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_From_int(static_cast< int >(result
));
13376 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
= 0;
13378 wxFontEncoding arg1
;
13382 PyObject
* obj0
= 0 ;
13383 char * kwnames
[] = {
13384 (char *) "encoding", NULL
13387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13388 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13389 if (!SWIG_IsOK(ecode1
)) {
13390 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13392 arg1
= static_cast< wxFontEncoding
>(val1
);
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= wxFontMapper::GetEncodingName(arg1
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13412 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
= 0;
13414 wxFontEncoding arg1
;
13418 PyObject
* obj0
= 0 ;
13419 char * kwnames
[] = {
13420 (char *) "encoding", NULL
13423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13425 if (!SWIG_IsOK(ecode1
)) {
13426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13428 arg1
= static_cast< wxFontEncoding
>(val1
);
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 result
= wxFontMapper::GetEncodingDescription(arg1
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13448 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
= 0;
13450 wxString
*arg1
= 0 ;
13451 wxFontEncoding result
;
13452 bool temp1
= false ;
13453 PyObject
* obj0
= 0 ;
13454 char * kwnames
[] = {
13455 (char *) "name", NULL
13458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13460 arg1
= wxString_in_helper(obj0
);
13461 if (arg1
== NULL
) SWIG_fail
;
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13466 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_From_int(static_cast< int >(result
));
13485 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13486 PyObject
*resultobj
= 0;
13487 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13488 wxString
*arg2
= 0 ;
13491 bool temp2
= false ;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char * kwnames
[] = {
13495 (char *) "self",(char *) "prefix", NULL
13498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13500 if (!SWIG_IsOK(res1
)) {
13501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13503 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13505 arg2
= wxString_in_helper(obj1
);
13506 if (arg2
== NULL
) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= SWIG_Py_Void();
13530 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13531 PyObject
*resultobj
= 0;
13534 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= wxFontMapper::GetDefaultConfigPath();
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13554 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13555 PyObject
*resultobj
= 0;
13556 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13557 wxFontEncoding arg2
;
13558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13560 bool arg4
= (bool) true ;
13561 PyObject
*result
= 0 ;
13566 bool temp3
= false ;
13569 PyObject
* obj0
= 0 ;
13570 PyObject
* obj1
= 0 ;
13571 PyObject
* obj2
= 0 ;
13572 PyObject
* obj3
= 0 ;
13573 char * kwnames
[] = {
13574 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13579 if (!SWIG_IsOK(res1
)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13582 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13584 if (!SWIG_IsOK(ecode2
)) {
13585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13587 arg2
= static_cast< wxFontEncoding
>(val2
);
13590 arg3
= wxString_in_helper(obj2
);
13591 if (arg3
== NULL
) SWIG_fail
;
13596 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13597 if (!SWIG_IsOK(ecode4
)) {
13598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13600 arg4
= static_cast< bool >(val4
);
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= result
;
13623 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
= 0;
13625 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13626 wxFontEncoding arg2
;
13627 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13628 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13634 bool temp3
= false ;
13635 PyObject
* obj0
= 0 ;
13636 PyObject
* obj1
= 0 ;
13637 PyObject
* obj2
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13647 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13649 if (!SWIG_IsOK(ecode2
)) {
13650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13652 arg2
= static_cast< wxFontEncoding
>(val2
);
13655 arg3
= wxString_in_helper(obj2
);
13656 if (arg3
== NULL
) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13683 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
= 0;
13685 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13686 wxWindow
*arg2
= (wxWindow
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char * kwnames
[] = {
13694 (char *) "self",(char *) "parent", NULL
13697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13702 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13704 if (!SWIG_IsOK(res2
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 (arg1
)->SetDialogParent(arg2
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_Py_Void();
13721 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
= 0;
13723 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13724 wxString
*arg2
= 0 ;
13727 bool temp2
= false ;
13728 PyObject
* obj0
= 0 ;
13729 PyObject
* obj1
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *) "title", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13739 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13741 arg2
= wxString_in_helper(obj1
);
13742 if (arg2
== NULL
) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= SWIG_Py_Void();
13766 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13769 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13770 return SWIG_Py_Void();
13773 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13774 return SWIG_Python_InitShadowInstance(args
);
13777 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
= 0;
13783 bool arg5
= (bool) false ;
13784 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13785 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13786 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13787 wxFont
*result
= 0 ;
13798 bool temp6
= false ;
13801 PyObject
* obj0
= 0 ;
13802 PyObject
* obj1
= 0 ;
13803 PyObject
* obj2
= 0 ;
13804 PyObject
* obj3
= 0 ;
13805 PyObject
* obj4
= 0 ;
13806 PyObject
* obj5
= 0 ;
13807 PyObject
* obj6
= 0 ;
13808 char * kwnames
[] = {
13809 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13814 if (!SWIG_IsOK(ecode1
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13817 arg1
= static_cast< int >(val1
);
13818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13819 if (!SWIG_IsOK(ecode2
)) {
13820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13822 arg2
= static_cast< int >(val2
);
13823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13824 if (!SWIG_IsOK(ecode3
)) {
13825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13827 arg3
= static_cast< int >(val3
);
13828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13829 if (!SWIG_IsOK(ecode4
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13832 arg4
= static_cast< int >(val4
);
13834 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13835 if (!SWIG_IsOK(ecode5
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13838 arg5
= static_cast< bool >(val5
);
13842 arg6
= wxString_in_helper(obj5
);
13843 if (arg6
== NULL
) SWIG_fail
;
13848 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13849 if (!SWIG_IsOK(ecode7
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13852 arg7
= static_cast< wxFontEncoding
>(val7
);
13855 if (!wxPyCheckForApp()) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13876 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13877 PyObject
*resultobj
= 0;
13878 wxFont
*arg1
= (wxFont
*) 0 ;
13881 PyObject
*swig_obj
[1] ;
13883 if (!args
) SWIG_fail
;
13884 swig_obj
[0] = args
;
13885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13886 if (!SWIG_IsOK(res1
)) {
13887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13889 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_Py_Void();
13904 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
= 0;
13906 wxNativeFontInfo
*arg1
= 0 ;
13907 wxFont
*result
= 0 ;
13910 PyObject
* obj0
= 0 ;
13911 char * kwnames
[] = {
13912 (char *) "info", NULL
13915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13916 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13917 if (!SWIG_IsOK(res1
)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13923 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13925 if (!wxPyCheckForApp()) SWIG_fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13938 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= 0;
13940 wxString
*arg1
= 0 ;
13941 wxFont
*result
= 0 ;
13942 bool temp1
= false ;
13943 PyObject
* obj0
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "info", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13950 arg1
= wxString_in_helper(obj0
);
13951 if (arg1
== NULL
) SWIG_fail
;
13955 if (!wxPyCheckForApp()) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13976 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
= 0;
13979 wxFontFamily arg2
;
13980 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13981 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13982 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13983 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13984 wxFont
*result
= 0 ;
13991 bool temp4
= false ;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 PyObject
* obj2
= 0 ;
13997 PyObject
* obj3
= 0 ;
13998 PyObject
* obj4
= 0 ;
13999 char * kwnames
[] = {
14000 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14005 if (!SWIG_IsOK(ecode1
)) {
14006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14008 arg1
= static_cast< int >(val1
);
14009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14010 if (!SWIG_IsOK(ecode2
)) {
14011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14013 arg2
= static_cast< wxFontFamily
>(val2
);
14015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14016 if (!SWIG_IsOK(ecode3
)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14019 arg3
= static_cast< int >(val3
);
14023 arg4
= wxString_in_helper(obj3
);
14024 if (arg4
== NULL
) SWIG_fail
;
14029 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14030 if (!SWIG_IsOK(ecode5
)) {
14031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14033 arg5
= static_cast< wxFontEncoding
>(val5
);
14036 if (!wxPyCheckForApp()) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14057 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
= 0;
14063 bool arg5
= (bool) false ;
14064 wxString
const &arg6_defvalue
= wxEmptyString
;
14065 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14066 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14067 wxFont
*result
= 0 ;
14077 bool temp6
= false ;
14080 PyObject
* obj0
= 0 ;
14081 PyObject
* obj1
= 0 ;
14082 PyObject
* obj2
= 0 ;
14083 PyObject
* obj3
= 0 ;
14084 PyObject
* obj4
= 0 ;
14085 PyObject
* obj5
= 0 ;
14086 PyObject
* obj6
= 0 ;
14087 char * kwnames
[] = {
14088 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14094 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14097 if (!SWIG_IsOK(ecode2
)) {
14098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14100 arg2
= static_cast< int >(val2
);
14101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14102 if (!SWIG_IsOK(ecode3
)) {
14103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14105 arg3
= static_cast< int >(val3
);
14106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14107 if (!SWIG_IsOK(ecode4
)) {
14108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14110 arg4
= static_cast< int >(val4
);
14112 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14113 if (!SWIG_IsOK(ecode5
)) {
14114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14116 arg5
= static_cast< bool >(val5
);
14120 arg6
= wxString_in_helper(obj5
);
14121 if (arg6
== NULL
) SWIG_fail
;
14126 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14127 if (!SWIG_IsOK(ecode7
)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14130 arg7
= static_cast< wxFontEncoding
>(val7
);
14133 if (!wxPyCheckForApp()) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14154 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
= 0;
14157 wxFontFamily arg2
;
14158 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14159 wxString
const &arg4_defvalue
= wxEmptyString
;
14160 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14161 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14162 wxFont
*result
= 0 ;
14168 bool temp4
= false ;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 PyObject
* obj2
= 0 ;
14174 PyObject
* obj3
= 0 ;
14175 PyObject
* obj4
= 0 ;
14176 char * kwnames
[] = {
14177 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14183 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14186 if (!SWIG_IsOK(ecode2
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14189 arg2
= static_cast< wxFontFamily
>(val2
);
14191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14192 if (!SWIG_IsOK(ecode3
)) {
14193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14195 arg3
= static_cast< int >(val3
);
14199 arg4
= wxString_in_helper(obj3
);
14200 if (arg4
== NULL
) SWIG_fail
;
14205 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14206 if (!SWIG_IsOK(ecode5
)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14209 arg5
= static_cast< wxFontEncoding
>(val5
);
14212 if (!wxPyCheckForApp()) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14233 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14234 PyObject
*resultobj
= 0;
14235 wxFont
*arg1
= (wxFont
*) 0 ;
14239 PyObject
*swig_obj
[1] ;
14241 if (!args
) SWIG_fail
;
14242 swig_obj
[0] = args
;
14243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14244 if (!SWIG_IsOK(res1
)) {
14245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14247 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
= 0;
14265 wxFont
*arg1
= (wxFont
*) 0 ;
14266 wxFont
*arg2
= (wxFont
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 char * kwnames
[] = {
14275 (char *) "self",(char *) "other", NULL
14278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14280 if (!SWIG_IsOK(res1
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14283 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14285 if (!SWIG_IsOK(res2
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14288 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
= 0;
14306 wxFont
*arg1
= (wxFont
*) 0 ;
14307 wxFont
*arg2
= (wxFont
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char * kwnames
[] = {
14316 (char *) "self",(char *) "other", NULL
14319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14321 if (!SWIG_IsOK(res1
)) {
14322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14324 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14325 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14326 if (!SWIG_IsOK(res2
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14329 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14345 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14346 PyObject
*resultobj
= 0;
14347 wxFont
*arg1
= (wxFont
*) 0 ;
14351 PyObject
*swig_obj
[1] ;
14353 if (!args
) SWIG_fail
;
14354 swig_obj
[0] = args
;
14355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14356 if (!SWIG_IsOK(res1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14359 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14366 resultobj
= SWIG_From_int(static_cast< int >(result
));
14373 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14374 PyObject
*resultobj
= 0;
14375 wxFont
*arg1
= (wxFont
*) 0 ;
14379 PyObject
*swig_obj
[1] ;
14381 if (!args
) SWIG_fail
;
14382 swig_obj
[0] = args
;
14383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14384 if (!SWIG_IsOK(res1
)) {
14385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14387 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14401 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14402 PyObject
*resultobj
= 0;
14403 wxFont
*arg1
= (wxFont
*) 0 ;
14407 PyObject
*swig_obj
[1] ;
14409 if (!args
) SWIG_fail
;
14410 swig_obj
[0] = args
;
14411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14412 if (!SWIG_IsOK(res1
)) {
14413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14415 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14431 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14432 PyObject
*resultobj
= 0;
14433 wxFont
*arg1
= (wxFont
*) 0 ;
14437 PyObject
*swig_obj
[1] ;
14439 if (!args
) SWIG_fail
;
14440 swig_obj
[0] = args
;
14441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14442 if (!SWIG_IsOK(res1
)) {
14443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14445 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_From_int(static_cast< int >(result
));
14459 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14460 PyObject
*resultobj
= 0;
14461 wxFont
*arg1
= (wxFont
*) 0 ;
14465 PyObject
*swig_obj
[1] ;
14467 if (!args
) SWIG_fail
;
14468 swig_obj
[0] = args
;
14469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14470 if (!SWIG_IsOK(res1
)) {
14471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14473 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_From_int(static_cast< int >(result
));
14487 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14488 PyObject
*resultobj
= 0;
14489 wxFont
*arg1
= (wxFont
*) 0 ;
14493 PyObject
*swig_obj
[1] ;
14495 if (!args
) SWIG_fail
;
14496 swig_obj
[0] = args
;
14497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14498 if (!SWIG_IsOK(res1
)) {
14499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14501 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= SWIG_From_int(static_cast< int >(result
));
14515 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14516 PyObject
*resultobj
= 0;
14517 wxFont
*arg1
= (wxFont
*) 0 ;
14521 PyObject
*swig_obj
[1] ;
14523 if (!args
) SWIG_fail
;
14524 swig_obj
[0] = args
;
14525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14526 if (!SWIG_IsOK(res1
)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14529 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14546 PyObject
*resultobj
= 0;
14547 wxFont
*arg1
= (wxFont
*) 0 ;
14551 PyObject
*swig_obj
[1] ;
14553 if (!args
) SWIG_fail
;
14554 swig_obj
[0] = args
;
14555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14559 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= ((wxFont
const *)arg1
)->GetFaceName();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14579 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14580 PyObject
*resultobj
= 0;
14581 wxFont
*arg1
= (wxFont
*) 0 ;
14582 wxFontEncoding result
;
14585 PyObject
*swig_obj
[1] ;
14587 if (!args
) SWIG_fail
;
14588 swig_obj
[0] = args
;
14589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14590 if (!SWIG_IsOK(res1
)) {
14591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14593 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14600 resultobj
= SWIG_From_int(static_cast< int >(result
));
14607 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14608 PyObject
*resultobj
= 0;
14609 wxFont
*arg1
= (wxFont
*) 0 ;
14610 wxNativeFontInfo
*result
= 0 ;
14613 PyObject
*swig_obj
[1] ;
14615 if (!args
) SWIG_fail
;
14616 swig_obj
[0] = args
;
14617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14621 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14635 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14636 PyObject
*resultobj
= 0;
14637 wxFont
*arg1
= (wxFont
*) 0 ;
14641 PyObject
*swig_obj
[1] ;
14643 if (!args
) SWIG_fail
;
14644 swig_obj
[0] = args
;
14645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14646 if (!SWIG_IsOK(res1
)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14665 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14666 PyObject
*resultobj
= 0;
14667 wxFont
*arg1
= (wxFont
*) 0 ;
14671 PyObject
*swig_obj
[1] ;
14673 if (!args
) SWIG_fail
;
14674 swig_obj
[0] = args
;
14675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14679 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14699 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 PyObject
*resultobj
= 0;
14701 wxFont
*arg1
= (wxFont
*) 0 ;
14705 PyObject
*swig_obj
[1] ;
14707 if (!args
) SWIG_fail
;
14708 swig_obj
[0] = args
;
14709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14713 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14733 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
= 0;
14735 wxFont
*arg1
= (wxFont
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char * kwnames
[] = {
14744 (char *) "self",(char *) "pointSize", NULL
14747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14749 if (!SWIG_IsOK(res1
)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14752 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14754 if (!SWIG_IsOK(ecode2
)) {
14755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14757 arg2
= static_cast< int >(val2
);
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->SetPointSize(arg2
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_Py_Void();
14771 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
= 0;
14773 wxFont
*arg1
= (wxFont
*) 0 ;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 char * kwnames
[] = {
14781 (char *) "self",(char *) "pixelSize", NULL
14784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14786 if (!SWIG_IsOK(res1
)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14789 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14792 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_Py_Void();
14807 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
= 0;
14809 wxFont
*arg1
= (wxFont
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 PyObject
* obj1
= 0 ;
14817 char * kwnames
[] = {
14818 (char *) "self",(char *) "family", NULL
14821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14823 if (!SWIG_IsOK(res1
)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14826 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14828 if (!SWIG_IsOK(ecode2
)) {
14829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14831 arg2
= static_cast< int >(val2
);
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 (arg1
)->SetFamily(arg2
);
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_Py_Void();
14845 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
= 0;
14847 wxFont
*arg1
= (wxFont
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char * kwnames
[] = {
14856 (char *) "self",(char *) "style", NULL
14859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14861 if (!SWIG_IsOK(res1
)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14864 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14866 if (!SWIG_IsOK(ecode2
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14869 arg2
= static_cast< int >(val2
);
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->SetStyle(arg2
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_Py_Void();
14883 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
= 0;
14885 wxFont
*arg1
= (wxFont
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "weight", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14904 if (!SWIG_IsOK(ecode2
)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14907 arg2
= static_cast< int >(val2
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 (arg1
)->SetWeight(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_Py_Void();
14921 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
= 0;
14923 wxFont
*arg1
= (wxFont
*) 0 ;
14924 wxString
*arg2
= 0 ;
14928 bool temp2
= false ;
14929 PyObject
* obj0
= 0 ;
14930 PyObject
* obj1
= 0 ;
14931 char * kwnames
[] = {
14932 (char *) "self",(char *) "faceName", NULL
14935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14937 if (!SWIG_IsOK(res1
)) {
14938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14940 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14942 arg2
= wxString_in_helper(obj1
);
14943 if (arg2
== NULL
) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14969 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
= 0;
14971 wxFont
*arg1
= (wxFont
*) 0 ;
14977 PyObject
* obj0
= 0 ;
14978 PyObject
* obj1
= 0 ;
14979 char * kwnames
[] = {
14980 (char *) "self",(char *) "underlined", NULL
14983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14985 if (!SWIG_IsOK(res1
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14988 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14989 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14990 if (!SWIG_IsOK(ecode2
)) {
14991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14993 arg2
= static_cast< bool >(val2
);
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 (arg1
)->SetUnderlined(arg2
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= SWIG_Py_Void();
15007 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
= 0;
15009 wxFont
*arg1
= (wxFont
*) 0 ;
15010 wxFontEncoding arg2
;
15015 PyObject
* obj0
= 0 ;
15016 PyObject
* obj1
= 0 ;
15017 char * kwnames
[] = {
15018 (char *) "self",(char *) "encoding", NULL
15021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15026 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15028 if (!SWIG_IsOK(ecode2
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15031 arg2
= static_cast< wxFontEncoding
>(val2
);
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->SetEncoding(arg2
);
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_Py_Void();
15045 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
= 0;
15047 wxFont
*arg1
= (wxFont
*) 0 ;
15048 wxNativeFontInfo
*arg2
= 0 ;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 char * kwnames
[] = {
15056 (char *) "self",(char *) "info", NULL
15059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15064 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15066 if (!SWIG_IsOK(res2
)) {
15067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15072 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_Py_Void();
15086 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxFont
*arg1
= (wxFont
*) 0 ;
15089 wxString
*arg2
= 0 ;
15093 bool temp2
= false ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char * kwnames
[] = {
15097 (char *) "self",(char *) "info", NULL
15100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15105 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15107 arg2
= wxString_in_helper(obj1
);
15108 if (arg2
== NULL
) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15134 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15135 PyObject
*resultobj
= 0;
15136 wxFont
*arg1
= (wxFont
*) 0 ;
15137 wxString
*arg2
= 0 ;
15141 bool temp2
= false ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char * kwnames
[] = {
15145 (char *) "self",(char *) "info", NULL
15148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15153 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15155 arg2
= wxString_in_helper(obj1
);
15156 if (arg2
== NULL
) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15182 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15183 PyObject
*resultobj
= 0;
15184 wxFont
*arg1
= (wxFont
*) 0 ;
15188 PyObject
*swig_obj
[1] ;
15190 if (!args
) SWIG_fail
;
15191 swig_obj
[0] = args
;
15192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15193 if (!SWIG_IsOK(res1
)) {
15194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15196 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15216 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15217 PyObject
*resultobj
= 0;
15218 wxFont
*arg1
= (wxFont
*) 0 ;
15222 PyObject
*swig_obj
[1] ;
15224 if (!args
) SWIG_fail
;
15225 swig_obj
[0] = args
;
15226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15230 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= ((wxFont
const *)arg1
)->GetStyleString();
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15250 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15251 PyObject
*resultobj
= 0;
15252 wxFont
*arg1
= (wxFont
*) 0 ;
15256 PyObject
*swig_obj
[1] ;
15258 if (!args
) SWIG_fail
;
15259 swig_obj
[0] = args
;
15260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15261 if (!SWIG_IsOK(res1
)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15264 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 result
= ((wxFont
const *)arg1
)->GetWeightString();
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15284 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
= 0;
15286 wxFont
*arg1
= (wxFont
*) 0 ;
15287 bool arg2
= (bool) true ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 char * kwnames
[] = {
15295 (char *) "self",(char *) "no", NULL
15298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15300 if (!SWIG_IsOK(res1
)) {
15301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15303 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15305 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15306 if (!SWIG_IsOK(ecode2
)) {
15307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15309 arg2
= static_cast< bool >(val2
);
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 (arg1
)->SetNoAntiAliasing(arg2
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= SWIG_Py_Void();
15324 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15325 PyObject
*resultobj
= 0;
15326 wxFont
*arg1
= (wxFont
*) 0 ;
15330 PyObject
*swig_obj
[1] ;
15332 if (!args
) SWIG_fail
;
15333 swig_obj
[0] = args
;
15334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15335 if (!SWIG_IsOK(res1
)) {
15336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15338 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15354 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15355 PyObject
*resultobj
= 0;
15356 wxFontEncoding result
;
15358 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15360 if (!wxPyCheckForApp()) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= SWIG_From_int(static_cast< int >(result
));
15373 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15374 PyObject
*resultobj
= 0;
15375 wxFontEncoding arg1
;
15378 PyObject
* obj0
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "encoding", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15385 if (!SWIG_IsOK(ecode1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15388 arg1
= static_cast< wxFontEncoding
>(val1
);
15390 if (!wxPyCheckForApp()) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 wxFont::SetDefaultEncoding(arg1
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_Py_Void();
15403 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15406 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15407 return SWIG_Py_Void();
15410 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15411 return SWIG_Python_InitShadowInstance(args
);
15414 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15415 PyObject
*resultobj
= 0;
15416 wxPyFontEnumerator
*result
= 0 ;
15418 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15420 if (!wxPyCheckForApp()) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15433 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15434 PyObject
*resultobj
= 0;
15435 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15438 PyObject
*swig_obj
[1] ;
15440 if (!args
) SWIG_fail
;
15441 swig_obj
[0] = args
;
15442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15446 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_Py_Void();
15461 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
= 0;
15463 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15464 PyObject
*arg2
= (PyObject
*) 0 ;
15465 PyObject
*arg3
= (PyObject
*) 0 ;
15466 int arg4
= (int) 0 ;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 PyObject
* obj2
= 0 ;
15474 PyObject
* obj3
= 0 ;
15475 char * kwnames
[] = {
15476 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15484 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15489 if (!SWIG_IsOK(ecode4
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15492 arg4
= static_cast< int >(val4
);
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= SWIG_Py_Void();
15507 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
= 0;
15509 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15510 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15511 bool arg3
= (bool) false ;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 PyObject
* obj2
= 0 ;
15522 char * kwnames
[] = {
15523 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15528 if (!SWIG_IsOK(res1
)) {
15529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15531 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15534 if (!SWIG_IsOK(ecode2
)) {
15535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15537 arg2
= static_cast< wxFontEncoding
>(val2
);
15540 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15541 if (!SWIG_IsOK(ecode3
)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15544 arg3
= static_cast< bool >(val3
);
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15561 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
= 0;
15563 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15564 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15565 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15569 bool temp2
= false ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 char * kwnames
[] = {
15573 (char *) "self",(char *) "facename", NULL
15576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15578 if (!SWIG_IsOK(res1
)) {
15579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15581 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15584 arg2
= wxString_in_helper(obj1
);
15585 if (arg2
== NULL
) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15612 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 PyObject
*resultobj
= 0;
15614 PyObject
*result
= 0 ;
15616 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= result
;
15630 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15631 PyObject
*resultobj
= 0;
15632 PyObject
*result
= 0 ;
15634 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= result
;
15648 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
= 0;
15650 wxString
*arg1
= 0 ;
15652 bool temp1
= false ;
15653 PyObject
* obj0
= 0 ;
15654 char * kwnames
[] = {
15655 (char *) "str", NULL
15658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15660 arg1
= wxString_in_helper(obj0
);
15661 if (arg1
== NULL
) SWIG_fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15687 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15690 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15691 return SWIG_Py_Void();
15694 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15695 return SWIG_Python_InitShadowInstance(args
);
15698 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 PyObject
*resultobj
= 0;
15700 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15706 PyObject
*swig_obj
[2] ;
15708 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15710 if (!SWIG_IsOK(res1
)) {
15711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15713 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15714 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15715 if (!SWIG_IsOK(ecode2
)) {
15716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15718 arg2
= static_cast< int >(val2
);
15719 if (arg1
) (arg1
)->Language
= arg2
;
15721 resultobj
= SWIG_Py_Void();
15728 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15729 PyObject
*resultobj
= 0;
15730 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15734 PyObject
*swig_obj
[1] ;
15736 if (!args
) SWIG_fail
;
15737 swig_obj
[0] = args
;
15738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15739 if (!SWIG_IsOK(res1
)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15742 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15743 result
= (int) ((arg1
)->Language
);
15744 resultobj
= SWIG_From_int(static_cast< int >(result
));
15751 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15752 PyObject
*resultobj
= 0;
15753 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15754 wxString
*arg2
= (wxString
*) 0 ;
15757 bool temp2
= false ;
15758 PyObject
*swig_obj
[2] ;
15760 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15765 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15767 arg2
= wxString_in_helper(swig_obj
[1]);
15768 if (arg2
== NULL
) SWIG_fail
;
15771 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15773 resultobj
= SWIG_Py_Void();
15788 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15789 PyObject
*resultobj
= 0;
15790 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15791 wxString
*result
= 0 ;
15794 PyObject
*swig_obj
[1] ;
15796 if (!args
) SWIG_fail
;
15797 swig_obj
[0] = args
;
15798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15799 if (!SWIG_IsOK(res1
)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15802 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15803 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15806 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15808 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15817 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15818 PyObject
*resultobj
= 0;
15819 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15820 wxString
*arg2
= (wxString
*) 0 ;
15823 bool temp2
= false ;
15824 PyObject
*swig_obj
[2] ;
15826 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15828 if (!SWIG_IsOK(res1
)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15831 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15833 arg2
= wxString_in_helper(swig_obj
[1]);
15834 if (arg2
== NULL
) SWIG_fail
;
15837 if (arg1
) (arg1
)->Description
= *arg2
;
15839 resultobj
= SWIG_Py_Void();
15854 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15855 PyObject
*resultobj
= 0;
15856 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15857 wxString
*result
= 0 ;
15860 PyObject
*swig_obj
[1] ;
15862 if (!args
) SWIG_fail
;
15863 swig_obj
[0] = args
;
15864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15868 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15869 result
= (wxString
*)& ((arg1
)->Description
);
15872 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15874 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15883 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15886 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15887 return SWIG_Py_Void();
15890 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
= 0;
15892 int arg1
= (int) -1 ;
15893 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15894 wxLocale
*result
= 0 ;
15899 PyObject
* obj0
= 0 ;
15900 PyObject
* obj1
= 0 ;
15901 char * kwnames
[] = {
15902 (char *) "language",(char *) "flags", NULL
15905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15908 if (!SWIG_IsOK(ecode1
)) {
15909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15911 arg1
= static_cast< int >(val1
);
15914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15915 if (!SWIG_IsOK(ecode2
)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15918 arg2
= static_cast< int >(val2
);
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15933 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxLocale
*arg1
= (wxLocale
*) 0 ;
15938 PyObject
*swig_obj
[1] ;
15940 if (!args
) SWIG_fail
;
15941 swig_obj
[0] = args
;
15942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15943 if (!SWIG_IsOK(res1
)) {
15944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15946 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_Py_Void();
15961 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
= 0;
15963 wxLocale
*arg1
= (wxLocale
*) 0 ;
15964 wxString
*arg2
= 0 ;
15965 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15966 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15969 bool arg5
= (bool) true ;
15970 bool arg6
= (bool) false ;
15974 bool temp2
= false ;
15975 bool temp3
= false ;
15976 bool temp4
= false ;
15981 PyObject
* obj0
= 0 ;
15982 PyObject
* obj1
= 0 ;
15983 PyObject
* obj2
= 0 ;
15984 PyObject
* obj3
= 0 ;
15985 PyObject
* obj4
= 0 ;
15986 PyObject
* obj5
= 0 ;
15987 char * kwnames
[] = {
15988 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15996 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15998 arg2
= wxString_in_helper(obj1
);
15999 if (arg2
== NULL
) SWIG_fail
;
16004 arg3
= wxString_in_helper(obj2
);
16005 if (arg3
== NULL
) SWIG_fail
;
16011 arg4
= wxString_in_helper(obj3
);
16012 if (arg4
== NULL
) SWIG_fail
;
16017 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16018 if (!SWIG_IsOK(ecode5
)) {
16019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16021 arg5
= static_cast< bool >(val5
);
16024 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16025 if (!SWIG_IsOK(ecode6
)) {
16026 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16028 arg6
= static_cast< bool >(val6
);
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16069 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
= 0;
16071 wxLocale
*arg1
= (wxLocale
*) 0 ;
16072 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16073 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 PyObject
* obj2
= 0 ;
16084 char * kwnames
[] = {
16085 (char *) "self",(char *) "language",(char *) "flags", NULL
16088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16090 if (!SWIG_IsOK(res1
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16093 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16096 if (!SWIG_IsOK(ecode2
)) {
16097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16099 arg2
= static_cast< int >(val2
);
16102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16103 if (!SWIG_IsOK(ecode3
)) {
16104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16106 arg3
= static_cast< int >(val3
);
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16123 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16124 PyObject
*resultobj
= 0;
16127 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (int)wxLocale::GetSystemLanguage();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_From_int(static_cast< int >(result
));
16141 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 PyObject
*resultobj
= 0;
16143 wxFontEncoding result
;
16145 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_From_int(static_cast< int >(result
));
16159 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16160 PyObject
*resultobj
= 0;
16163 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= wxLocale::GetSystemEncodingName();
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16183 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16184 PyObject
*resultobj
= 0;
16185 wxLocale
*arg1
= (wxLocale
*) 0 ;
16189 PyObject
*swig_obj
[1] ;
16191 if (!args
) SWIG_fail
;
16192 swig_obj
[0] = args
;
16193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16194 if (!SWIG_IsOK(res1
)) {
16195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16197 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16213 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16214 PyObject
*resultobj
= 0;
16215 wxLocale
*arg1
= (wxLocale
*) 0 ;
16219 PyObject
*swig_obj
[1] ;
16221 if (!args
) SWIG_fail
;
16222 swig_obj
[0] = args
;
16223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16224 if (!SWIG_IsOK(res1
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16227 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= ((wxLocale
const *)arg1
)->GetLocale();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16247 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16248 PyObject
*resultobj
= 0;
16249 wxLocale
*arg1
= (wxLocale
*) 0 ;
16253 PyObject
*swig_obj
[1] ;
16255 if (!args
) SWIG_fail
;
16256 swig_obj
[0] = args
;
16257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16258 if (!SWIG_IsOK(res1
)) {
16259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16261 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= SWIG_From_int(static_cast< int >(result
));
16275 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16276 PyObject
*resultobj
= 0;
16277 wxLocale
*arg1
= (wxLocale
*) 0 ;
16281 PyObject
*swig_obj
[1] ;
16283 if (!args
) SWIG_fail
;
16284 swig_obj
[0] = args
;
16285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16286 if (!SWIG_IsOK(res1
)) {
16287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16289 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= ((wxLocale
const *)arg1
)->GetSysName();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16309 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16310 PyObject
*resultobj
= 0;
16311 wxLocale
*arg1
= (wxLocale
*) 0 ;
16315 PyObject
*swig_obj
[1] ;
16317 if (!args
) SWIG_fail
;
16318 swig_obj
[0] = args
;
16319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16320 if (!SWIG_IsOK(res1
)) {
16321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16323 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16343 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
= 0;
16345 wxString
*arg1
= 0 ;
16346 bool temp1
= false ;
16347 PyObject
* obj0
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "prefix", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16354 arg1
= wxString_in_helper(obj0
);
16355 if (arg1
== NULL
) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= SWIG_Py_Void();
16379 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
= 0;
16381 wxLocale
*arg1
= (wxLocale
*) 0 ;
16382 wxString
*arg2
= 0 ;
16386 bool temp2
= false ;
16387 PyObject
* obj0
= 0 ;
16388 PyObject
* obj1
= 0 ;
16389 char * kwnames
[] = {
16390 (char *) "self",(char *) "szDomain", NULL
16393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16395 if (!SWIG_IsOK(res1
)) {
16396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16398 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16400 arg2
= wxString_in_helper(obj1
);
16401 if (arg2
== NULL
) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16427 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
= 0;
16433 PyObject
* obj0
= 0 ;
16434 char * kwnames
[] = {
16435 (char *) "lang", NULL
16438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16440 if (!SWIG_IsOK(ecode1
)) {
16441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16443 arg1
= static_cast< int >(val1
);
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (bool)wxLocale::IsAvailable(arg1
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16459 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
= 0;
16461 wxLocale
*arg1
= (wxLocale
*) 0 ;
16462 wxString
*arg2
= 0 ;
16466 bool temp2
= false ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 char * kwnames
[] = {
16470 (char *) "self",(char *) "szDomain", NULL
16473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16475 if (!SWIG_IsOK(res1
)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16478 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16480 arg2
= wxString_in_helper(obj1
);
16481 if (arg2
== NULL
) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
= 0;
16510 wxLanguageInfo
*result
= 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char * kwnames
[] = {
16515 (char *) "lang", NULL
16518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16519 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16520 if (!SWIG_IsOK(ecode1
)) {
16521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16523 arg1
= static_cast< int >(val1
);
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16537 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
= 0;
16543 PyObject
* obj0
= 0 ;
16544 char * kwnames
[] = {
16545 (char *) "lang", NULL
16548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16550 if (!SWIG_IsOK(ecode1
)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16553 arg1
= static_cast< int >(val1
);
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= wxLocale::GetLanguageName(arg1
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16573 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
= 0;
16575 wxString
*arg1
= 0 ;
16576 wxLanguageInfo
*result
= 0 ;
16577 bool temp1
= false ;
16578 PyObject
* obj0
= 0 ;
16579 char * kwnames
[] = {
16580 (char *) "locale", NULL
16583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16585 arg1
= wxString_in_helper(obj0
);
16586 if (arg1
== NULL
) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16610 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
= 0;
16612 wxLanguageInfo
*arg1
= 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char * kwnames
[] = {
16617 (char *) "info", NULL
16620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16621 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16622 if (!SWIG_IsOK(res1
)) {
16623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16628 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= SWIG_Py_Void();
16642 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
= 0;
16644 wxLocale
*arg1
= (wxLocale
*) 0 ;
16645 wxString
*arg2
= 0 ;
16646 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16647 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16651 bool temp2
= false ;
16652 bool temp3
= false ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 PyObject
* obj2
= 0 ;
16656 char * kwnames
[] = {
16657 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16662 if (!SWIG_IsOK(res1
)) {
16663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16665 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16667 arg2
= wxString_in_helper(obj1
);
16668 if (arg2
== NULL
) SWIG_fail
;
16673 arg3
= wxString_in_helper(obj2
);
16674 if (arg3
== NULL
) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16713 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16714 PyObject
*resultobj
= 0;
16715 wxLocale
*arg1
= (wxLocale
*) 0 ;
16716 wxString
*result
= 0 ;
16719 PyObject
*swig_obj
[1] ;
16721 if (!args
) SWIG_fail
;
16722 swig_obj
[0] = args
;
16723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16724 if (!SWIG_IsOK(res1
)) {
16725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16727 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16732 result
= (wxString
*) &_result_ref
;
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16750 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16753 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16754 return SWIG_Py_Void();
16757 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16758 return SWIG_Python_InitShadowInstance(args
);
16761 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
= 0;
16763 int arg1
= (int) -1 ;
16764 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16765 wxPyLocale
*result
= 0 ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 char * kwnames
[] = {
16773 (char *) "language",(char *) "flags", NULL
16776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16779 if (!SWIG_IsOK(ecode1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16782 arg1
= static_cast< int >(val1
);
16785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16786 if (!SWIG_IsOK(ecode2
)) {
16787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16789 arg2
= static_cast< int >(val2
);
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16804 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16805 PyObject
*resultobj
= 0;
16806 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16809 PyObject
*swig_obj
[1] ;
16811 if (!args
) SWIG_fail
;
16812 swig_obj
[0] = args
;
16813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16814 if (!SWIG_IsOK(res1
)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16817 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 wxPyEndAllowThreads(__tstate
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16825 resultobj
= SWIG_Py_Void();
16832 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
= 0;
16834 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16835 PyObject
*arg2
= (PyObject
*) 0 ;
16836 PyObject
*arg3
= (PyObject
*) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 PyObject
* obj2
= 0 ;
16842 char * kwnames
[] = {
16843 (char *) "self",(char *) "self",(char *) "_class", NULL
16846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16848 if (!SWIG_IsOK(res1
)) {
16849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16851 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= SWIG_Py_Void();
16867 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
= 0;
16869 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16870 wxChar
*arg2
= (wxChar
*) 0 ;
16871 wxChar
*arg3
= (wxChar
*) NULL
;
16872 wxChar
*result
= 0 ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 PyObject
* obj2
= 0 ;
16882 char * kwnames
[] = {
16883 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16888 if (!SWIG_IsOK(res1
)) {
16889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16891 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16893 if (!SWIG_IsOK(res2
)) {
16894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16896 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16898 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16899 if (!SWIG_IsOK(res3
)) {
16900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16902 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16917 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
= 0;
16919 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16920 wxChar
*arg2
= (wxChar
*) 0 ;
16921 wxChar
*arg3
= (wxChar
*) 0 ;
16923 wxChar
*arg5
= (wxChar
*) NULL
;
16924 wxChar
*result
= 0 ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 PyObject
* obj2
= 0 ;
16938 PyObject
* obj3
= 0 ;
16939 PyObject
* obj4
= 0 ;
16940 char * kwnames
[] = {
16941 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16949 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16951 if (!SWIG_IsOK(res2
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16954 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16955 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16956 if (!SWIG_IsOK(res3
)) {
16957 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16959 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16960 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16961 if (!SWIG_IsOK(ecode4
)) {
16962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16964 arg4
= static_cast< size_t >(val4
);
16966 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16967 if (!SWIG_IsOK(res5
)) {
16968 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16970 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16985 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16988 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16989 return SWIG_Py_Void();
16992 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16993 return SWIG_Python_InitShadowInstance(args
);
16996 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16997 PyObject
*resultobj
= 0;
16998 wxLocale
*result
= 0 ;
17000 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (wxLocale
*)wxGetLocale();
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17014 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17015 PyObject
*resultobj
= 0;
17016 wxString
*arg1
= 0 ;
17018 bool temp1
= false ;
17020 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17022 arg1
= wxString_in_helper(swig_obj
[0]);
17023 if (arg1
== NULL
) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= wxGetTranslation((wxString
const &)*arg1
);
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17053 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17054 PyObject
*resultobj
= 0;
17055 wxString
*arg1
= 0 ;
17056 wxString
*arg2
= 0 ;
17058 bool temp1
= false ;
17059 bool temp2
= false ;
17061 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17063 arg1
= wxString_in_helper(swig_obj
[0]);
17064 if (arg1
== NULL
) SWIG_fail
;
17068 arg2
= wxString_in_helper(swig_obj
[1]);
17069 if (arg2
== NULL
) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17107 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17108 PyObject
*resultobj
= 0;
17109 wxString
*arg1
= 0 ;
17110 wxString
*arg2
= 0 ;
17113 bool temp1
= false ;
17114 bool temp2
= false ;
17118 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17120 arg1
= wxString_in_helper(swig_obj
[0]);
17121 if (arg1
== NULL
) SWIG_fail
;
17125 arg2
= wxString_in_helper(swig_obj
[1]);
17126 if (arg2
== NULL
) SWIG_fail
;
17129 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17130 if (!SWIG_IsOK(ecode3
)) {
17131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17133 arg3
= static_cast< size_t >(val3
);
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17169 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17170 PyObject
*resultobj
= 0;
17171 wxString
*arg1
= 0 ;
17172 wxString
*arg2
= 0 ;
17174 wxString
*arg4
= 0 ;
17176 bool temp1
= false ;
17177 bool temp2
= false ;
17180 bool temp4
= false ;
17182 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17184 arg1
= wxString_in_helper(swig_obj
[0]);
17185 if (arg1
== NULL
) SWIG_fail
;
17189 arg2
= wxString_in_helper(swig_obj
[1]);
17190 if (arg2
== NULL
) SWIG_fail
;
17193 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17194 if (!SWIG_IsOK(ecode3
)) {
17195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17197 arg3
= static_cast< size_t >(val3
);
17199 arg4
= wxString_in_helper(swig_obj
[3]);
17200 if (arg4
== NULL
) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17246 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17250 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17253 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17256 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17259 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17262 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17266 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17271 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17272 PyObject
*resultobj
= 0;
17273 wxEncodingConverter
*result
= 0 ;
17275 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17289 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17290 PyObject
*resultobj
= 0;
17291 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17294 PyObject
*swig_obj
[1] ;
17296 if (!args
) SWIG_fail
;
17297 swig_obj
[0] = args
;
17298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17299 if (!SWIG_IsOK(res1
)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17302 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= SWIG_Py_Void();
17317 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17318 PyObject
*resultobj
= 0;
17319 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17320 wxFontEncoding arg2
;
17321 wxFontEncoding arg3
;
17322 int arg4
= (int) wxCONVERT_STRICT
;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 PyObject
* obj2
= 0 ;
17335 PyObject
* obj3
= 0 ;
17336 char * kwnames
[] = {
17337 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17342 if (!SWIG_IsOK(res1
)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17345 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17347 if (!SWIG_IsOK(ecode2
)) {
17348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17350 arg2
= static_cast< wxFontEncoding
>(val2
);
17351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17352 if (!SWIG_IsOK(ecode3
)) {
17353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17355 arg3
= static_cast< wxFontEncoding
>(val3
);
17357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17358 if (!SWIG_IsOK(ecode4
)) {
17359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17361 arg4
= static_cast< int >(val4
);
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17378 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
= 0;
17380 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17381 wxString
*arg2
= 0 ;
17385 bool temp2
= false ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 char * kwnames
[] = {
17389 (char *) "self",(char *) "input", NULL
17392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17394 if (!SWIG_IsOK(res1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17397 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17399 arg2
= wxString_in_helper(obj1
);
17400 if (arg2
== NULL
) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17430 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
= 0;
17432 wxFontEncoding arg1
;
17433 int arg2
= (int) wxPLATFORM_CURRENT
;
17434 wxFontEncodingArray result
;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 char * kwnames
[] = {
17442 (char *) "enc",(char *) "platform", NULL
17445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17446 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17447 if (!SWIG_IsOK(ecode1
)) {
17448 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17450 arg1
= static_cast< wxFontEncoding
>(val1
);
17452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17453 if (!SWIG_IsOK(ecode2
)) {
17454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17456 arg2
= static_cast< int >(val2
);
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= PyList_New(0);
17466 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17467 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17468 PyList_Append(resultobj
, number
);
17478 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
= 0;
17480 wxFontEncoding arg1
;
17481 wxFontEncodingArray result
;
17484 PyObject
* obj0
= 0 ;
17485 char * kwnames
[] = {
17486 (char *) "enc", NULL
17489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17490 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17491 if (!SWIG_IsOK(ecode1
)) {
17492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17494 arg1
= static_cast< wxFontEncoding
>(val1
);
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= PyList_New(0);
17503 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17504 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17505 PyList_Append(resultobj
, number
);
17515 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
= 0;
17517 wxFontEncoding arg1
;
17518 wxFontEncoding arg2
;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char * kwnames
[] = {
17527 (char *) "encIn",(char *) "encOut", NULL
17530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17531 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17532 if (!SWIG_IsOK(ecode1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17535 arg1
= static_cast< wxFontEncoding
>(val1
);
17536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17537 if (!SWIG_IsOK(ecode2
)) {
17538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17540 arg2
= static_cast< wxFontEncoding
>(val2
);
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17556 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17559 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17560 return SWIG_Py_Void();
17563 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17564 return SWIG_Python_InitShadowInstance(args
);
17567 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17568 PyObject
*resultobj
= 0;
17569 wxDC
*arg1
= (wxDC
*) 0 ;
17572 PyObject
*swig_obj
[1] ;
17574 if (!args
) SWIG_fail
;
17575 swig_obj
[0] = args
;
17576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17577 if (!SWIG_IsOK(res1
)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 resultobj
= SWIG_Py_Void();
17595 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
= 0;
17597 wxDC
*arg1
= (wxDC
*) 0 ;
17600 wxColour
*arg4
= 0 ;
17601 int arg5
= (int) wxFLOOD_SURFACE
;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 PyObject
* obj2
= 0 ;
17615 PyObject
* obj3
= 0 ;
17616 PyObject
* obj4
= 0 ;
17617 char * kwnames
[] = {
17618 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17623 if (!SWIG_IsOK(res1
)) {
17624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17628 if (!SWIG_IsOK(ecode2
)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17631 arg2
= static_cast< int >(val2
);
17632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17633 if (!SWIG_IsOK(ecode3
)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17636 arg3
= static_cast< int >(val3
);
17639 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17643 if (!SWIG_IsOK(ecode5
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17646 arg5
= static_cast< int >(val5
);
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17663 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
= 0;
17665 wxDC
*arg1
= (wxDC
*) 0 ;
17666 wxPoint
*arg2
= 0 ;
17667 wxColour
*arg3
= 0 ;
17668 int arg4
= (int) wxFLOOD_SURFACE
;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 PyObject
* obj2
= 0 ;
17679 PyObject
* obj3
= 0 ;
17680 char * kwnames
[] = {
17681 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17686 if (!SWIG_IsOK(res1
)) {
17687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17696 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17700 if (!SWIG_IsOK(ecode4
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17703 arg4
= static_cast< int >(val4
);
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17720 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
= 0;
17722 wxDC
*arg1
= (wxDC
*) 0 ;
17724 wxColour
*arg3
= 0 ;
17725 wxColour
*arg4
= 0 ;
17726 wxPoint
*arg5
= 0 ;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj2
= 0 ;
17736 PyObject
* obj3
= 0 ;
17737 PyObject
* obj4
= 0 ;
17738 char * kwnames
[] = {
17739 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17744 if (!SWIG_IsOK(res1
)) {
17745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17750 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17754 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17758 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17762 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_Py_Void();
17777 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
= 0;
17779 wxDC
*arg1
= (wxDC
*) 0 ;
17781 wxColour
*arg3
= 0 ;
17782 wxColour
*arg4
= 0 ;
17783 wxDirection arg5
= (wxDirection
) wxEAST
;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 PyObject
* obj2
= 0 ;
17794 PyObject
* obj3
= 0 ;
17795 PyObject
* obj4
= 0 ;
17796 char * kwnames
[] = {
17797 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17802 if (!SWIG_IsOK(res1
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17808 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17812 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17816 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17819 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17820 if (!SWIG_IsOK(ecode5
)) {
17821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17823 arg5
= static_cast< wxDirection
>(val5
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_Py_Void();
17838 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
= 0;
17840 wxDC
*arg1
= (wxDC
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 PyObject
* obj2
= 0 ;
17853 char * kwnames
[] = {
17854 (char *) "self",(char *) "x",(char *) "y", NULL
17857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17859 if (!SWIG_IsOK(res1
)) {
17860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17864 if (!SWIG_IsOK(ecode2
)) {
17865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17867 arg2
= static_cast< int >(val2
);
17868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17869 if (!SWIG_IsOK(ecode3
)) {
17870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17872 arg3
= static_cast< int >(val3
);
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17886 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
= 0;
17888 wxDC
*arg1
= (wxDC
*) 0 ;
17889 wxPoint
*arg2
= 0 ;
17894 PyObject
* obj0
= 0 ;
17895 PyObject
* obj1
= 0 ;
17896 char * kwnames
[] = {
17897 (char *) "self",(char *) "pt", NULL
17900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17902 if (!SWIG_IsOK(res1
)) {
17903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17923 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17924 PyObject
*resultobj
= 0;
17925 wxDC
*arg1
= (wxDC
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 PyObject
* obj2
= 0 ;
17943 PyObject
* obj3
= 0 ;
17944 PyObject
* obj4
= 0 ;
17945 char * kwnames
[] = {
17946 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17951 if (!SWIG_IsOK(res1
)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17956 if (!SWIG_IsOK(ecode2
)) {
17957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17959 arg2
= static_cast< int >(val2
);
17960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17961 if (!SWIG_IsOK(ecode3
)) {
17962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17964 arg3
= static_cast< int >(val3
);
17965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17966 if (!SWIG_IsOK(ecode4
)) {
17967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17969 arg4
= static_cast< int >(val4
);
17970 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17971 if (!SWIG_IsOK(ecode5
)) {
17972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17974 arg5
= static_cast< int >(val5
);
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_Py_Void();
17988 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17989 PyObject
*resultobj
= 0;
17990 wxDC
*arg1
= (wxDC
*) 0 ;
17991 wxPoint
*arg2
= 0 ;
17992 wxPoint
*arg3
= 0 ;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 PyObject
* obj2
= 0 ;
18000 char * kwnames
[] = {
18001 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= SWIG_Py_Void();
18031 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
= 0;
18033 wxDC
*arg1
= (wxDC
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 PyObject
* obj1
= 0 ;
18044 PyObject
* obj2
= 0 ;
18045 char * kwnames
[] = {
18046 (char *) "self",(char *) "x",(char *) "y", NULL
18049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18056 if (!SWIG_IsOK(ecode2
)) {
18057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18059 arg2
= static_cast< int >(val2
);
18060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18061 if (!SWIG_IsOK(ecode3
)) {
18062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18064 arg3
= static_cast< int >(val3
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->CrossHair(arg2
,arg3
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_Py_Void();
18078 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
= 0;
18080 wxDC
*arg1
= (wxDC
*) 0 ;
18081 wxPoint
*arg2
= 0 ;
18085 PyObject
* obj0
= 0 ;
18086 PyObject
* obj1
= 0 ;
18087 char * kwnames
[] = {
18088 (char *) "self",(char *) "pt", NULL
18091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18093 if (!SWIG_IsOK(res1
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_Py_Void();
18114 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
= 0;
18116 wxDC
*arg1
= (wxDC
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 PyObject
* obj2
= 0 ;
18140 PyObject
* obj3
= 0 ;
18141 PyObject
* obj4
= 0 ;
18142 PyObject
* obj5
= 0 ;
18143 PyObject
* obj6
= 0 ;
18144 char * kwnames
[] = {
18145 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18150 if (!SWIG_IsOK(res1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18155 if (!SWIG_IsOK(ecode2
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18158 arg2
= static_cast< int >(val2
);
18159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18160 if (!SWIG_IsOK(ecode3
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18163 arg3
= static_cast< int >(val3
);
18164 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18165 if (!SWIG_IsOK(ecode4
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18168 arg4
= static_cast< int >(val4
);
18169 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18170 if (!SWIG_IsOK(ecode5
)) {
18171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18173 arg5
= static_cast< int >(val5
);
18174 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18175 if (!SWIG_IsOK(ecode6
)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18178 arg6
= static_cast< int >(val6
);
18179 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18180 if (!SWIG_IsOK(ecode7
)) {
18181 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18183 arg7
= static_cast< int >(val7
);
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_Py_Void();
18197 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
= 0;
18199 wxDC
*arg1
= (wxDC
*) 0 ;
18200 wxPoint
*arg2
= 0 ;
18201 wxPoint
*arg3
= 0 ;
18202 wxPoint
*arg4
= 0 ;
18208 PyObject
* obj0
= 0 ;
18209 PyObject
* obj1
= 0 ;
18210 PyObject
* obj2
= 0 ;
18211 PyObject
* obj3
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= SWIG_Py_Void();
18247 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
= 0;
18249 wxDC
*arg1
= (wxDC
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 PyObject
* obj1
= 0 ;
18266 PyObject
* obj2
= 0 ;
18267 PyObject
* obj3
= 0 ;
18268 PyObject
* obj4
= 0 ;
18269 char * kwnames
[] = {
18270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18275 if (!SWIG_IsOK(res1
)) {
18276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18280 if (!SWIG_IsOK(ecode2
)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18283 arg2
= static_cast< int >(val2
);
18284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18285 if (!SWIG_IsOK(ecode3
)) {
18286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18288 arg3
= static_cast< int >(val3
);
18289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18290 if (!SWIG_IsOK(ecode4
)) {
18291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18293 arg4
= static_cast< int >(val4
);
18294 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18295 if (!SWIG_IsOK(ecode5
)) {
18296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18298 arg5
= static_cast< int >(val5
);
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_Py_Void();
18312 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
= 0;
18314 wxDC
*arg1
= (wxDC
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 char * kwnames
[] = {
18322 (char *) "self",(char *) "rect", NULL
18325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18333 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_Py_Void();
18348 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
= 0;
18350 wxDC
*arg1
= (wxDC
*) 0 ;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 PyObject
* obj2
= 0 ;
18374 PyObject
* obj3
= 0 ;
18375 PyObject
* obj4
= 0 ;
18376 PyObject
* obj5
= 0 ;
18377 PyObject
* obj6
= 0 ;
18378 char * kwnames
[] = {
18379 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18384 if (!SWIG_IsOK(res1
)) {
18385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18389 if (!SWIG_IsOK(ecode2
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18392 arg2
= static_cast< int >(val2
);
18393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18394 if (!SWIG_IsOK(ecode3
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18397 arg3
= static_cast< int >(val3
);
18398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18399 if (!SWIG_IsOK(ecode4
)) {
18400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18402 arg4
= static_cast< int >(val4
);
18403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18404 if (!SWIG_IsOK(ecode5
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18407 arg5
= static_cast< int >(val5
);
18408 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18409 if (!SWIG_IsOK(ecode6
)) {
18410 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18412 arg6
= static_cast< double >(val6
);
18413 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18414 if (!SWIG_IsOK(ecode7
)) {
18415 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18417 arg7
= static_cast< double >(val7
);
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_Py_Void();
18431 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
= 0;
18433 wxDC
*arg1
= (wxDC
*) 0 ;
18434 wxPoint
*arg2
= 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 PyObject
* obj3
= 0 ;
18450 PyObject
* obj4
= 0 ;
18451 char * kwnames
[] = {
18452 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18457 if (!SWIG_IsOK(res1
)) {
18458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18467 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18469 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18470 if (!SWIG_IsOK(ecode4
)) {
18471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18473 arg4
= static_cast< double >(val4
);
18474 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18475 if (!SWIG_IsOK(ecode5
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18478 arg5
= static_cast< double >(val5
);
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_Py_Void();
18492 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
= 0;
18494 wxDC
*arg1
= (wxDC
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 PyObject
* obj2
= 0 ;
18506 char * kwnames
[] = {
18507 (char *) "self",(char *) "x",(char *) "y", NULL
18510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18517 if (!SWIG_IsOK(ecode2
)) {
18518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18520 arg2
= static_cast< int >(val2
);
18521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18522 if (!SWIG_IsOK(ecode3
)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18525 arg3
= static_cast< int >(val3
);
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->DrawPoint(arg2
,arg3
);
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_Py_Void();
18539 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
= 0;
18541 wxDC
*arg1
= (wxDC
*) 0 ;
18542 wxPoint
*arg2
= 0 ;
18546 PyObject
* obj0
= 0 ;
18547 PyObject
* obj1
= 0 ;
18548 char * kwnames
[] = {
18549 (char *) "self",(char *) "pt", NULL
18552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18554 if (!SWIG_IsOK(res1
)) {
18555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18560 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18568 resultobj
= SWIG_Py_Void();
18575 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
= 0;
18577 wxDC
*arg1
= (wxDC
*) 0 ;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 PyObject
* obj2
= 0 ;
18595 PyObject
* obj3
= 0 ;
18596 PyObject
* obj4
= 0 ;
18597 char * kwnames
[] = {
18598 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18603 if (!SWIG_IsOK(res1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18608 if (!SWIG_IsOK(ecode2
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18611 arg2
= static_cast< int >(val2
);
18612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18613 if (!SWIG_IsOK(ecode3
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18616 arg3
= static_cast< int >(val3
);
18617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18618 if (!SWIG_IsOK(ecode4
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18621 arg4
= static_cast< int >(val4
);
18622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18623 if (!SWIG_IsOK(ecode5
)) {
18624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18626 arg5
= static_cast< int >(val5
);
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_Py_Void();
18640 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
= 0;
18642 wxDC
*arg1
= (wxDC
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 PyObject
* obj1
= 0 ;
18649 char * kwnames
[] = {
18650 (char *) "self",(char *) "rect", NULL
18653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18655 if (!SWIG_IsOK(res1
)) {
18656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18661 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_Py_Void();
18676 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
= 0;
18678 wxDC
*arg1
= (wxDC
*) 0 ;
18679 wxPoint
*arg2
= 0 ;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 PyObject
* obj2
= 0 ;
18688 char * kwnames
[] = {
18689 (char *) "self",(char *) "pt",(char *) "sz", NULL
18692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18694 if (!SWIG_IsOK(res1
)) {
18695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18700 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18704 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_Py_Void();
18719 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
= 0;
18721 wxDC
*arg1
= (wxDC
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 PyObject
* obj3
= 0 ;
18743 PyObject
* obj4
= 0 ;
18744 PyObject
* obj5
= 0 ;
18745 char * kwnames
[] = {
18746 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18751 if (!SWIG_IsOK(res1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18756 if (!SWIG_IsOK(ecode2
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18759 arg2
= static_cast< int >(val2
);
18760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18761 if (!SWIG_IsOK(ecode3
)) {
18762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18764 arg3
= static_cast< int >(val3
);
18765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18766 if (!SWIG_IsOK(ecode4
)) {
18767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18769 arg4
= static_cast< int >(val4
);
18770 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18771 if (!SWIG_IsOK(ecode5
)) {
18772 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18774 arg5
= static_cast< int >(val5
);
18775 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18776 if (!SWIG_IsOK(ecode6
)) {
18777 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18779 arg6
= static_cast< double >(val6
);
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_Py_Void();
18793 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
= 0;
18795 wxDC
*arg1
= (wxDC
*) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 PyObject
* obj1
= 0 ;
18805 PyObject
* obj2
= 0 ;
18806 char * kwnames
[] = {
18807 (char *) "self",(char *) "r",(char *) "radius", NULL
18810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18818 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18820 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18821 if (!SWIG_IsOK(ecode3
)) {
18822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18824 arg3
= static_cast< double >(val3
);
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_Py_Void();
18838 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
= 0;
18840 wxDC
*arg1
= (wxDC
*) 0 ;
18841 wxPoint
*arg2
= 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 PyObject
* obj2
= 0 ;
18853 PyObject
* obj3
= 0 ;
18854 char * kwnames
[] = {
18855 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18860 if (!SWIG_IsOK(res1
)) {
18861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18870 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18872 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18873 if (!SWIG_IsOK(ecode4
)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18876 arg4
= static_cast< double >(val4
);
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 resultobj
= SWIG_Py_Void();
18890 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
= 0;
18892 wxDC
*arg1
= (wxDC
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 PyObject
* obj2
= 0 ;
18907 PyObject
* obj3
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18919 if (!SWIG_IsOK(ecode2
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18922 arg2
= static_cast< int >(val2
);
18923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18924 if (!SWIG_IsOK(ecode3
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18927 arg3
= static_cast< int >(val3
);
18928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18929 if (!SWIG_IsOK(ecode4
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18932 arg4
= static_cast< int >(val4
);
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18936 wxPyEndAllowThreads(__tstate
);
18937 if (PyErr_Occurred()) SWIG_fail
;
18939 resultobj
= SWIG_Py_Void();
18946 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
= 0;
18948 wxDC
*arg1
= (wxDC
*) 0 ;
18949 wxPoint
*arg2
= 0 ;
18956 PyObject
* obj0
= 0 ;
18957 PyObject
* obj1
= 0 ;
18958 PyObject
* obj2
= 0 ;
18959 char * kwnames
[] = {
18960 (char *) "self",(char *) "pt",(char *) "radius", NULL
18963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18965 if (!SWIG_IsOK(res1
)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18974 if (!SWIG_IsOK(ecode3
)) {
18975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18977 arg3
= static_cast< int >(val3
);
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= SWIG_Py_Void();
18991 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
= 0;
18993 wxDC
*arg1
= (wxDC
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 PyObject
* obj2
= 0 ;
19011 PyObject
* obj3
= 0 ;
19012 PyObject
* obj4
= 0 ;
19013 char * kwnames
[] = {
19014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19019 if (!SWIG_IsOK(res1
)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19024 if (!SWIG_IsOK(ecode2
)) {
19025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19027 arg2
= static_cast< int >(val2
);
19028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19029 if (!SWIG_IsOK(ecode3
)) {
19030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19032 arg3
= static_cast< int >(val3
);
19033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19034 if (!SWIG_IsOK(ecode4
)) {
19035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19037 arg4
= static_cast< int >(val4
);
19038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19039 if (!SWIG_IsOK(ecode5
)) {
19040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19042 arg5
= static_cast< int >(val5
);
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19049 resultobj
= SWIG_Py_Void();
19056 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
= 0;
19058 wxDC
*arg1
= (wxDC
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char * kwnames
[] = {
19066 (char *) "self",(char *) "rect", NULL
19069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19071 if (!SWIG_IsOK(res1
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19077 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19085 resultobj
= SWIG_Py_Void();
19092 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19093 PyObject
*resultobj
= 0;
19094 wxDC
*arg1
= (wxDC
*) 0 ;
19095 wxPoint
*arg2
= 0 ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 PyObject
* obj2
= 0 ;
19104 char * kwnames
[] = {
19105 (char *) "self",(char *) "pt",(char *) "sz", NULL
19108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19110 if (!SWIG_IsOK(res1
)) {
19111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19120 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_Py_Void();
19135 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxDC
*arg1
= (wxDC
*) 0 ;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 PyObject
* obj2
= 0 ;
19152 PyObject
* obj3
= 0 ;
19153 char * kwnames
[] = {
19154 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19164 if (!SWIG_IsOK(res2
)) {
19165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19170 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19172 if (!SWIG_IsOK(ecode3
)) {
19173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19175 arg3
= static_cast< int >(val3
);
19176 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19177 if (!SWIG_IsOK(ecode4
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19180 arg4
= static_cast< int >(val4
);
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_Py_Void();
19194 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxDC
*arg1
= (wxDC
*) 0 ;
19198 wxPoint
*arg3
= 0 ;
19204 PyObject
* obj0
= 0 ;
19205 PyObject
* obj1
= 0 ;
19206 PyObject
* obj2
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "icon",(char *) "pt", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19218 if (!SWIG_IsOK(res2
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19224 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19227 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= SWIG_Py_Void();
19242 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
= 0;
19244 wxDC
*arg1
= (wxDC
*) 0 ;
19245 wxBitmap
*arg2
= 0 ;
19248 bool arg5
= (bool) false ;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 PyObject
* obj2
= 0 ;
19262 PyObject
* obj3
= 0 ;
19263 PyObject
* obj4
= 0 ;
19264 char * kwnames
[] = {
19265 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19270 if (!SWIG_IsOK(res1
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19275 if (!SWIG_IsOK(res2
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19281 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19283 if (!SWIG_IsOK(ecode3
)) {
19284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19286 arg3
= static_cast< int >(val3
);
19287 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19288 if (!SWIG_IsOK(ecode4
)) {
19289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19291 arg4
= static_cast< int >(val4
);
19293 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19294 if (!SWIG_IsOK(ecode5
)) {
19295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19297 arg5
= static_cast< bool >(val5
);
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_Py_Void();
19312 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
= 0;
19314 wxDC
*arg1
= (wxDC
*) 0 ;
19315 wxBitmap
*arg2
= 0 ;
19316 wxPoint
*arg3
= 0 ;
19317 bool arg4
= (bool) false ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 PyObject
* obj2
= 0 ;
19328 PyObject
* obj3
= 0 ;
19329 char * kwnames
[] = {
19330 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19335 if (!SWIG_IsOK(res1
)) {
19336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19340 if (!SWIG_IsOK(res2
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19346 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19352 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19353 if (!SWIG_IsOK(ecode4
)) {
19354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19356 arg4
= static_cast< bool >(val4
);
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= SWIG_Py_Void();
19371 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
= 0;
19373 wxDC
*arg1
= (wxDC
*) 0 ;
19374 wxString
*arg2
= 0 ;
19379 bool temp2
= false ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 PyObject
* obj2
= 0 ;
19387 PyObject
* obj3
= 0 ;
19388 char * kwnames
[] = {
19389 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19394 if (!SWIG_IsOK(res1
)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19399 arg2
= wxString_in_helper(obj1
);
19400 if (arg2
== NULL
) SWIG_fail
;
19403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19404 if (!SWIG_IsOK(ecode3
)) {
19405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19407 arg3
= static_cast< int >(val3
);
19408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19409 if (!SWIG_IsOK(ecode4
)) {
19410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19412 arg4
= static_cast< int >(val4
);
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_Py_Void();
19434 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= 0;
19436 wxDC
*arg1
= (wxDC
*) 0 ;
19437 wxString
*arg2
= 0 ;
19438 wxPoint
*arg3
= 0 ;
19441 bool temp2
= false ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 PyObject
* obj2
= 0 ;
19446 char * kwnames
[] = {
19447 (char *) "self",(char *) "text",(char *) "pt", NULL
19450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19452 if (!SWIG_IsOK(res1
)) {
19453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19457 arg2
= wxString_in_helper(obj1
);
19458 if (arg2
== NULL
) SWIG_fail
;
19463 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 resultobj
= SWIG_Py_Void();
19486 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
= 0;
19488 wxDC
*arg1
= (wxDC
*) 0 ;
19489 wxString
*arg2
= 0 ;
19495 bool temp2
= false ;
19502 PyObject
* obj0
= 0 ;
19503 PyObject
* obj1
= 0 ;
19504 PyObject
* obj2
= 0 ;
19505 PyObject
* obj3
= 0 ;
19506 PyObject
* obj4
= 0 ;
19507 char * kwnames
[] = {
19508 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19513 if (!SWIG_IsOK(res1
)) {
19514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19518 arg2
= wxString_in_helper(obj1
);
19519 if (arg2
== NULL
) SWIG_fail
;
19522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19523 if (!SWIG_IsOK(ecode3
)) {
19524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19526 arg3
= static_cast< int >(val3
);
19527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19528 if (!SWIG_IsOK(ecode4
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19531 arg4
= static_cast< int >(val4
);
19532 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19533 if (!SWIG_IsOK(ecode5
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19536 arg5
= static_cast< double >(val5
);
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= SWIG_Py_Void();
19558 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxDC
*arg1
= (wxDC
*) 0 ;
19561 wxString
*arg2
= 0 ;
19562 wxPoint
*arg3
= 0 ;
19566 bool temp2
= false ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 PyObject
* obj2
= 0 ;
19573 PyObject
* obj3
= 0 ;
19574 char * kwnames
[] = {
19575 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19580 if (!SWIG_IsOK(res1
)) {
19581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19585 arg2
= wxString_in_helper(obj1
);
19586 if (arg2
== NULL
) SWIG_fail
;
19591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19593 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19594 if (!SWIG_IsOK(ecode4
)) {
19595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19597 arg4
= static_cast< double >(val4
);
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_Py_Void();
19619 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
= 0;
19621 wxDC
*arg1
= (wxDC
*) 0 ;
19626 wxDC
*arg6
= (wxDC
*) 0 ;
19629 int arg9
= (int) wxCOPY
;
19630 bool arg10
= (bool) false ;
19631 int arg11
= (int) -1 ;
19632 int arg12
= (int) -1 ;
19658 PyObject
* obj0
= 0 ;
19659 PyObject
* obj1
= 0 ;
19660 PyObject
* obj2
= 0 ;
19661 PyObject
* obj3
= 0 ;
19662 PyObject
* obj4
= 0 ;
19663 PyObject
* obj5
= 0 ;
19664 PyObject
* obj6
= 0 ;
19665 PyObject
* obj7
= 0 ;
19666 PyObject
* obj8
= 0 ;
19667 PyObject
* obj9
= 0 ;
19668 PyObject
* obj10
= 0 ;
19669 PyObject
* obj11
= 0 ;
19670 char * kwnames
[] = {
19671 (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
19674 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
;
19675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19681 if (!SWIG_IsOK(ecode2
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19684 arg2
= static_cast< int >(val2
);
19685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19686 if (!SWIG_IsOK(ecode3
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19689 arg3
= static_cast< int >(val3
);
19690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19691 if (!SWIG_IsOK(ecode4
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19694 arg4
= static_cast< int >(val4
);
19695 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19696 if (!SWIG_IsOK(ecode5
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19699 arg5
= static_cast< int >(val5
);
19700 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19701 if (!SWIG_IsOK(res6
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19704 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19705 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19706 if (!SWIG_IsOK(ecode7
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19709 arg7
= static_cast< int >(val7
);
19710 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19711 if (!SWIG_IsOK(ecode8
)) {
19712 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19714 arg8
= static_cast< int >(val8
);
19716 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19717 if (!SWIG_IsOK(ecode9
)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19720 arg9
= static_cast< int >(val9
);
19723 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19724 if (!SWIG_IsOK(ecode10
)) {
19725 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19727 arg10
= static_cast< bool >(val10
);
19730 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19731 if (!SWIG_IsOK(ecode11
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19734 arg11
= static_cast< int >(val11
);
19737 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19738 if (!SWIG_IsOK(ecode12
)) {
19739 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19741 arg12
= static_cast< int >(val12
);
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19758 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
= 0;
19760 wxDC
*arg1
= (wxDC
*) 0 ;
19761 wxPoint
*arg2
= 0 ;
19763 wxDC
*arg4
= (wxDC
*) 0 ;
19764 wxPoint
*arg5
= 0 ;
19765 int arg6
= (int) wxCOPY
;
19766 bool arg7
= (bool) false ;
19767 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19768 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 PyObject
* obj2
= 0 ;
19785 PyObject
* obj3
= 0 ;
19786 PyObject
* obj4
= 0 ;
19787 PyObject
* obj5
= 0 ;
19788 PyObject
* obj6
= 0 ;
19789 PyObject
* obj7
= 0 ;
19790 char * kwnames
[] = {
19791 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19796 if (!SWIG_IsOK(res1
)) {
19797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19806 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19808 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19809 if (!SWIG_IsOK(res4
)) {
19810 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19812 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19815 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19818 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19819 if (!SWIG_IsOK(ecode6
)) {
19820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19822 arg6
= static_cast< int >(val6
);
19825 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19826 if (!SWIG_IsOK(ecode7
)) {
19827 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19829 arg7
= static_cast< bool >(val7
);
19834 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19852 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= 0;
19854 wxDC
*arg1
= (wxDC
*) 0 ;
19855 wxRect
*arg2
= (wxRect
*) NULL
;
19856 SwigValueWrapper
<wxBitmap
> result
;
19861 PyObject
* obj0
= 0 ;
19862 PyObject
* obj1
= 0 ;
19863 char * kwnames
[] = {
19864 (char *) "self",(char *) "subrect", NULL
19867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19869 if (!SWIG_IsOK(res1
)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19875 if (!SWIG_IsOK(res2
)) {
19876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19878 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19893 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
= 0;
19895 wxDC
*arg1
= (wxDC
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 PyObject
* obj2
= 0 ;
19913 PyObject
* obj3
= 0 ;
19914 PyObject
* obj4
= 0 ;
19915 char * kwnames
[] = {
19916 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19921 if (!SWIG_IsOK(res1
)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19926 if (!SWIG_IsOK(ecode2
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19929 arg2
= static_cast< int >(val2
);
19930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19931 if (!SWIG_IsOK(ecode3
)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19934 arg3
= static_cast< int >(val3
);
19935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19936 if (!SWIG_IsOK(ecode4
)) {
19937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19939 arg4
= static_cast< int >(val4
);
19940 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19941 if (!SWIG_IsOK(ecode5
)) {
19942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19944 arg5
= static_cast< int >(val5
);
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= SWIG_Py_Void();
19958 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
= 0;
19960 wxDC
*arg1
= (wxDC
*) 0 ;
19961 wxPoint
*arg2
= 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 PyObject
* obj2
= 0 ;
19970 char * kwnames
[] = {
19971 (char *) "self",(char *) "pt",(char *) "sz", NULL
19974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19976 if (!SWIG_IsOK(res1
)) {
19977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19986 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_Py_Void();
20001 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
= 0;
20003 wxDC
*arg1
= (wxDC
*) 0 ;
20004 wxRegion
*arg2
= 0 ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 char * kwnames
[] = {
20012 (char *) "self",(char *) "region", NULL
20015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20017 if (!SWIG_IsOK(res1
)) {
20018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20020 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20022 if (!SWIG_IsOK(res2
)) {
20023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20028 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_Py_Void();
20042 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
= 0;
20044 wxDC
*arg1
= (wxDC
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 char * kwnames
[] = {
20052 (char *) "self",(char *) "rect", NULL
20055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_Py_Void();
20078 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= 0;
20080 wxDC
*arg1
= (wxDC
*) 0 ;
20082 wxPoint
*arg3
= (wxPoint
*) 0 ;
20083 int arg4
= (int) 0 ;
20084 int arg5
= (int) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 PyObject
* obj2
= 0 ;
20094 PyObject
* obj3
= 0 ;
20095 char * kwnames
[] = {
20096 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20101 if (!SWIG_IsOK(res1
)) {
20102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20106 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20107 if (arg3
== NULL
) SWIG_fail
;
20110 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20111 if (!SWIG_IsOK(ecode4
)) {
20112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20114 arg4
= static_cast< int >(val4
);
20117 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20118 if (!SWIG_IsOK(ecode5
)) {
20119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20121 arg5
= static_cast< int >(val5
);
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= SWIG_Py_Void();
20131 if (arg3
) delete [] arg3
;
20136 if (arg3
) delete [] arg3
;
20142 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
= 0;
20144 wxDC
*arg1
= (wxDC
*) 0 ;
20146 wxPoint
*arg3
= (wxPoint
*) 0 ;
20147 int arg4
= (int) 0 ;
20148 int arg5
= (int) 0 ;
20149 int arg6
= (int) wxODDEVEN_RULE
;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 PyObject
* obj2
= 0 ;
20161 PyObject
* obj3
= 0 ;
20162 PyObject
* obj4
= 0 ;
20163 char * kwnames
[] = {
20164 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20169 if (!SWIG_IsOK(res1
)) {
20170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20174 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20175 if (arg3
== NULL
) SWIG_fail
;
20178 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20179 if (!SWIG_IsOK(ecode4
)) {
20180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20182 arg4
= static_cast< int >(val4
);
20185 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20186 if (!SWIG_IsOK(ecode5
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20189 arg5
= static_cast< int >(val5
);
20192 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20193 if (!SWIG_IsOK(ecode6
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20196 arg6
= static_cast< int >(val6
);
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_Py_Void();
20206 if (arg3
) delete [] arg3
;
20211 if (arg3
) delete [] arg3
;
20217 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxDC
*arg1
= (wxDC
*) 0 ;
20220 wxString
*arg2
= 0 ;
20222 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20223 int arg5
= (int) -1 ;
20226 bool temp2
= false ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 PyObject
* obj2
= 0 ;
20235 PyObject
* obj3
= 0 ;
20236 PyObject
* obj4
= 0 ;
20237 char * kwnames
[] = {
20238 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20243 if (!SWIG_IsOK(res1
)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20248 arg2
= wxString_in_helper(obj1
);
20249 if (arg2
== NULL
) SWIG_fail
;
20254 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20258 if (!SWIG_IsOK(ecode4
)) {
20259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20261 arg4
= static_cast< int >(val4
);
20264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20265 if (!SWIG_IsOK(ecode5
)) {
20266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20268 arg5
= static_cast< int >(val5
);
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= SWIG_Py_Void();
20291 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
= 0;
20293 wxDC
*arg1
= (wxDC
*) 0 ;
20294 wxString
*arg2
= 0 ;
20295 wxBitmap
*arg3
= 0 ;
20297 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20298 int arg6
= (int) -1 ;
20302 bool temp2
= false ;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 PyObject
* obj2
= 0 ;
20313 PyObject
* obj3
= 0 ;
20314 PyObject
* obj4
= 0 ;
20315 PyObject
* obj5
= 0 ;
20316 char * kwnames
[] = {
20317 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20322 if (!SWIG_IsOK(res1
)) {
20323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20327 arg2
= wxString_in_helper(obj1
);
20328 if (arg2
== NULL
) SWIG_fail
;
20331 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20332 if (!SWIG_IsOK(res3
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20338 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20341 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20344 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20345 if (!SWIG_IsOK(ecode5
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20348 arg5
= static_cast< int >(val5
);
20351 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20352 if (!SWIG_IsOK(ecode6
)) {
20353 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20355 arg6
= static_cast< int >(val6
);
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20360 wxPyEndAllowThreads(__tstate
);
20361 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20378 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
= 0;
20380 wxDC
*arg1
= (wxDC
*) 0 ;
20382 wxPoint
*arg3
= (wxPoint
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char * kwnames
[] = {
20388 (char *) "self",(char *) "points", NULL
20391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20393 if (!SWIG_IsOK(res1
)) {
20394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20398 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20399 if (arg3
== NULL
) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 (arg1
)->DrawSpline(arg2
,arg3
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= SWIG_Py_Void();
20409 if (arg3
) delete [] arg3
;
20414 if (arg3
) delete [] arg3
;
20420 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20421 PyObject
*resultobj
= 0;
20422 wxDC
*arg1
= (wxDC
*) 0 ;
20425 PyObject
*swig_obj
[1] ;
20427 if (!args
) SWIG_fail
;
20428 swig_obj
[0] = args
;
20429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20430 if (!SWIG_IsOK(res1
)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= SWIG_Py_Void();
20447 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
= 0;
20449 wxDC
*arg1
= (wxDC
*) 0 ;
20450 wxString
*arg2
= 0 ;
20454 bool temp2
= false ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 char * kwnames
[] = {
20458 (char *) "self",(char *) "message", NULL
20461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20468 arg2
= wxString_in_helper(obj1
);
20469 if (arg2
== NULL
) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20495 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20496 PyObject
*resultobj
= 0;
20497 wxDC
*arg1
= (wxDC
*) 0 ;
20500 PyObject
*swig_obj
[1] ;
20502 if (!args
) SWIG_fail
;
20503 swig_obj
[0] = args
;
20504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20505 if (!SWIG_IsOK(res1
)) {
20506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20508 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= SWIG_Py_Void();
20522 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20523 PyObject
*resultobj
= 0;
20524 wxDC
*arg1
= (wxDC
*) 0 ;
20527 PyObject
*swig_obj
[1] ;
20529 if (!args
) SWIG_fail
;
20530 swig_obj
[0] = args
;
20531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20532 if (!SWIG_IsOK(res1
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 (arg1
)->StartPage();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_Py_Void();
20549 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20550 PyObject
*resultobj
= 0;
20551 wxDC
*arg1
= (wxDC
*) 0 ;
20554 PyObject
*swig_obj
[1] ;
20556 if (!args
) SWIG_fail
;
20557 swig_obj
[0] = args
;
20558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_Py_Void();
20576 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
= 0;
20578 wxDC
*arg1
= (wxDC
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 PyObject
* obj1
= 0 ;
20586 char * kwnames
[] = {
20587 (char *) "self",(char *) "font", NULL
20590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20592 if (!SWIG_IsOK(res1
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20597 if (!SWIG_IsOK(res2
)) {
20598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20603 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 (arg1
)->SetFont((wxFont
const &)*arg2
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= SWIG_Py_Void();
20617 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
= 0;
20619 wxDC
*arg1
= (wxDC
*) 0 ;
20625 PyObject
* obj0
= 0 ;
20626 PyObject
* obj1
= 0 ;
20627 char * kwnames
[] = {
20628 (char *) "self",(char *) "pen", NULL
20631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20638 if (!SWIG_IsOK(res2
)) {
20639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20644 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 (arg1
)->SetPen((wxPen
const &)*arg2
);
20648 wxPyEndAllowThreads(__tstate
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 resultobj
= SWIG_Py_Void();
20658 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20659 PyObject
*resultobj
= 0;
20660 wxDC
*arg1
= (wxDC
*) 0 ;
20661 wxBrush
*arg2
= 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char * kwnames
[] = {
20669 (char *) "self",(char *) "brush", NULL
20672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20679 if (!SWIG_IsOK(res2
)) {
20680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20685 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= SWIG_Py_Void();
20699 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= 0;
20701 wxDC
*arg1
= (wxDC
*) 0 ;
20702 wxBrush
*arg2
= 0 ;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 char * kwnames
[] = {
20710 (char *) "self",(char *) "brush", NULL
20713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20720 if (!SWIG_IsOK(res2
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20726 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= SWIG_Py_Void();
20740 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
= 0;
20742 wxDC
*arg1
= (wxDC
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char * kwnames
[] = {
20751 (char *) "self",(char *) "mode", NULL
20754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20756 if (!SWIG_IsOK(res1
)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20761 if (!SWIG_IsOK(ecode2
)) {
20762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20764 arg2
= static_cast< int >(val2
);
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 (arg1
)->SetBackgroundMode(arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_Py_Void();
20778 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
= 0;
20780 wxDC
*arg1
= (wxDC
*) 0 ;
20781 wxPalette
*arg2
= 0 ;
20786 PyObject
* obj0
= 0 ;
20787 PyObject
* obj1
= 0 ;
20788 char * kwnames
[] = {
20789 (char *) "self",(char *) "palette", NULL
20792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20794 if (!SWIG_IsOK(res1
)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20798 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20799 if (!SWIG_IsOK(res2
)) {
20800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20805 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= SWIG_Py_Void();
20819 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20820 PyObject
*resultobj
= 0;
20821 wxDC
*arg1
= (wxDC
*) 0 ;
20824 PyObject
*swig_obj
[1] ;
20826 if (!args
) SWIG_fail
;
20827 swig_obj
[0] = args
;
20828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->DestroyClippingRegion();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_Py_Void();
20846 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20847 PyObject
*resultobj
= 0;
20848 wxDC
*arg1
= (wxDC
*) 0 ;
20849 int *arg2
= (int *) 0 ;
20850 int *arg3
= (int *) 0 ;
20851 int *arg4
= (int *) 0 ;
20852 int *arg5
= (int *) 0 ;
20856 int res2
= SWIG_TMPOBJ
;
20858 int res3
= SWIG_TMPOBJ
;
20860 int res4
= SWIG_TMPOBJ
;
20862 int res5
= SWIG_TMPOBJ
;
20863 PyObject
*swig_obj
[1] ;
20869 if (!args
) SWIG_fail
;
20870 swig_obj
[0] = args
;
20871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20872 if (!SWIG_IsOK(res1
)) {
20873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_Py_Void();
20883 if (SWIG_IsTmpObj(res2
)) {
20884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20886 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20889 if (SWIG_IsTmpObj(res3
)) {
20890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20892 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20895 if (SWIG_IsTmpObj(res4
)) {
20896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20898 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20901 if (SWIG_IsTmpObj(res5
)) {
20902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20904 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20913 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20914 PyObject
*resultobj
= 0;
20915 wxDC
*arg1
= (wxDC
*) 0 ;
20919 PyObject
*swig_obj
[1] ;
20921 if (!args
) SWIG_fail
;
20922 swig_obj
[0] = args
;
20923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20924 if (!SWIG_IsOK(res1
)) {
20925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= wxDC_GetClippingRect(arg1
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20941 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20942 PyObject
*resultobj
= 0;
20943 wxDC
*arg1
= (wxDC
*) 0 ;
20947 PyObject
*swig_obj
[1] ;
20949 if (!args
) SWIG_fail
;
20950 swig_obj
[0] = args
;
20951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20952 if (!SWIG_IsOK(res1
)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= SWIG_From_int(static_cast< int >(result
));
20969 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20970 PyObject
*resultobj
= 0;
20971 wxDC
*arg1
= (wxDC
*) 0 ;
20975 PyObject
*swig_obj
[1] ;
20977 if (!args
) SWIG_fail
;
20978 swig_obj
[0] = args
;
20979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20980 if (!SWIG_IsOK(res1
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_From_int(static_cast< int >(result
));
20997 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
= 0;
20999 wxDC
*arg1
= (wxDC
*) 0 ;
21000 wxString
*arg2
= 0 ;
21001 int *arg3
= (int *) 0 ;
21002 int *arg4
= (int *) 0 ;
21005 bool temp2
= false ;
21007 int res3
= SWIG_TMPOBJ
;
21009 int res4
= SWIG_TMPOBJ
;
21010 PyObject
* obj0
= 0 ;
21011 PyObject
* obj1
= 0 ;
21012 char * kwnames
[] = {
21013 (char *) "self",(char *) "string", NULL
21018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21020 if (!SWIG_IsOK(res1
)) {
21021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21025 arg2
= wxString_in_helper(obj1
);
21026 if (arg2
== NULL
) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_Py_Void();
21036 if (SWIG_IsTmpObj(res3
)) {
21037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21039 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21042 if (SWIG_IsTmpObj(res4
)) {
21043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21045 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21062 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
= 0;
21064 wxDC
*arg1
= (wxDC
*) 0 ;
21065 wxString
*arg2
= 0 ;
21066 int *arg3
= (int *) 0 ;
21067 int *arg4
= (int *) 0 ;
21068 int *arg5
= (int *) 0 ;
21069 int *arg6
= (int *) 0 ;
21070 wxFont
*arg7
= (wxFont
*) NULL
;
21073 bool temp2
= false ;
21075 int res3
= SWIG_TMPOBJ
;
21077 int res4
= SWIG_TMPOBJ
;
21079 int res5
= SWIG_TMPOBJ
;
21081 int res6
= SWIG_TMPOBJ
;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 PyObject
* obj2
= 0 ;
21087 char * kwnames
[] = {
21088 (char *) "self",(char *) "string",(char *) "font", NULL
21095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21102 arg2
= wxString_in_helper(obj1
);
21103 if (arg2
== NULL
) SWIG_fail
;
21107 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21108 if (!SWIG_IsOK(res7
)) {
21109 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21111 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= SWIG_Py_Void();
21120 if (SWIG_IsTmpObj(res3
)) {
21121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21123 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21126 if (SWIG_IsTmpObj(res4
)) {
21127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21129 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21132 if (SWIG_IsTmpObj(res5
)) {
21133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21135 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21138 if (SWIG_IsTmpObj(res6
)) {
21139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21141 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21158 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
= 0;
21160 wxDC
*arg1
= (wxDC
*) 0 ;
21161 wxString
*arg2
= 0 ;
21162 int *arg3
= (int *) 0 ;
21163 int *arg4
= (int *) 0 ;
21164 int *arg5
= (int *) 0 ;
21165 wxFont
*arg6
= (wxFont
*) NULL
;
21168 bool temp2
= false ;
21170 int res3
= SWIG_TMPOBJ
;
21172 int res4
= SWIG_TMPOBJ
;
21174 int res5
= SWIG_TMPOBJ
;
21177 PyObject
* obj0
= 0 ;
21178 PyObject
* obj1
= 0 ;
21179 PyObject
* obj2
= 0 ;
21180 char * kwnames
[] = {
21181 (char *) "self",(char *) "text",(char *) "font", NULL
21187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21189 if (!SWIG_IsOK(res1
)) {
21190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21194 arg2
= wxString_in_helper(obj1
);
21195 if (arg2
== NULL
) SWIG_fail
;
21199 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21200 if (!SWIG_IsOK(res6
)) {
21201 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21203 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_Py_Void();
21212 if (SWIG_IsTmpObj(res3
)) {
21213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21215 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21218 if (SWIG_IsTmpObj(res4
)) {
21219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21221 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21224 if (SWIG_IsTmpObj(res5
)) {
21225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21227 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21244 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
= 0;
21246 wxDC
*arg1
= (wxDC
*) 0 ;
21247 wxString
*arg2
= 0 ;
21251 bool temp2
= false ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 char * kwnames
[] = {
21255 (char *) "self",(char *) "text", NULL
21258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21260 if (!SWIG_IsOK(res1
)) {
21261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21265 arg2
= wxString_in_helper(obj1
);
21266 if (arg2
== NULL
) SWIG_fail
;
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= wxArrayInt2PyList_helper(result
);
21292 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21293 PyObject
*resultobj
= 0;
21294 wxDC
*arg1
= (wxDC
*) 0 ;
21298 PyObject
*swig_obj
[1] ;
21300 if (!args
) SWIG_fail
;
21301 swig_obj
[0] = args
;
21302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21303 if (!SWIG_IsOK(res1
)) {
21304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (arg1
)->GetSize();
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21320 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21321 PyObject
*resultobj
= 0;
21322 wxDC
*arg1
= (wxDC
*) 0 ;
21323 int *arg2
= (int *) 0 ;
21324 int *arg3
= (int *) 0 ;
21328 int res2
= SWIG_TMPOBJ
;
21330 int res3
= SWIG_TMPOBJ
;
21331 PyObject
*swig_obj
[1] ;
21335 if (!args
) SWIG_fail
;
21336 swig_obj
[0] = args
;
21337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21338 if (!SWIG_IsOK(res1
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 (arg1
)->GetSize(arg2
,arg3
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= SWIG_Py_Void();
21349 if (SWIG_IsTmpObj(res2
)) {
21350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21352 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21355 if (SWIG_IsTmpObj(res3
)) {
21356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21358 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21367 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21368 PyObject
*resultobj
= 0;
21369 wxDC
*arg1
= (wxDC
*) 0 ;
21373 PyObject
*swig_obj
[1] ;
21375 if (!args
) SWIG_fail
;
21376 swig_obj
[0] = args
;
21377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21378 if (!SWIG_IsOK(res1
)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21395 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21396 PyObject
*resultobj
= 0;
21397 wxDC
*arg1
= (wxDC
*) 0 ;
21398 int *arg2
= (int *) 0 ;
21399 int *arg3
= (int *) 0 ;
21403 int res2
= SWIG_TMPOBJ
;
21405 int res3
= SWIG_TMPOBJ
;
21406 PyObject
*swig_obj
[1] ;
21410 if (!args
) SWIG_fail
;
21411 swig_obj
[0] = args
;
21412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21413 if (!SWIG_IsOK(res1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_Py_Void();
21424 if (SWIG_IsTmpObj(res2
)) {
21425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21427 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21430 if (SWIG_IsTmpObj(res3
)) {
21431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21433 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21442 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
= 0;
21444 wxDC
*arg1
= (wxDC
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 char * kwnames
[] = {
21454 (char *) "self",(char *) "x", NULL
21457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21459 if (!SWIG_IsOK(res1
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21464 if (!SWIG_IsOK(ecode2
)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21467 arg2
= static_cast< int >(val2
);
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_From_int(static_cast< int >(result
));
21481 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
= 0;
21483 wxDC
*arg1
= (wxDC
*) 0 ;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char * kwnames
[] = {
21493 (char *) "self",(char *) "y", NULL
21496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21498 if (!SWIG_IsOK(res1
)) {
21499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21503 if (!SWIG_IsOK(ecode2
)) {
21504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21506 arg2
= static_cast< int >(val2
);
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21513 resultobj
= SWIG_From_int(static_cast< int >(result
));
21520 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
= 0;
21522 wxDC
*arg1
= (wxDC
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char * kwnames
[] = {
21532 (char *) "self",(char *) "x", NULL
21535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21537 if (!SWIG_IsOK(res1
)) {
21538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21542 if (!SWIG_IsOK(ecode2
)) {
21543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21545 arg2
= static_cast< int >(val2
);
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= SWIG_From_int(static_cast< int >(result
));
21559 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
= 0;
21561 wxDC
*arg1
= (wxDC
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char * kwnames
[] = {
21571 (char *) "self",(char *) "y", NULL
21574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21576 if (!SWIG_IsOK(res1
)) {
21577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21581 if (!SWIG_IsOK(ecode2
)) {
21582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21584 arg2
= static_cast< int >(val2
);
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_From_int(static_cast< int >(result
));
21598 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21599 PyObject
*resultobj
= 0;
21600 wxDC
*arg1
= (wxDC
*) 0 ;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char * kwnames
[] = {
21610 (char *) "self",(char *) "x", NULL
21613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21615 if (!SWIG_IsOK(res1
)) {
21616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21620 if (!SWIG_IsOK(ecode2
)) {
21621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21623 arg2
= static_cast< int >(val2
);
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= SWIG_From_int(static_cast< int >(result
));
21637 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
= 0;
21639 wxDC
*arg1
= (wxDC
*) 0 ;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 char * kwnames
[] = {
21649 (char *) "self",(char *) "y", NULL
21652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21654 if (!SWIG_IsOK(res1
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21659 if (!SWIG_IsOK(ecode2
)) {
21660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21662 arg2
= static_cast< int >(val2
);
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 resultobj
= SWIG_From_int(static_cast< int >(result
));
21676 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
= 0;
21678 wxDC
*arg1
= (wxDC
*) 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 char * kwnames
[] = {
21688 (char *) "self",(char *) "x", NULL
21691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21693 if (!SWIG_IsOK(res1
)) {
21694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21698 if (!SWIG_IsOK(ecode2
)) {
21699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21701 arg2
= static_cast< int >(val2
);
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 resultobj
= SWIG_From_int(static_cast< int >(result
));
21715 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
= 0;
21717 wxDC
*arg1
= (wxDC
*) 0 ;
21724 PyObject
* obj0
= 0 ;
21725 PyObject
* obj1
= 0 ;
21726 char * kwnames
[] = {
21727 (char *) "self",(char *) "y", NULL
21730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21732 if (!SWIG_IsOK(res1
)) {
21733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21737 if (!SWIG_IsOK(ecode2
)) {
21738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21740 arg2
= static_cast< int >(val2
);
21742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= SWIG_From_int(static_cast< int >(result
));
21754 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21755 PyObject
*resultobj
= 0;
21756 wxDC
*arg1
= (wxDC
*) 0 ;
21760 PyObject
*swig_obj
[1] ;
21762 if (!args
) SWIG_fail
;
21763 swig_obj
[0] = args
;
21764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21765 if (!SWIG_IsOK(res1
)) {
21766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21785 PyObject
*resultobj
= 0;
21786 wxDC
*arg1
= (wxDC
*) 0 ;
21790 PyObject
*swig_obj
[1] ;
21792 if (!args
) SWIG_fail
;
21793 swig_obj
[0] = args
;
21794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21795 if (!SWIG_IsOK(res1
)) {
21796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21814 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21815 PyObject
*resultobj
= 0;
21816 wxDC
*arg1
= (wxDC
*) 0 ;
21820 PyObject
*swig_obj
[1] ;
21822 if (!args
) SWIG_fail
;
21823 swig_obj
[0] = args
;
21824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21825 if (!SWIG_IsOK(res1
)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= SWIG_From_int(static_cast< int >(result
));
21842 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21843 PyObject
*resultobj
= 0;
21844 wxDC
*arg1
= (wxDC
*) 0 ;
21848 PyObject
*swig_obj
[1] ;
21850 if (!args
) SWIG_fail
;
21851 swig_obj
[0] = args
;
21852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21853 if (!SWIG_IsOK(res1
)) {
21854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= ((wxDC
const *)arg1
)->GetPPI();
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21870 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21871 PyObject
*resultobj
= 0;
21872 wxDC
*arg1
= (wxDC
*) 0 ;
21876 PyObject
*swig_obj
[1] ;
21878 if (!args
) SWIG_fail
;
21879 swig_obj
[0] = args
;
21880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21881 if (!SWIG_IsOK(res1
)) {
21882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21900 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21901 PyObject
*resultobj
= 0;
21902 wxDC
*arg1
= (wxDC
*) 0 ;
21906 PyObject
*swig_obj
[1] ;
21908 if (!args
) SWIG_fail
;
21909 swig_obj
[0] = args
;
21910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21911 if (!SWIG_IsOK(res1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= SWIG_From_int(static_cast< int >(result
));
21928 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21929 PyObject
*resultobj
= 0;
21930 wxDC
*arg1
= (wxDC
*) 0 ;
21931 wxBrush
*result
= 0 ;
21934 PyObject
*swig_obj
[1] ;
21936 if (!args
) SWIG_fail
;
21937 swig_obj
[0] = args
;
21938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21939 if (!SWIG_IsOK(res1
)) {
21940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21947 result
= (wxBrush
*) &_result_ref
;
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 wxBrush
* resultptr
= new wxBrush(*result
);
21954 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21962 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21963 PyObject
*resultobj
= 0;
21964 wxDC
*arg1
= (wxDC
*) 0 ;
21965 wxBrush
*result
= 0 ;
21968 PyObject
*swig_obj
[1] ;
21970 if (!args
) SWIG_fail
;
21971 swig_obj
[0] = args
;
21972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21973 if (!SWIG_IsOK(res1
)) {
21974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21981 result
= (wxBrush
*) &_result_ref
;
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21987 wxBrush
* resultptr
= new wxBrush(*result
);
21988 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21996 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21997 PyObject
*resultobj
= 0;
21998 wxDC
*arg1
= (wxDC
*) 0 ;
21999 wxFont
*result
= 0 ;
22002 PyObject
*swig_obj
[1] ;
22004 if (!args
) SWIG_fail
;
22005 swig_obj
[0] = args
;
22006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22015 result
= (wxFont
*) &_result_ref
;
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22021 wxFont
* resultptr
= new wxFont(*result
);
22022 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22030 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22031 PyObject
*resultobj
= 0;
22032 wxDC
*arg1
= (wxDC
*) 0 ;
22033 wxPen
*result
= 0 ;
22036 PyObject
*swig_obj
[1] ;
22038 if (!args
) SWIG_fail
;
22039 swig_obj
[0] = args
;
22040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22041 if (!SWIG_IsOK(res1
)) {
22042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22049 result
= (wxPen
*) &_result_ref
;
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22055 wxPen
* resultptr
= new wxPen(*result
);
22056 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22064 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22065 PyObject
*resultobj
= 0;
22066 wxDC
*arg1
= (wxDC
*) 0 ;
22067 wxColour
*result
= 0 ;
22070 PyObject
*swig_obj
[1] ;
22072 if (!args
) SWIG_fail
;
22073 swig_obj
[0] = args
;
22074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22075 if (!SWIG_IsOK(res1
)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22083 result
= (wxColour
*) &_result_ref
;
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22095 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22096 PyObject
*resultobj
= 0;
22097 wxDC
*arg1
= (wxDC
*) 0 ;
22098 wxColour
*result
= 0 ;
22101 PyObject
*swig_obj
[1] ;
22103 if (!args
) SWIG_fail
;
22104 swig_obj
[0] = args
;
22105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22106 if (!SWIG_IsOK(res1
)) {
22107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22114 result
= (wxColour
*) &_result_ref
;
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22126 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
= 0;
22128 wxDC
*arg1
= (wxDC
*) 0 ;
22129 wxColour
*arg2
= 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "self",(char *) "colour", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22141 if (!SWIG_IsOK(res1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22147 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= SWIG_Py_Void();
22162 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
= 0;
22164 wxDC
*arg1
= (wxDC
*) 0 ;
22165 wxColour
*arg2
= 0 ;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 char * kwnames
[] = {
22172 (char *) "self",(char *) "colour", NULL
22175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22177 if (!SWIG_IsOK(res1
)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= SWIG_Py_Void();
22198 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22199 PyObject
*resultobj
= 0;
22200 wxDC
*arg1
= (wxDC
*) 0 ;
22204 PyObject
*swig_obj
[1] ;
22206 if (!args
) SWIG_fail
;
22207 swig_obj
[0] = args
;
22208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_From_int(static_cast< int >(result
));
22226 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
= 0;
22228 wxDC
*arg1
= (wxDC
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 char * kwnames
[] = {
22237 (char *) "self",(char *) "mode", NULL
22240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22247 if (!SWIG_IsOK(ecode2
)) {
22248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22250 arg2
= static_cast< int >(val2
);
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 (arg1
)->SetMapMode(arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_Py_Void();
22264 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22265 PyObject
*resultobj
= 0;
22266 wxDC
*arg1
= (wxDC
*) 0 ;
22267 double *arg2
= (double *) 0 ;
22268 double *arg3
= (double *) 0 ;
22272 int res2
= SWIG_TMPOBJ
;
22274 int res3
= SWIG_TMPOBJ
;
22275 PyObject
*swig_obj
[1] ;
22279 if (!args
) SWIG_fail
;
22280 swig_obj
[0] = args
;
22281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22282 if (!SWIG_IsOK(res1
)) {
22283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= SWIG_Py_Void();
22293 if (SWIG_IsTmpObj(res2
)) {
22294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22296 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22299 if (SWIG_IsTmpObj(res3
)) {
22300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22302 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22311 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
= 0;
22313 wxDC
*arg1
= (wxDC
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 PyObject
* obj2
= 0 ;
22325 char * kwnames
[] = {
22326 (char *) "self",(char *) "x",(char *) "y", NULL
22329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22331 if (!SWIG_IsOK(res1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22335 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22336 if (!SWIG_IsOK(ecode2
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22339 arg2
= static_cast< double >(val2
);
22340 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22341 if (!SWIG_IsOK(ecode3
)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22344 arg3
= static_cast< double >(val3
);
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 (arg1
)->SetUserScale(arg2
,arg3
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_Py_Void();
22358 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22359 PyObject
*resultobj
= 0;
22360 wxDC
*arg1
= (wxDC
*) 0 ;
22361 double *arg2
= (double *) 0 ;
22362 double *arg3
= (double *) 0 ;
22366 int res2
= SWIG_TMPOBJ
;
22368 int res3
= SWIG_TMPOBJ
;
22369 PyObject
*swig_obj
[1] ;
22373 if (!args
) SWIG_fail
;
22374 swig_obj
[0] = args
;
22375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22376 if (!SWIG_IsOK(res1
)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->GetLogicalScale(arg2
,arg3
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_Py_Void();
22387 if (SWIG_IsTmpObj(res2
)) {
22388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22390 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22393 if (SWIG_IsTmpObj(res3
)) {
22394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22396 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22405 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
= 0;
22407 wxDC
*arg1
= (wxDC
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 PyObject
* obj2
= 0 ;
22419 char * kwnames
[] = {
22420 (char *) "self",(char *) "x",(char *) "y", NULL
22423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22429 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22430 if (!SWIG_IsOK(ecode2
)) {
22431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22433 arg2
= static_cast< double >(val2
);
22434 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22435 if (!SWIG_IsOK(ecode3
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22438 arg3
= static_cast< double >(val3
);
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 (arg1
)->SetLogicalScale(arg2
,arg3
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_Py_Void();
22452 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22453 PyObject
*resultobj
= 0;
22454 wxDC
*arg1
= (wxDC
*) 0 ;
22458 PyObject
*swig_obj
[1] ;
22460 if (!args
) SWIG_fail
;
22461 swig_obj
[0] = args
;
22462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22463 if (!SWIG_IsOK(res1
)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22480 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22481 PyObject
*resultobj
= 0;
22482 wxDC
*arg1
= (wxDC
*) 0 ;
22483 int *arg2
= (int *) 0 ;
22484 int *arg3
= (int *) 0 ;
22488 int res2
= SWIG_TMPOBJ
;
22490 int res3
= SWIG_TMPOBJ
;
22491 PyObject
*swig_obj
[1] ;
22495 if (!args
) SWIG_fail
;
22496 swig_obj
[0] = args
;
22497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22498 if (!SWIG_IsOK(res1
)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_Py_Void();
22509 if (SWIG_IsTmpObj(res2
)) {
22510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22512 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22515 if (SWIG_IsTmpObj(res3
)) {
22516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22518 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22527 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
= 0;
22529 wxDC
*arg1
= (wxDC
*) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 PyObject
* obj2
= 0 ;
22541 char * kwnames
[] = {
22542 (char *) "self",(char *) "x",(char *) "y", NULL
22545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22552 if (!SWIG_IsOK(ecode2
)) {
22553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22555 arg2
= static_cast< int >(val2
);
22556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22557 if (!SWIG_IsOK(ecode3
)) {
22558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22560 arg3
= static_cast< int >(val3
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= SWIG_Py_Void();
22574 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
= 0;
22576 wxDC
*arg1
= (wxDC
*) 0 ;
22577 wxPoint
*arg2
= 0 ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 char * kwnames
[] = {
22584 (char *) "self",(char *) "point", NULL
22587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22589 if (!SWIG_IsOK(res1
)) {
22590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_Py_Void();
22610 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22611 PyObject
*resultobj
= 0;
22612 wxDC
*arg1
= (wxDC
*) 0 ;
22616 PyObject
*swig_obj
[1] ;
22618 if (!args
) SWIG_fail
;
22619 swig_obj
[0] = args
;
22620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22621 if (!SWIG_IsOK(res1
)) {
22622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22638 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22639 PyObject
*resultobj
= 0;
22640 wxDC
*arg1
= (wxDC
*) 0 ;
22641 int *arg2
= (int *) 0 ;
22642 int *arg3
= (int *) 0 ;
22646 int res2
= SWIG_TMPOBJ
;
22648 int res3
= SWIG_TMPOBJ
;
22649 PyObject
*swig_obj
[1] ;
22653 if (!args
) SWIG_fail
;
22654 swig_obj
[0] = args
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_Py_Void();
22667 if (SWIG_IsTmpObj(res2
)) {
22668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22670 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22673 if (SWIG_IsTmpObj(res3
)) {
22674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22676 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22685 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
= 0;
22687 wxDC
*arg1
= (wxDC
*) 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 PyObject
* obj2
= 0 ;
22699 char * kwnames
[] = {
22700 (char *) "self",(char *) "x",(char *) "y", NULL
22703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22710 if (!SWIG_IsOK(ecode2
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22713 arg2
= static_cast< int >(val2
);
22714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22715 if (!SWIG_IsOK(ecode3
)) {
22716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22718 arg3
= static_cast< int >(val3
);
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= SWIG_Py_Void();
22732 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
= 0;
22734 wxDC
*arg1
= (wxDC
*) 0 ;
22735 wxPoint
*arg2
= 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 char * kwnames
[] = {
22742 (char *) "self",(char *) "point", NULL
22745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= SWIG_Py_Void();
22768 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
= 0;
22770 wxDC
*arg1
= (wxDC
*) 0 ;
22779 PyObject
* obj0
= 0 ;
22780 PyObject
* obj1
= 0 ;
22781 PyObject
* obj2
= 0 ;
22782 char * kwnames
[] = {
22783 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22793 if (!SWIG_IsOK(ecode2
)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22796 arg2
= static_cast< bool >(val2
);
22797 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22798 if (!SWIG_IsOK(ecode3
)) {
22799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22801 arg3
= static_cast< bool >(val3
);
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= SWIG_Py_Void();
22815 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22816 PyObject
*resultobj
= 0;
22817 wxDC
*arg1
= (wxDC
*) 0 ;
22821 PyObject
*swig_obj
[1] ;
22823 if (!args
) SWIG_fail
;
22824 swig_obj
[0] = args
;
22825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22826 if (!SWIG_IsOK(res1
)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_From_int(static_cast< int >(result
));
22843 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= 0;
22845 wxDC
*arg1
= (wxDC
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 char * kwnames
[] = {
22854 (char *) "self",(char *) "function", NULL
22857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22859 if (!SWIG_IsOK(res1
)) {
22860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22864 if (!SWIG_IsOK(ecode2
)) {
22865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22867 arg2
= static_cast< int >(val2
);
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 (arg1
)->SetLogicalFunction(arg2
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_Py_Void();
22881 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxDC
*arg1
= (wxDC
*) 0 ;
22886 PyObject
*swig_obj
[1] ;
22888 if (!args
) SWIG_fail
;
22889 swig_obj
[0] = args
;
22890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22891 if (!SWIG_IsOK(res1
)) {
22892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 (arg1
)->ComputeScaleAndOrigin();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= SWIG_Py_Void();
22908 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
= 0;
22910 wxDC
*arg1
= (wxDC
*) 0 ;
22919 PyObject
* obj0
= 0 ;
22920 PyObject
* obj1
= 0 ;
22921 PyObject
* obj2
= 0 ;
22922 char * kwnames
[] = {
22923 (char *) "self",(char *) "x",(char *) "y", NULL
22926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22933 if (!SWIG_IsOK(ecode2
)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22936 arg2
= static_cast< int >(val2
);
22937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22938 if (!SWIG_IsOK(ecode3
)) {
22939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22941 arg3
= static_cast< int >(val3
);
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22945 wxPyEndAllowThreads(__tstate
);
22946 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= SWIG_Py_Void();
22955 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
= 0;
22957 wxDC
*arg1
= (wxDC
*) 0 ;
22958 wxPoint
*arg2
= 0 ;
22962 PyObject
* obj0
= 0 ;
22963 PyObject
* obj1
= 0 ;
22964 char * kwnames
[] = {
22965 (char *) "self",(char *) "point", NULL
22968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22976 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= SWIG_Py_Void();
22991 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22992 PyObject
*resultobj
= 0;
22993 wxDC
*arg1
= (wxDC
*) 0 ;
22996 PyObject
*swig_obj
[1] ;
22998 if (!args
) SWIG_fail
;
22999 swig_obj
[0] = args
;
23000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23001 if (!SWIG_IsOK(res1
)) {
23002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 (arg1
)->ResetBoundingBox();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_Py_Void();
23018 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 PyObject
*resultobj
= 0;
23020 wxDC
*arg1
= (wxDC
*) 0 ;
23024 PyObject
*swig_obj
[1] ;
23026 if (!args
) SWIG_fail
;
23027 swig_obj
[0] = args
;
23028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23029 if (!SWIG_IsOK(res1
)) {
23030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (int)((wxDC
const *)arg1
)->MinX();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_From_int(static_cast< int >(result
));
23046 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23047 PyObject
*resultobj
= 0;
23048 wxDC
*arg1
= (wxDC
*) 0 ;
23052 PyObject
*swig_obj
[1] ;
23054 if (!args
) SWIG_fail
;
23055 swig_obj
[0] = args
;
23056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23057 if (!SWIG_IsOK(res1
)) {
23058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (int)((wxDC
const *)arg1
)->MaxX();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_From_int(static_cast< int >(result
));
23074 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23075 PyObject
*resultobj
= 0;
23076 wxDC
*arg1
= (wxDC
*) 0 ;
23080 PyObject
*swig_obj
[1] ;
23082 if (!args
) SWIG_fail
;
23083 swig_obj
[0] = args
;
23084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23085 if (!SWIG_IsOK(res1
)) {
23086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 result
= (int)((wxDC
const *)arg1
)->MinY();
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_From_int(static_cast< int >(result
));
23102 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23103 PyObject
*resultobj
= 0;
23104 wxDC
*arg1
= (wxDC
*) 0 ;
23108 PyObject
*swig_obj
[1] ;
23110 if (!args
) SWIG_fail
;
23111 swig_obj
[0] = args
;
23112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 result
= (int)((wxDC
const *)arg1
)->MaxY();
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_From_int(static_cast< int >(result
));
23130 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23131 PyObject
*resultobj
= 0;
23132 wxDC
*arg1
= (wxDC
*) 0 ;
23133 int *arg2
= (int *) 0 ;
23134 int *arg3
= (int *) 0 ;
23135 int *arg4
= (int *) 0 ;
23136 int *arg5
= (int *) 0 ;
23140 int res2
= SWIG_TMPOBJ
;
23142 int res3
= SWIG_TMPOBJ
;
23144 int res4
= SWIG_TMPOBJ
;
23146 int res5
= SWIG_TMPOBJ
;
23147 PyObject
*swig_obj
[1] ;
23153 if (!args
) SWIG_fail
;
23154 swig_obj
[0] = args
;
23155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23156 if (!SWIG_IsOK(res1
)) {
23157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_Py_Void();
23167 if (SWIG_IsTmpObj(res2
)) {
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23170 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23173 if (SWIG_IsTmpObj(res3
)) {
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23176 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23179 if (SWIG_IsTmpObj(res4
)) {
23180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23182 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23185 if (SWIG_IsTmpObj(res5
)) {
23186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23188 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23197 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23198 PyObject
*resultobj
= 0;
23199 wxDC
*arg1
= (wxDC
*) 0 ;
23200 wxLayoutDirection result
;
23203 PyObject
*swig_obj
[1] ;
23205 if (!args
) SWIG_fail
;
23206 swig_obj
[0] = args
;
23207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_From_int(static_cast< int >(result
));
23225 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
= 0;
23227 wxDC
*arg1
= (wxDC
*) 0 ;
23228 wxLayoutDirection arg2
;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 char * kwnames
[] = {
23236 (char *) "self",(char *) "dir", NULL
23239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23241 if (!SWIG_IsOK(res1
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23246 if (!SWIG_IsOK(ecode2
)) {
23247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23249 arg2
= static_cast< wxLayoutDirection
>(val2
);
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 (arg1
)->SetLayoutDirection(arg2
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_Py_Void();
23263 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
= 0;
23265 wxDC
*arg1
= (wxDC
*) 0 ;
23266 PyObject
*arg2
= (PyObject
*) 0 ;
23267 PyObject
*arg3
= (PyObject
*) 0 ;
23268 PyObject
*arg4
= (PyObject
*) 0 ;
23269 PyObject
*result
= 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 PyObject
* obj2
= 0 ;
23275 PyObject
* obj3
= 0 ;
23276 char * kwnames
[] = {
23277 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23282 if (!SWIG_IsOK(res1
)) {
23283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= result
;
23302 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
= 0;
23304 wxDC
*arg1
= (wxDC
*) 0 ;
23305 PyObject
*arg2
= (PyObject
*) 0 ;
23306 PyObject
*arg3
= (PyObject
*) 0 ;
23307 PyObject
*arg4
= (PyObject
*) 0 ;
23308 PyObject
*result
= 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 PyObject
* obj2
= 0 ;
23314 PyObject
* obj3
= 0 ;
23315 char * kwnames
[] = {
23316 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23321 if (!SWIG_IsOK(res1
)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= result
;
23341 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
= 0;
23343 wxDC
*arg1
= (wxDC
*) 0 ;
23344 PyObject
*arg2
= (PyObject
*) 0 ;
23345 PyObject
*arg3
= (PyObject
*) 0 ;
23346 PyObject
*arg4
= (PyObject
*) 0 ;
23347 PyObject
*result
= 0 ;
23350 PyObject
* obj0
= 0 ;
23351 PyObject
* obj1
= 0 ;
23352 PyObject
* obj2
= 0 ;
23353 PyObject
* obj3
= 0 ;
23354 char * kwnames
[] = {
23355 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23360 if (!SWIG_IsOK(res1
)) {
23361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= result
;
23380 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
= 0;
23382 wxDC
*arg1
= (wxDC
*) 0 ;
23383 PyObject
*arg2
= (PyObject
*) 0 ;
23384 PyObject
*arg3
= (PyObject
*) 0 ;
23385 PyObject
*arg4
= (PyObject
*) 0 ;
23386 PyObject
*result
= 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 PyObject
* obj3
= 0 ;
23393 char * kwnames
[] = {
23394 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23399 if (!SWIG_IsOK(res1
)) {
23400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= result
;
23419 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= 0;
23421 wxDC
*arg1
= (wxDC
*) 0 ;
23422 PyObject
*arg2
= (PyObject
*) 0 ;
23423 PyObject
*arg3
= (PyObject
*) 0 ;
23424 PyObject
*arg4
= (PyObject
*) 0 ;
23425 PyObject
*result
= 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 PyObject
* obj2
= 0 ;
23431 PyObject
* obj3
= 0 ;
23432 char * kwnames
[] = {
23433 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= result
;
23458 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= 0;
23460 wxDC
*arg1
= (wxDC
*) 0 ;
23461 PyObject
*arg2
= (PyObject
*) 0 ;
23462 PyObject
*arg3
= (PyObject
*) 0 ;
23463 PyObject
*arg4
= (PyObject
*) 0 ;
23464 PyObject
*arg5
= (PyObject
*) 0 ;
23465 PyObject
*result
= 0 ;
23468 PyObject
* obj0
= 0 ;
23469 PyObject
* obj1
= 0 ;
23470 PyObject
* obj2
= 0 ;
23471 PyObject
* obj3
= 0 ;
23472 PyObject
* obj4
= 0 ;
23473 char * kwnames
[] = {
23474 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23479 if (!SWIG_IsOK(res1
)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= result
;
23500 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23503 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23504 return SWIG_Py_Void();
23507 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
= 0;
23510 wxColour
*arg2
= 0 ;
23511 wxDCTextColourChanger
*result
= 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char * kwnames
[] = {
23518 (char *) "dc",(char *) "col", NULL
23521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23522 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23523 if (!SWIG_IsOK(res1
)) {
23524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23547 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23548 PyObject
*resultobj
= 0;
23549 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23552 PyObject
*swig_obj
[1] ;
23554 if (!args
) SWIG_fail
;
23555 swig_obj
[0] = args
;
23556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23557 if (!SWIG_IsOK(res1
)) {
23558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23560 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= SWIG_Py_Void();
23575 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23578 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23579 return SWIG_Py_Void();
23582 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23583 return SWIG_Python_InitShadowInstance(args
);
23586 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
= 0;
23590 wxDCPenChanger
*result
= 0 ;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 char * kwnames
[] = {
23598 (char *) "dc",(char *) "pen", NULL
23601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23602 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23603 if (!SWIG_IsOK(res1
)) {
23604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23611 if (!SWIG_IsOK(res2
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23617 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23631 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23632 PyObject
*resultobj
= 0;
23633 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23636 PyObject
*swig_obj
[1] ;
23638 if (!args
) SWIG_fail
;
23639 swig_obj
[0] = args
;
23640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23641 if (!SWIG_IsOK(res1
)) {
23642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23644 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_Py_Void();
23659 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23662 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23663 return SWIG_Py_Void();
23666 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23667 return SWIG_Python_InitShadowInstance(args
);
23670 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
= 0;
23673 wxBrush
*arg2
= 0 ;
23674 wxDCBrushChanger
*result
= 0 ;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char * kwnames
[] = {
23682 (char *) "dc",(char *) "brush", NULL
23685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23686 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23695 if (!SWIG_IsOK(res2
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23701 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23715 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23716 PyObject
*resultobj
= 0;
23717 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23720 PyObject
*swig_obj
[1] ;
23722 if (!args
) SWIG_fail
;
23723 swig_obj
[0] = args
;
23724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23725 if (!SWIG_IsOK(res1
)) {
23726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23728 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_Py_Void();
23743 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23746 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23747 return SWIG_Py_Void();
23750 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23751 return SWIG_Python_InitShadowInstance(args
);
23754 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23755 PyObject
*resultobj
= 0;
23757 wxRegion
*arg2
= 0 ;
23758 wxDCClipper
*result
= 0 ;
23764 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23766 if (!SWIG_IsOK(res1
)) {
23767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23773 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23774 if (!SWIG_IsOK(res2
)) {
23775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23780 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23794 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23795 PyObject
*resultobj
= 0;
23798 wxDCClipper
*result
= 0 ;
23803 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23814 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23829 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23830 PyObject
*resultobj
= 0;
23836 wxDCClipper
*result
= 0 ;
23848 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23850 if (!SWIG_IsOK(res1
)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23857 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23858 if (!SWIG_IsOK(ecode2
)) {
23859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23861 arg2
= static_cast< int >(val2
);
23862 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23863 if (!SWIG_IsOK(ecode3
)) {
23864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23866 arg3
= static_cast< int >(val3
);
23867 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23868 if (!SWIG_IsOK(ecode4
)) {
23869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23871 arg4
= static_cast< int >(val4
);
23872 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23873 if (!SWIG_IsOK(ecode5
)) {
23874 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23876 arg5
= static_cast< int >(val5
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23890 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23894 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23899 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23900 _v
= SWIG_CheckState(res
);
23902 if (!_v
) goto check_1
;
23903 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23908 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23911 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23915 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23920 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23921 PyObject
*resultobj
= 0;
23922 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23925 PyObject
*swig_obj
[1] ;
23927 if (!args
) SWIG_fail
;
23928 swig_obj
[0] = args
;
23929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23930 if (!SWIG_IsOK(res1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23933 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= SWIG_Py_Void();
23948 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23951 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23952 return SWIG_Py_Void();
23955 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23956 return SWIG_Python_InitShadowInstance(args
);
23959 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23960 PyObject
*resultobj
= 0;
23961 wxScreenDC
*result
= 0 ;
23963 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23965 if (!wxPyCheckForApp()) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (wxScreenDC
*)new wxScreenDC();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23978 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
= 0;
23980 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23981 wxWindow
*arg2
= (wxWindow
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char * kwnames
[] = {
23990 (char *) "self",(char *) "window", NULL
23993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23995 if (!SWIG_IsOK(res1
)) {
23996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23998 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23999 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24000 if (!SWIG_IsOK(res2
)) {
24001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24003 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24019 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
= 0;
24021 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24022 wxRect
*arg2
= (wxRect
*) NULL
;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 char * kwnames
[] = {
24031 (char *) "self",(char *) "rect", NULL
24034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24036 if (!SWIG_IsOK(res1
)) {
24037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24039 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24041 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24042 if (!SWIG_IsOK(res2
)) {
24043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24045 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24062 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24063 PyObject
*resultobj
= 0;
24064 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24068 PyObject
*swig_obj
[1] ;
24070 if (!args
) SWIG_fail
;
24071 swig_obj
[0] = args
;
24072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24073 if (!SWIG_IsOK(res1
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24076 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (bool)(arg1
)->EndDrawingOnTop();
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24092 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24095 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24096 return SWIG_Py_Void();
24099 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24100 return SWIG_Python_InitShadowInstance(args
);
24103 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24105 wxWindow
*arg1
= (wxWindow
*) 0 ;
24106 wxWindowDC
*result
= 0 ;
24109 PyObject
* obj0
= 0 ;
24110 char * kwnames
[] = {
24111 (char *) "win", NULL
24114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24116 if (!SWIG_IsOK(res1
)) {
24117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24119 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24121 if (!wxPyCheckForApp()) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24134 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24137 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24138 return SWIG_Py_Void();
24141 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24142 return SWIG_Python_InitShadowInstance(args
);
24145 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxWindow
*arg1
= (wxWindow
*) 0 ;
24148 wxClientDC
*result
= 0 ;
24151 PyObject
* obj0
= 0 ;
24152 char * kwnames
[] = {
24153 (char *) "win", NULL
24156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24158 if (!SWIG_IsOK(res1
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24163 if (!wxPyCheckForApp()) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (wxClientDC
*)new wxClientDC(arg1
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24176 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24179 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24180 return SWIG_Py_Void();
24183 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24184 return SWIG_Python_InitShadowInstance(args
);
24187 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
= 0;
24189 wxWindow
*arg1
= (wxWindow
*) 0 ;
24190 wxPaintDC
*result
= 0 ;
24193 PyObject
* obj0
= 0 ;
24194 char * kwnames
[] = {
24195 (char *) "win", NULL
24198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24200 if (!SWIG_IsOK(res1
)) {
24201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24205 if (!wxPyCheckForApp()) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24218 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24221 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24222 return SWIG_Py_Void();
24225 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24226 return SWIG_Python_InitShadowInstance(args
);
24229 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= 0;
24231 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24232 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24233 wxMemoryDC
*result
= 0 ;
24236 PyObject
* obj0
= 0 ;
24237 char * kwnames
[] = {
24238 (char *) "bitmap", NULL
24241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24243 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24250 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24253 if (!wxPyCheckForApp()) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24256 wxPyEndAllowThreads(__tstate
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24266 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24267 PyObject
*resultobj
= 0;
24268 wxDC
*arg1
= (wxDC
*) 0 ;
24269 wxMemoryDC
*result
= 0 ;
24272 PyObject
* obj0
= 0 ;
24273 char * kwnames
[] = {
24274 (char *) "oldDC", NULL
24277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24284 if (!wxPyCheckForApp()) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24297 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24300 wxBitmap
*arg2
= 0 ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char * kwnames
[] = {
24308 (char *) "self",(char *) "bitmap", NULL
24311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24316 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24318 if (!SWIG_IsOK(res2
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24324 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->SelectObject(*arg2
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= SWIG_Py_Void();
24338 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
= 0;
24340 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24341 wxBitmap
*arg2
= 0 ;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 char * kwnames
[] = {
24349 (char *) "self",(char *) "bmp", NULL
24352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24354 if (!SWIG_IsOK(res1
)) {
24355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24357 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24358 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24359 if (!SWIG_IsOK(res2
)) {
24360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24365 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_Py_Void();
24379 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24382 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24383 return SWIG_Py_Void();
24386 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24387 return SWIG_Python_InitShadowInstance(args
);
24390 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24391 PyObject
*resultobj
= 0;
24392 wxDC
*arg1
= (wxDC
*) 0 ;
24393 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24394 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24395 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24396 wxBufferedDC
*result
= 0 ;
24404 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24406 if (!SWIG_IsOK(res1
)) {
24407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24411 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24412 if (!SWIG_IsOK(res2
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24418 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24421 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24422 if (!SWIG_IsOK(ecode3
)) {
24423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24425 arg3
= static_cast< int >(val3
);
24428 if (!wxPyCheckForApp()) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24441 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24442 PyObject
*resultobj
= 0;
24443 wxDC
*arg1
= (wxDC
*) 0 ;
24445 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24446 wxBufferedDC
*result
= 0 ;
24453 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24461 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24464 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24465 if (!SWIG_IsOK(ecode3
)) {
24466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24468 arg3
= static_cast< int >(val3
);
24471 if (!wxPyCheckForApp()) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24484 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24488 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24490 if ((argc
>= 1) && (argc
<= 3)) {
24495 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24496 _v
= SWIG_CheckState(res
);
24498 if (!_v
) goto check_1
;
24500 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24504 if ((argc
>= 2) && (argc
<= 3)) {
24505 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24509 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24514 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24515 PyObject
*resultobj
= 0;
24516 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24519 PyObject
*swig_obj
[1] ;
24521 if (!args
) SWIG_fail
;
24522 swig_obj
[0] = args
;
24523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24524 if (!SWIG_IsOK(res1
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24527 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_Py_Void();
24542 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24543 PyObject
*resultobj
= 0;
24544 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24547 PyObject
*swig_obj
[1] ;
24549 if (!args
) SWIG_fail
;
24550 swig_obj
[0] = args
;
24551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24555 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_Py_Void();
24569 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char * kwnames
[] = {
24580 (char *) "self",(char *) "style", NULL
24583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24585 if (!SWIG_IsOK(res1
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24588 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24590 if (!SWIG_IsOK(ecode2
)) {
24591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24593 arg2
= static_cast< int >(val2
);
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 (arg1
)->SetStyle(arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= SWIG_Py_Void();
24607 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24608 PyObject
*resultobj
= 0;
24609 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24613 PyObject
*swig_obj
[1] ;
24615 if (!args
) SWIG_fail
;
24616 swig_obj
[0] = args
;
24617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24621 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= SWIG_From_int(static_cast< int >(result
));
24635 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24638 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24639 return SWIG_Py_Void();
24642 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24643 return SWIG_Python_InitShadowInstance(args
);
24646 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxWindow
*arg1
= (wxWindow
*) 0 ;
24649 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24650 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24651 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24652 wxBufferedPaintDC
*result
= 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 PyObject
* obj2
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "window",(char *) "buffer",(char *) "style", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24671 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24674 if (!SWIG_IsOK(res2
)) {
24675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24680 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24684 if (!SWIG_IsOK(ecode3
)) {
24685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24687 arg3
= static_cast< int >(val3
);
24690 if (!wxPyCheckForApp()) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24703 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24706 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24707 return SWIG_Py_Void();
24710 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24711 return SWIG_Python_InitShadowInstance(args
);
24714 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxWindow
*arg1
= (wxWindow
*) 0 ;
24717 wxAutoBufferedPaintDC
*result
= 0 ;
24720 PyObject
* obj0
= 0 ;
24721 char * kwnames
[] = {
24722 (char *) "win", NULL
24725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24730 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24744 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24747 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24748 return SWIG_Py_Void();
24751 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24752 return SWIG_Python_InitShadowInstance(args
);
24755 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
= 0;
24757 wxWindow
*arg1
= (wxWindow
*) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 char * kwnames
[] = {
24763 (char *) "window", NULL
24766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24768 if (!SWIG_IsOK(res1
)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24787 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
= 0;
24791 wxMirrorDC
*result
= 0 ;
24796 PyObject
* obj0
= 0 ;
24797 PyObject
* obj1
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "dc",(char *) "mirror", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24811 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24812 if (!SWIG_IsOK(ecode2
)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24815 arg2
= static_cast< bool >(val2
);
24817 if (!wxPyCheckForApp()) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24830 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24833 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24834 return SWIG_Py_Void();
24837 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24838 return SWIG_Python_InitShadowInstance(args
);
24841 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
= 0;
24843 wxPrintData
*arg1
= 0 ;
24844 wxPostScriptDC
*result
= 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char * kwnames
[] = {
24849 (char *) "printData", NULL
24852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24853 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24854 if (!SWIG_IsOK(res1
)) {
24855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24860 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24862 if (!wxPyCheckForApp()) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24875 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24876 PyObject
*resultobj
= 0;
24877 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24878 wxPrintData
*result
= 0 ;
24881 PyObject
*swig_obj
[1] ;
24883 if (!args
) SWIG_fail
;
24884 swig_obj
[0] = args
;
24885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24886 if (!SWIG_IsOK(res1
)) {
24887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24889 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24894 result
= (wxPrintData
*) &_result_ref
;
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24906 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
= 0;
24908 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24909 wxPrintData
*arg2
= 0 ;
24914 PyObject
* obj0
= 0 ;
24915 PyObject
* obj1
= 0 ;
24916 char * kwnames
[] = {
24917 (char *) "self",(char *) "data", NULL
24920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24925 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24927 if (!SWIG_IsOK(res2
)) {
24928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24933 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_Py_Void();
24947 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24952 PyObject
* obj0
= 0 ;
24953 char * kwnames
[] = {
24954 (char *) "ppi", NULL
24957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24959 if (!SWIG_IsOK(ecode1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24962 arg1
= static_cast< int >(val1
);
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 wxPostScriptDC::SetResolution(arg1
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_Py_Void();
24976 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24977 PyObject
*resultobj
= 0;
24980 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (int)wxPostScriptDC::GetResolution();
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= SWIG_From_int(static_cast< int >(result
));
24994 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24998 return SWIG_Py_Void();
25001 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25002 return SWIG_Python_InitShadowInstance(args
);
25005 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
= 0;
25007 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25008 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25009 wxMetaFile
*result
= 0 ;
25010 bool temp1
= false ;
25011 PyObject
* obj0
= 0 ;
25012 char * kwnames
[] = {
25013 (char *) "filename", NULL
25016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25019 arg1
= wxString_in_helper(obj0
);
25020 if (arg1
== NULL
) SWIG_fail
;
25025 if (!wxPyCheckForApp()) SWIG_fail
;
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25046 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25049 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25050 return SWIG_Py_Void();
25053 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25054 return SWIG_Python_InitShadowInstance(args
);
25057 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
= 0;
25059 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25060 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25061 int arg2
= (int) 0 ;
25062 int arg3
= (int) 0 ;
25063 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25064 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25065 wxMetaFileDC
*result
= 0 ;
25066 bool temp1
= false ;
25071 bool temp4
= false ;
25072 PyObject
* obj0
= 0 ;
25073 PyObject
* obj1
= 0 ;
25074 PyObject
* obj2
= 0 ;
25075 PyObject
* obj3
= 0 ;
25076 char * kwnames
[] = {
25077 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25083 arg1
= wxString_in_helper(obj0
);
25084 if (arg1
== NULL
) SWIG_fail
;
25089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25090 if (!SWIG_IsOK(ecode2
)) {
25091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25093 arg2
= static_cast< int >(val2
);
25096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25097 if (!SWIG_IsOK(ecode3
)) {
25098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25100 arg3
= static_cast< int >(val3
);
25104 arg4
= wxString_in_helper(obj3
);
25105 if (arg4
== NULL
) SWIG_fail
;
25110 if (!wxPyCheckForApp()) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25139 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25142 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25143 return SWIG_Py_Void();
25146 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25147 return SWIG_Python_InitShadowInstance(args
);
25150 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
= 0;
25152 wxPrintData
*arg1
= 0 ;
25153 wxPrinterDC
*result
= 0 ;
25156 PyObject
* obj0
= 0 ;
25157 char * kwnames
[] = {
25158 (char *) "printData", NULL
25161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25162 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25163 if (!SWIG_IsOK(res1
)) {
25164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25169 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25171 if (!wxPyCheckForApp()) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25184 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25187 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25188 return SWIG_Py_Void();
25191 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25192 return SWIG_Python_InitShadowInstance(args
);
25195 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25198 wxGraphicsObject
*result
= 0 ;
25201 PyObject
* obj0
= 0 ;
25202 char * kwnames
[] = {
25203 (char *) "renderer", NULL
25206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25212 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25215 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25225 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 PyObject
*resultobj
= 0;
25227 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25230 PyObject
*swig_obj
[1] ;
25232 if (!args
) SWIG_fail
;
25233 swig_obj
[0] = args
;
25234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25238 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_Py_Void();
25251 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25252 PyObject
*resultobj
= 0;
25253 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25257 PyObject
*swig_obj
[1] ;
25259 if (!args
) SWIG_fail
;
25260 swig_obj
[0] = args
;
25261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25262 if (!SWIG_IsOK(res1
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25265 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25267 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25268 if (PyErr_Occurred()) SWIG_fail
;
25271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25279 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 PyObject
*resultobj
= 0;
25281 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25282 wxGraphicsRenderer
*result
= 0 ;
25285 PyObject
*swig_obj
[1] ;
25287 if (!args
) SWIG_fail
;
25288 swig_obj
[0] = args
;
25289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25293 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25295 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25305 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25308 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25309 return SWIG_Py_Void();
25312 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25313 return SWIG_Python_InitShadowInstance(args
);
25316 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25317 PyObject
*resultobj
= 0;
25318 wxGraphicsPen
*result
= 0 ;
25320 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25322 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25332 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25333 PyObject
*resultobj
= 0;
25334 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25337 PyObject
*swig_obj
[1] ;
25339 if (!args
) SWIG_fail
;
25340 swig_obj
[0] = args
;
25341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25342 if (!SWIG_IsOK(res1
)) {
25343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25345 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25349 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= SWIG_Py_Void();
25358 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25361 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25362 return SWIG_Py_Void();
25365 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 return SWIG_Python_InitShadowInstance(args
);
25369 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25370 PyObject
*resultobj
= 0;
25371 wxGraphicsBrush
*result
= 0 ;
25373 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25375 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25385 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25386 PyObject
*resultobj
= 0;
25387 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25390 PyObject
*swig_obj
[1] ;
25392 if (!args
) SWIG_fail
;
25393 swig_obj
[0] = args
;
25394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25398 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 resultobj
= SWIG_Py_Void();
25411 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25414 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25415 return SWIG_Py_Void();
25418 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 return SWIG_Python_InitShadowInstance(args
);
25422 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25423 PyObject
*resultobj
= 0;
25424 wxGraphicsFont
*result
= 0 ;
25426 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25428 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25438 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25439 PyObject
*resultobj
= 0;
25440 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25443 PyObject
*swig_obj
[1] ;
25445 if (!args
) SWIG_fail
;
25446 swig_obj
[0] = args
;
25447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25448 if (!SWIG_IsOK(res1
)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25451 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_Py_Void();
25464 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25467 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25468 return SWIG_Py_Void();
25471 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25472 return SWIG_Python_InitShadowInstance(args
);
25475 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25476 PyObject
*resultobj
= 0;
25477 wxGraphicsMatrix
*result
= 0 ;
25479 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25481 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25491 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25492 PyObject
*resultobj
= 0;
25493 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25496 PyObject
*swig_obj
[1] ;
25498 if (!args
) SWIG_fail
;
25499 swig_obj
[0] = args
;
25500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25501 if (!SWIG_IsOK(res1
)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25504 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_Py_Void();
25517 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
= 0;
25519 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25520 wxGraphicsMatrix
*arg2
= 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char * kwnames
[] = {
25528 (char *) "self",(char *) "t", NULL
25531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25536 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25538 if (!SWIG_IsOK(res2
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25544 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25546 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= SWIG_Py_Void();
25556 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
= 0;
25558 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25559 wxDouble arg2
= (wxDouble
) 1.0 ;
25560 wxDouble arg3
= (wxDouble
) 0.0 ;
25561 wxDouble arg4
= (wxDouble
) 0.0 ;
25562 wxDouble arg5
= (wxDouble
) 1.0 ;
25563 wxDouble arg6
= (wxDouble
) 0.0 ;
25564 wxDouble arg7
= (wxDouble
) 0.0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 PyObject
* obj2
= 0 ;
25582 PyObject
* obj3
= 0 ;
25583 PyObject
* obj4
= 0 ;
25584 PyObject
* obj5
= 0 ;
25585 PyObject
* obj6
= 0 ;
25586 char * kwnames
[] = {
25587 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25592 if (!SWIG_IsOK(res1
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25595 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25597 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25598 if (!SWIG_IsOK(ecode2
)) {
25599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25601 arg2
= static_cast< wxDouble
>(val2
);
25604 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25605 if (!SWIG_IsOK(ecode3
)) {
25606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25608 arg3
= static_cast< wxDouble
>(val3
);
25611 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25612 if (!SWIG_IsOK(ecode4
)) {
25613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25615 arg4
= static_cast< wxDouble
>(val4
);
25618 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25619 if (!SWIG_IsOK(ecode5
)) {
25620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25622 arg5
= static_cast< wxDouble
>(val5
);
25625 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25626 if (!SWIG_IsOK(ecode6
)) {
25627 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25629 arg6
= static_cast< wxDouble
>(val6
);
25632 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25633 if (!SWIG_IsOK(ecode7
)) {
25634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25636 arg7
= static_cast< wxDouble
>(val7
);
25639 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= SWIG_Py_Void();
25649 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25650 PyObject
*resultobj
= 0;
25651 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25652 wxDouble
*arg2
= (wxDouble
*) 0 ;
25653 wxDouble
*arg3
= (wxDouble
*) 0 ;
25654 wxDouble
*arg4
= (wxDouble
*) 0 ;
25655 wxDouble
*arg5
= (wxDouble
*) 0 ;
25656 wxDouble
*arg6
= (wxDouble
*) 0 ;
25657 wxDouble
*arg7
= (wxDouble
*) 0 ;
25661 int res2
= SWIG_TMPOBJ
;
25663 int res3
= SWIG_TMPOBJ
;
25665 int res4
= SWIG_TMPOBJ
;
25667 int res5
= SWIG_TMPOBJ
;
25669 int res6
= SWIG_TMPOBJ
;
25671 int res7
= SWIG_TMPOBJ
;
25672 PyObject
*swig_obj
[1] ;
25680 if (!args
) SWIG_fail
;
25681 swig_obj
[0] = args
;
25682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25683 if (!SWIG_IsOK(res1
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25686 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25688 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_Py_Void();
25692 if (SWIG_IsTmpObj(res2
)) {
25693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25695 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25698 if (SWIG_IsTmpObj(res3
)) {
25699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25701 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25704 if (SWIG_IsTmpObj(res4
)) {
25705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25707 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25710 if (SWIG_IsTmpObj(res5
)) {
25711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25713 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25716 if (SWIG_IsTmpObj(res6
)) {
25717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25719 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25722 if (SWIG_IsTmpObj(res7
)) {
25723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25725 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25726 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25734 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25735 PyObject
*resultobj
= 0;
25736 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25747 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= SWIG_Py_Void();
25759 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
= 0;
25761 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25762 wxGraphicsMatrix
*arg2
= 0 ;
25768 PyObject
* obj0
= 0 ;
25769 PyObject
* obj1
= 0 ;
25770 char * kwnames
[] = {
25771 (char *) "self",(char *) "t", NULL
25774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25776 if (!SWIG_IsOK(res1
)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25779 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25781 if (!SWIG_IsOK(res2
)) {
25782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25787 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25789 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25801 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25802 PyObject
*resultobj
= 0;
25803 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25807 PyObject
*swig_obj
[1] ;
25809 if (!args
) SWIG_fail
;
25810 swig_obj
[0] = args
;
25811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25815 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25817 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25818 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25829 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
= 0;
25831 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 PyObject
* obj2
= 0 ;
25843 char * kwnames
[] = {
25844 (char *) "self",(char *) "dx",(char *) "dy", NULL
25847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25849 if (!SWIG_IsOK(res1
)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25852 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25853 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25854 if (!SWIG_IsOK(ecode2
)) {
25855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25857 arg2
= static_cast< wxDouble
>(val2
);
25858 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25859 if (!SWIG_IsOK(ecode3
)) {
25860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25862 arg3
= static_cast< wxDouble
>(val3
);
25864 (arg1
)->Translate(arg2
,arg3
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_Py_Void();
25874 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
= 0;
25876 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 PyObject
* obj2
= 0 ;
25888 char * kwnames
[] = {
25889 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25894 if (!SWIG_IsOK(res1
)) {
25895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25897 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25898 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25899 if (!SWIG_IsOK(ecode2
)) {
25900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25902 arg2
= static_cast< wxDouble
>(val2
);
25903 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25904 if (!SWIG_IsOK(ecode3
)) {
25905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25907 arg3
= static_cast< wxDouble
>(val3
);
25909 (arg1
)->Scale(arg2
,arg3
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_Py_Void();
25919 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
= 0;
25921 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 char * kwnames
[] = {
25930 (char *) "self",(char *) "angle", NULL
25933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25935 if (!SWIG_IsOK(res1
)) {
25936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25938 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25939 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25940 if (!SWIG_IsOK(ecode2
)) {
25941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25943 arg2
= static_cast< wxDouble
>(val2
);
25945 (arg1
)->Rotate(arg2
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_Py_Void();
25955 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
= 0;
25957 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25958 wxDouble
*arg2
= (wxDouble
*) 0 ;
25959 wxDouble
*arg3
= (wxDouble
*) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 PyObject
* obj2
= 0 ;
25969 char * kwnames
[] = {
25970 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25978 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25979 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25981 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25982 if (!SWIG_IsOK(ecode
)) {
25983 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25985 temp2
= static_cast< wxDouble
>(val
);
25987 res2
= SWIG_AddTmpMask(ecode
);
25989 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25991 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25992 if (!SWIG_IsOK(ecode
)) {
25993 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25995 temp3
= static_cast< wxDouble
>(val
);
25997 res3
= SWIG_AddTmpMask(ecode
);
26000 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26001 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= SWIG_Py_Void();
26004 if (SWIG_IsTmpObj(res2
)) {
26005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26007 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26010 if (SWIG_IsTmpObj(res3
)) {
26011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26022 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
= 0;
26024 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26025 wxDouble
*arg2
= (wxDouble
*) 0 ;
26026 wxDouble
*arg3
= (wxDouble
*) 0 ;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 PyObject
* obj2
= 0 ;
26036 char * kwnames
[] = {
26037 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26045 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26046 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26048 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26049 if (!SWIG_IsOK(ecode
)) {
26050 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26052 temp2
= static_cast< wxDouble
>(val
);
26054 res2
= SWIG_AddTmpMask(ecode
);
26056 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26058 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26059 if (!SWIG_IsOK(ecode
)) {
26060 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26062 temp3
= static_cast< wxDouble
>(val
);
26064 res3
= SWIG_AddTmpMask(ecode
);
26067 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_Py_Void();
26071 if (SWIG_IsTmpObj(res2
)) {
26072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26074 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26077 if (SWIG_IsTmpObj(res3
)) {
26078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26080 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26089 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 PyObject
*resultobj
= 0;
26091 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26095 PyObject
*swig_obj
[1] ;
26097 if (!args
) SWIG_fail
;
26098 swig_obj
[0] = args
;
26099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26100 if (!SWIG_IsOK(res1
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26103 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26105 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26115 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26118 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26119 return SWIG_Py_Void();
26122 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26123 return SWIG_Python_InitShadowInstance(args
);
26126 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26127 PyObject
*resultobj
= 0;
26128 wxGraphicsPath
*result
= 0 ;
26130 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26132 if (!wxPyCheckForApp()) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26145 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26146 PyObject
*resultobj
= 0;
26147 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26150 PyObject
*swig_obj
[1] ;
26152 if (!args
) SWIG_fail
;
26153 swig_obj
[0] = args
;
26154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26155 if (!SWIG_IsOK(res1
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26158 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_Py_Void();
26171 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26172 PyObject
*resultobj
= 0;
26173 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26183 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26188 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26189 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26190 if (!SWIG_IsOK(ecode2
)) {
26191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26193 arg2
= static_cast< wxDouble
>(val2
);
26194 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26195 if (!SWIG_IsOK(ecode3
)) {
26196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26198 arg3
= static_cast< wxDouble
>(val3
);
26200 (arg1
)->MoveToPoint(arg2
,arg3
);
26201 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= SWIG_Py_Void();
26210 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26211 PyObject
*resultobj
= 0;
26212 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26213 wxPoint2D
*arg2
= 0 ;
26218 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26220 if (!SWIG_IsOK(res1
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26223 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26226 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26229 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_Py_Void();
26239 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26243 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26246 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26249 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26253 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26258 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26259 PyObject
*resultobj
= 0;
26260 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26270 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26275 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26276 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26277 if (!SWIG_IsOK(ecode2
)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26280 arg2
= static_cast< wxDouble
>(val2
);
26281 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26282 if (!SWIG_IsOK(ecode3
)) {
26283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26285 arg3
= static_cast< wxDouble
>(val3
);
26287 (arg1
)->AddLineToPoint(arg2
,arg3
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_Py_Void();
26297 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26298 PyObject
*resultobj
= 0;
26299 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26300 wxPoint2D
*arg2
= 0 ;
26305 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26307 if (!SWIG_IsOK(res1
)) {
26308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26310 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26313 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26316 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= SWIG_Py_Void();
26326 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26330 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26333 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26336 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26340 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26345 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26346 PyObject
*resultobj
= 0;
26347 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26369 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26371 if (!SWIG_IsOK(res1
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26374 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26375 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26376 if (!SWIG_IsOK(ecode2
)) {
26377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26379 arg2
= static_cast< wxDouble
>(val2
);
26380 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26381 if (!SWIG_IsOK(ecode3
)) {
26382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26384 arg3
= static_cast< wxDouble
>(val3
);
26385 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26386 if (!SWIG_IsOK(ecode4
)) {
26387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26389 arg4
= static_cast< wxDouble
>(val4
);
26390 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26391 if (!SWIG_IsOK(ecode5
)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26394 arg5
= static_cast< wxDouble
>(val5
);
26395 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26396 if (!SWIG_IsOK(ecode6
)) {
26397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26399 arg6
= static_cast< wxDouble
>(val6
);
26400 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26401 if (!SWIG_IsOK(ecode7
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26404 arg7
= static_cast< wxDouble
>(val7
);
26406 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_Py_Void();
26416 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26417 PyObject
*resultobj
= 0;
26418 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26419 wxPoint2D
*arg2
= 0 ;
26420 wxPoint2D
*arg3
= 0 ;
26421 wxPoint2D
*arg4
= 0 ;
26428 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26433 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26436 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26440 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26444 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26447 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_Py_Void();
26457 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26461 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26464 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26467 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26471 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26476 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
= 0;
26478 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26479 wxGraphicsPath
*arg2
= 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 char * kwnames
[] = {
26487 (char *) "self",(char *) "path", NULL
26490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26495 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26497 if (!SWIG_IsOK(res2
)) {
26498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26503 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26505 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= SWIG_Py_Void();
26515 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26516 PyObject
*resultobj
= 0;
26517 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26520 PyObject
*swig_obj
[1] ;
26522 if (!args
) SWIG_fail
;
26523 swig_obj
[0] = args
;
26524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26528 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26530 (arg1
)->CloseSubpath();
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= SWIG_Py_Void();
26540 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26541 PyObject
*resultobj
= 0;
26542 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26546 PyObject
*swig_obj
[1] ;
26548 if (!args
) SWIG_fail
;
26549 swig_obj
[0] = args
;
26550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26554 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26556 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26566 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26567 PyObject
*resultobj
= 0;
26568 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26590 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26592 if (!SWIG_IsOK(res1
)) {
26593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26595 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26596 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26597 if (!SWIG_IsOK(ecode2
)) {
26598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26600 arg2
= static_cast< wxDouble
>(val2
);
26601 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26602 if (!SWIG_IsOK(ecode3
)) {
26603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26605 arg3
= static_cast< wxDouble
>(val3
);
26606 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26607 if (!SWIG_IsOK(ecode4
)) {
26608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26610 arg4
= static_cast< wxDouble
>(val4
);
26611 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26612 if (!SWIG_IsOK(ecode5
)) {
26613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26615 arg5
= static_cast< wxDouble
>(val5
);
26616 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26617 if (!SWIG_IsOK(ecode6
)) {
26618 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26620 arg6
= static_cast< wxDouble
>(val6
);
26621 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26622 if (!SWIG_IsOK(ecode7
)) {
26623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26625 arg7
= static_cast< bool >(val7
);
26627 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= SWIG_Py_Void();
26637 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26638 PyObject
*resultobj
= 0;
26639 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26640 wxPoint2D
*arg2
= 0 ;
26657 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26662 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26665 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26667 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26668 if (!SWIG_IsOK(ecode3
)) {
26669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26671 arg3
= static_cast< wxDouble
>(val3
);
26672 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26673 if (!SWIG_IsOK(ecode4
)) {
26674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26676 arg4
= static_cast< wxDouble
>(val4
);
26677 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26678 if (!SWIG_IsOK(ecode5
)) {
26679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26681 arg5
= static_cast< wxDouble
>(val5
);
26682 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26683 if (!SWIG_IsOK(ecode6
)) {
26684 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26686 arg6
= static_cast< bool >(val6
);
26688 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_Py_Void();
26698 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26702 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26705 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26708 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26712 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26717 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
= 0;
26719 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26734 PyObject
* obj0
= 0 ;
26735 PyObject
* obj1
= 0 ;
26736 PyObject
* obj2
= 0 ;
26737 PyObject
* obj3
= 0 ;
26738 PyObject
* obj4
= 0 ;
26739 char * kwnames
[] = {
26740 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26745 if (!SWIG_IsOK(res1
)) {
26746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26748 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26749 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26750 if (!SWIG_IsOK(ecode2
)) {
26751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26753 arg2
= static_cast< wxDouble
>(val2
);
26754 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26755 if (!SWIG_IsOK(ecode3
)) {
26756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26758 arg3
= static_cast< wxDouble
>(val3
);
26759 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26760 if (!SWIG_IsOK(ecode4
)) {
26761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26763 arg4
= static_cast< wxDouble
>(val4
);
26764 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26765 if (!SWIG_IsOK(ecode5
)) {
26766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26768 arg5
= static_cast< wxDouble
>(val5
);
26770 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= SWIG_Py_Void();
26780 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
= 0;
26782 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 PyObject
* obj2
= 0 ;
26800 PyObject
* obj3
= 0 ;
26801 PyObject
* obj4
= 0 ;
26802 char * kwnames
[] = {
26803 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26808 if (!SWIG_IsOK(res1
)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26811 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26812 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26813 if (!SWIG_IsOK(ecode2
)) {
26814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26816 arg2
= static_cast< wxDouble
>(val2
);
26817 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26818 if (!SWIG_IsOK(ecode3
)) {
26819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26821 arg3
= static_cast< wxDouble
>(val3
);
26822 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26823 if (!SWIG_IsOK(ecode4
)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26826 arg4
= static_cast< wxDouble
>(val4
);
26827 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26828 if (!SWIG_IsOK(ecode5
)) {
26829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26831 arg5
= static_cast< wxDouble
>(val5
);
26833 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= SWIG_Py_Void();
26843 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
= 0;
26845 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26857 PyObject
* obj0
= 0 ;
26858 PyObject
* obj1
= 0 ;
26859 PyObject
* obj2
= 0 ;
26860 PyObject
* obj3
= 0 ;
26861 char * kwnames
[] = {
26862 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26870 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26871 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26872 if (!SWIG_IsOK(ecode2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26875 arg2
= static_cast< wxDouble
>(val2
);
26876 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26877 if (!SWIG_IsOK(ecode3
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26880 arg3
= static_cast< wxDouble
>(val3
);
26881 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26882 if (!SWIG_IsOK(ecode4
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26885 arg4
= static_cast< wxDouble
>(val4
);
26887 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_Py_Void();
26897 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
= 0;
26899 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 PyObject
* obj2
= 0 ;
26920 PyObject
* obj3
= 0 ;
26921 PyObject
* obj4
= 0 ;
26922 PyObject
* obj5
= 0 ;
26923 char * kwnames
[] = {
26924 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26929 if (!SWIG_IsOK(res1
)) {
26930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26932 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26933 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26934 if (!SWIG_IsOK(ecode2
)) {
26935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26937 arg2
= static_cast< wxDouble
>(val2
);
26938 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26939 if (!SWIG_IsOK(ecode3
)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26942 arg3
= static_cast< wxDouble
>(val3
);
26943 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26944 if (!SWIG_IsOK(ecode4
)) {
26945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26947 arg4
= static_cast< wxDouble
>(val4
);
26948 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26949 if (!SWIG_IsOK(ecode5
)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26952 arg5
= static_cast< wxDouble
>(val5
);
26953 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26954 if (!SWIG_IsOK(ecode6
)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26957 arg6
= static_cast< wxDouble
>(val6
);
26959 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_Py_Void();
26969 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
= 0;
26971 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 PyObject
* obj2
= 0 ;
26989 PyObject
* obj3
= 0 ;
26990 PyObject
* obj4
= 0 ;
26991 char * kwnames
[] = {
26992 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26997 if (!SWIG_IsOK(res1
)) {
26998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27000 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27001 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27002 if (!SWIG_IsOK(ecode2
)) {
27003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27005 arg2
= static_cast< wxDouble
>(val2
);
27006 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27007 if (!SWIG_IsOK(ecode3
)) {
27008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27010 arg3
= static_cast< wxDouble
>(val3
);
27011 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27012 if (!SWIG_IsOK(ecode4
)) {
27013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27015 arg4
= static_cast< wxDouble
>(val4
);
27016 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27017 if (!SWIG_IsOK(ecode5
)) {
27018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27020 arg5
= static_cast< wxDouble
>(val5
);
27022 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_Py_Void();
27032 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
= 0;
27034 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 PyObject
* obj2
= 0 ;
27055 PyObject
* obj3
= 0 ;
27056 PyObject
* obj4
= 0 ;
27057 PyObject
* obj5
= 0 ;
27058 char * kwnames
[] = {
27059 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27064 if (!SWIG_IsOK(res1
)) {
27065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27067 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27068 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27069 if (!SWIG_IsOK(ecode2
)) {
27070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27072 arg2
= static_cast< wxDouble
>(val2
);
27073 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27074 if (!SWIG_IsOK(ecode3
)) {
27075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27077 arg3
= static_cast< wxDouble
>(val3
);
27078 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27079 if (!SWIG_IsOK(ecode4
)) {
27080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27082 arg4
= static_cast< wxDouble
>(val4
);
27083 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27084 if (!SWIG_IsOK(ecode5
)) {
27085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27087 arg5
= static_cast< wxDouble
>(val5
);
27088 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27089 if (!SWIG_IsOK(ecode6
)) {
27090 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27092 arg6
= static_cast< wxDouble
>(val6
);
27094 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27097 resultobj
= SWIG_Py_Void();
27104 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27105 PyObject
*resultobj
= 0;
27106 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27110 PyObject
*swig_obj
[1] ;
27112 if (!args
) SWIG_fail
;
27113 swig_obj
[0] = args
;
27114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27115 if (!SWIG_IsOK(res1
)) {
27116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27118 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27120 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27130 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
= 0;
27132 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27133 void *arg2
= (void *) 0 ;
27137 PyObject
* obj0
= 0 ;
27138 PyObject
* obj1
= 0 ;
27139 char * kwnames
[] = {
27140 (char *) "self",(char *) "p", NULL
27143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27145 if (!SWIG_IsOK(res1
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27148 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27149 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27150 if (!SWIG_IsOK(res2
)) {
27151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27154 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_Py_Void();
27164 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
= 0;
27166 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27167 wxGraphicsMatrix
*arg2
= 0 ;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 char * kwnames
[] = {
27175 (char *) "self",(char *) "matrix", NULL
27178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27180 if (!SWIG_IsOK(res1
)) {
27181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27183 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27185 if (!SWIG_IsOK(res2
)) {
27186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27191 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27193 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= SWIG_Py_Void();
27203 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27204 PyObject
*resultobj
= 0;
27205 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27209 PyObject
*swig_obj
[1] ;
27211 if (!args
) SWIG_fail
;
27212 swig_obj
[0] = args
;
27213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27214 if (!SWIG_IsOK(res1
)) {
27215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27217 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27219 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27229 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27230 PyObject
*resultobj
= 0;
27231 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27234 int arg4
= (int) wxODDEVEN_RULE
;
27245 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27247 if (!SWIG_IsOK(res1
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27250 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27251 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27252 if (!SWIG_IsOK(ecode2
)) {
27253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27255 arg2
= static_cast< wxDouble
>(val2
);
27256 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27257 if (!SWIG_IsOK(ecode3
)) {
27258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27260 arg3
= static_cast< wxDouble
>(val3
);
27262 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27263 if (!SWIG_IsOK(ecode4
)) {
27264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27266 arg4
= static_cast< int >(val4
);
27269 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27281 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27282 PyObject
*resultobj
= 0;
27283 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27284 wxPoint2D
*arg2
= 0 ;
27285 int arg3
= (int) wxODDEVEN_RULE
;
27293 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27298 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27301 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27304 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27305 if (!SWIG_IsOK(ecode3
)) {
27306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27308 arg3
= static_cast< int >(val3
);
27311 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27323 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27327 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27329 if ((argc
>= 2) && (argc
<= 3)) {
27333 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27336 if (!_v
) goto check_1
;
27340 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27341 _v
= SWIG_CheckState(res
);
27344 if (!_v
) goto check_1
;
27346 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27350 if ((argc
>= 3) && (argc
<= 4)) {
27351 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27355 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27360 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27363 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27364 return SWIG_Py_Void();
27367 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 return SWIG_Python_InitShadowInstance(args
);
27371 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27372 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27377 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27378 PyObject
*pyobj
= 0;
27380 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27385 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27386 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27391 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27392 PyObject
*pyobj
= 0;
27394 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27399 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27400 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27405 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27406 PyObject
*pyobj
= 0;
27408 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27413 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27414 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27419 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27420 PyObject
*pyobj
= 0;
27422 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27427 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27428 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27433 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27434 PyObject
*pyobj
= 0;
27436 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27441 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27442 PyObject
*resultobj
= 0;
27443 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27446 PyObject
*swig_obj
[1] ;
27448 if (!args
) SWIG_fail
;
27449 swig_obj
[0] = args
;
27450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27451 if (!SWIG_IsOK(res1
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27454 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 resultobj
= SWIG_Py_Void();
27467 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27468 PyObject
*resultobj
= 0;
27469 wxWindowDC
*arg1
= 0 ;
27470 wxGraphicsContext
*result
= 0 ;
27474 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27476 if (!SWIG_IsOK(res1
)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27482 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27484 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27494 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27495 PyObject
*resultobj
= 0;
27496 wxWindow
*arg1
= (wxWindow
*) 0 ;
27497 wxGraphicsContext
*result
= 0 ;
27501 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27503 if (!SWIG_IsOK(res1
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27506 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27508 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27518 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27522 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27527 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27528 _v
= SWIG_CheckState(res
);
27530 if (!_v
) goto check_1
;
27531 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27536 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27540 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27545 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27546 PyObject
*resultobj
= 0;
27547 wxGraphicsContext
*result
= 0 ;
27549 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27551 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27561 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
= 0;
27563 void *arg1
= (void *) 0 ;
27564 wxGraphicsContext
*result
= 0 ;
27566 PyObject
* obj0
= 0 ;
27567 char * kwnames
[] = {
27568 (char *) "context", NULL
27571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27572 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27573 if (!SWIG_IsOK(res1
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27577 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27587 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
= 0;
27589 void *arg1
= (void *) 0 ;
27590 wxGraphicsContext
*result
= 0 ;
27592 PyObject
* obj0
= 0 ;
27593 char * kwnames
[] = {
27594 (char *) "window", NULL
27597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27598 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27603 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27613 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27614 PyObject
*resultobj
= 0;
27615 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27616 wxGraphicsPath result
;
27619 PyObject
*swig_obj
[1] ;
27621 if (!args
) SWIG_fail
;
27622 swig_obj
[0] = args
;
27623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27624 if (!SWIG_IsOK(res1
)) {
27625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27627 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27629 result
= (arg1
)->CreatePath();
27630 if (PyErr_Occurred()) SWIG_fail
;
27632 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27639 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
= 0;
27641 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27643 wxGraphicsPen result
;
27648 PyObject
* obj0
= 0 ;
27649 PyObject
* obj1
= 0 ;
27650 char * kwnames
[] = {
27651 (char *) "self",(char *) "pen", NULL
27654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27659 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27661 if (!SWIG_IsOK(res2
)) {
27662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27667 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27669 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27679 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
= 0;
27681 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27682 wxBrush
*arg2
= 0 ;
27683 wxGraphicsBrush result
;
27688 PyObject
* obj0
= 0 ;
27689 PyObject
* obj1
= 0 ;
27690 char * kwnames
[] = {
27691 (char *) "self",(char *) "brush", NULL
27694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27696 if (!SWIG_IsOK(res1
)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27699 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27701 if (!SWIG_IsOK(res2
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27707 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27709 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27719 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27720 PyObject
*resultobj
= 0;
27721 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27726 wxColour
*arg6
= 0 ;
27727 wxColour
*arg7
= 0 ;
27728 wxGraphicsBrush result
;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 PyObject
* obj2
= 0 ;
27744 PyObject
* obj3
= 0 ;
27745 PyObject
* obj4
= 0 ;
27746 PyObject
* obj5
= 0 ;
27747 PyObject
* obj6
= 0 ;
27748 char * kwnames
[] = {
27749 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27754 if (!SWIG_IsOK(res1
)) {
27755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27757 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27758 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27759 if (!SWIG_IsOK(ecode2
)) {
27760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27762 arg2
= static_cast< wxDouble
>(val2
);
27763 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27764 if (!SWIG_IsOK(ecode3
)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27767 arg3
= static_cast< wxDouble
>(val3
);
27768 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27769 if (!SWIG_IsOK(ecode4
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27772 arg4
= static_cast< wxDouble
>(val4
);
27773 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27774 if (!SWIG_IsOK(ecode5
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27777 arg5
= static_cast< wxDouble
>(val5
);
27780 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27784 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27787 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27797 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
= 0;
27799 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27805 wxColour
*arg7
= 0 ;
27806 wxColour
*arg8
= 0 ;
27807 wxGraphicsBrush result
;
27822 PyObject
* obj0
= 0 ;
27823 PyObject
* obj1
= 0 ;
27824 PyObject
* obj2
= 0 ;
27825 PyObject
* obj3
= 0 ;
27826 PyObject
* obj4
= 0 ;
27827 PyObject
* obj5
= 0 ;
27828 PyObject
* obj6
= 0 ;
27829 PyObject
* obj7
= 0 ;
27830 char * kwnames
[] = {
27831 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27836 if (!SWIG_IsOK(res1
)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27839 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27840 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27841 if (!SWIG_IsOK(ecode2
)) {
27842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27844 arg2
= static_cast< wxDouble
>(val2
);
27845 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27846 if (!SWIG_IsOK(ecode3
)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27849 arg3
= static_cast< wxDouble
>(val3
);
27850 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27851 if (!SWIG_IsOK(ecode4
)) {
27852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27854 arg4
= static_cast< wxDouble
>(val4
);
27855 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27856 if (!SWIG_IsOK(ecode5
)) {
27857 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27859 arg5
= static_cast< wxDouble
>(val5
);
27860 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27861 if (!SWIG_IsOK(ecode6
)) {
27862 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27864 arg6
= static_cast< wxDouble
>(val6
);
27867 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27871 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27874 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27884 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
= 0;
27886 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27888 wxColour
const &arg3_defvalue
= *wxBLACK
;
27889 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27890 wxGraphicsFont result
;
27896 PyObject
* obj0
= 0 ;
27897 PyObject
* obj1
= 0 ;
27898 PyObject
* obj2
= 0 ;
27899 char * kwnames
[] = {
27900 (char *) "self",(char *) "font",(char *) "col", NULL
27903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27905 if (!SWIG_IsOK(res1
)) {
27906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27908 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27910 if (!SWIG_IsOK(res2
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27916 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27920 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27924 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27934 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27935 PyObject
*resultobj
= 0;
27936 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27937 wxDouble arg2
= (wxDouble
) 1.0 ;
27938 wxDouble arg3
= (wxDouble
) 0.0 ;
27939 wxDouble arg4
= (wxDouble
) 0.0 ;
27940 wxDouble arg5
= (wxDouble
) 1.0 ;
27941 wxDouble arg6
= (wxDouble
) 0.0 ;
27942 wxDouble arg7
= (wxDouble
) 0.0 ;
27943 wxGraphicsMatrix result
;
27958 PyObject
* obj0
= 0 ;
27959 PyObject
* obj1
= 0 ;
27960 PyObject
* obj2
= 0 ;
27961 PyObject
* obj3
= 0 ;
27962 PyObject
* obj4
= 0 ;
27963 PyObject
* obj5
= 0 ;
27964 PyObject
* obj6
= 0 ;
27965 char * kwnames
[] = {
27966 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27971 if (!SWIG_IsOK(res1
)) {
27972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27974 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27976 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27977 if (!SWIG_IsOK(ecode2
)) {
27978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27980 arg2
= static_cast< wxDouble
>(val2
);
27983 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27984 if (!SWIG_IsOK(ecode3
)) {
27985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27987 arg3
= static_cast< wxDouble
>(val3
);
27990 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27991 if (!SWIG_IsOK(ecode4
)) {
27992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27994 arg4
= static_cast< wxDouble
>(val4
);
27997 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27998 if (!SWIG_IsOK(ecode5
)) {
27999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28001 arg5
= static_cast< wxDouble
>(val5
);
28004 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28005 if (!SWIG_IsOK(ecode6
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28008 arg6
= static_cast< wxDouble
>(val6
);
28011 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28012 if (!SWIG_IsOK(ecode7
)) {
28013 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28015 arg7
= static_cast< wxDouble
>(val7
);
28018 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28021 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28028 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28029 PyObject
*resultobj
= 0;
28030 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28033 PyObject
*swig_obj
[1] ;
28035 if (!args
) SWIG_fail
;
28036 swig_obj
[0] = args
;
28037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28043 (arg1
)->PushState();
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 resultobj
= SWIG_Py_Void();
28053 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28054 PyObject
*resultobj
= 0;
28055 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28058 PyObject
*swig_obj
[1] ;
28060 if (!args
) SWIG_fail
;
28061 swig_obj
[0] = args
;
28062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28063 if (!SWIG_IsOK(res1
)) {
28064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28066 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28068 (arg1
)->PopState();
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= SWIG_Py_Void();
28078 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
= 0;
28080 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28081 wxRegion
*arg2
= 0 ;
28086 PyObject
* obj0
= 0 ;
28087 PyObject
* obj1
= 0 ;
28088 char * kwnames
[] = {
28089 (char *) "self",(char *) "region", NULL
28092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28094 if (!SWIG_IsOK(res1
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28097 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28099 if (!SWIG_IsOK(res2
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28105 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28107 (arg1
)->Clip((wxRegion
const &)*arg2
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= SWIG_Py_Void();
28117 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
= 0;
28119 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28134 PyObject
* obj0
= 0 ;
28135 PyObject
* obj1
= 0 ;
28136 PyObject
* obj2
= 0 ;
28137 PyObject
* obj3
= 0 ;
28138 PyObject
* obj4
= 0 ;
28139 char * kwnames
[] = {
28140 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28145 if (!SWIG_IsOK(res1
)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28148 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28149 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28150 if (!SWIG_IsOK(ecode2
)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28153 arg2
= static_cast< wxDouble
>(val2
);
28154 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28155 if (!SWIG_IsOK(ecode3
)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28158 arg3
= static_cast< wxDouble
>(val3
);
28159 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28160 if (!SWIG_IsOK(ecode4
)) {
28161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28163 arg4
= static_cast< wxDouble
>(val4
);
28164 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28165 if (!SWIG_IsOK(ecode5
)) {
28166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28168 arg5
= static_cast< wxDouble
>(val5
);
28170 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28181 PyObject
*resultobj
= 0;
28182 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28185 PyObject
*swig_obj
[1] ;
28187 if (!args
) SWIG_fail
;
28188 swig_obj
[0] = args
;
28189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28190 if (!SWIG_IsOK(res1
)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28193 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28195 (arg1
)->ResetClip();
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= SWIG_Py_Void();
28205 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28206 PyObject
*resultobj
= 0;
28207 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28211 PyObject
*swig_obj
[1] ;
28213 if (!args
) SWIG_fail
;
28214 swig_obj
[0] = args
;
28215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28216 if (!SWIG_IsOK(res1
)) {
28217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28219 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28221 result
= (void *)(arg1
)->GetNativeContext();
28222 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28231 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28232 PyObject
*resultobj
= 0;
28233 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28237 PyObject
*swig_obj
[1] ;
28239 if (!args
) SWIG_fail
;
28240 swig_obj
[0] = args
;
28241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28242 if (!SWIG_IsOK(res1
)) {
28243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28245 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28247 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_From_int(static_cast< int >(result
));
28257 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
= 0;
28259 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char * kwnames
[] = {
28269 (char *) "self",(char *) "function", NULL
28272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28277 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28279 if (!SWIG_IsOK(ecode2
)) {
28280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28282 arg2
= static_cast< int >(val2
);
28284 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28296 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
= 0;
28298 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 PyObject
* obj2
= 0 ;
28310 char * kwnames
[] = {
28311 (char *) "self",(char *) "dx",(char *) "dy", NULL
28314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28319 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28320 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28321 if (!SWIG_IsOK(ecode2
)) {
28322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28324 arg2
= static_cast< wxDouble
>(val2
);
28325 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28326 if (!SWIG_IsOK(ecode3
)) {
28327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28329 arg3
= static_cast< wxDouble
>(val3
);
28331 (arg1
)->Translate(arg2
,arg3
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_Py_Void();
28341 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28342 PyObject
*resultobj
= 0;
28343 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28352 PyObject
* obj0
= 0 ;
28353 PyObject
* obj1
= 0 ;
28354 PyObject
* obj2
= 0 ;
28355 char * kwnames
[] = {
28356 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28361 if (!SWIG_IsOK(res1
)) {
28362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28364 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28365 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28366 if (!SWIG_IsOK(ecode2
)) {
28367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28369 arg2
= static_cast< wxDouble
>(val2
);
28370 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28371 if (!SWIG_IsOK(ecode3
)) {
28372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28374 arg3
= static_cast< wxDouble
>(val3
);
28376 (arg1
)->Scale(arg2
,arg3
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 resultobj
= SWIG_Py_Void();
28386 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
= 0;
28388 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 PyObject
* obj1
= 0 ;
28396 char * kwnames
[] = {
28397 (char *) "self",(char *) "angle", NULL
28400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28402 if (!SWIG_IsOK(res1
)) {
28403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28405 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28406 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28407 if (!SWIG_IsOK(ecode2
)) {
28408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28410 arg2
= static_cast< wxDouble
>(val2
);
28412 (arg1
)->Rotate(arg2
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_Py_Void();
28422 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
= 0;
28424 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28425 wxGraphicsMatrix
*arg2
= 0 ;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "self",(char *) "matrix", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28441 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28443 if (!SWIG_IsOK(res2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28449 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28451 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28452 if (PyErr_Occurred()) SWIG_fail
;
28454 resultobj
= SWIG_Py_Void();
28461 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
= 0;
28463 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28464 wxGraphicsMatrix
*arg2
= 0 ;
28469 PyObject
* obj0
= 0 ;
28470 PyObject
* obj1
= 0 ;
28471 char * kwnames
[] = {
28472 (char *) "self",(char *) "matrix", NULL
28475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28477 if (!SWIG_IsOK(res1
)) {
28478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28480 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28482 if (!SWIG_IsOK(res2
)) {
28483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28488 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28490 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_Py_Void();
28500 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28501 PyObject
*resultobj
= 0;
28502 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28503 wxGraphicsMatrix result
;
28506 PyObject
*swig_obj
[1] ;
28508 if (!args
) SWIG_fail
;
28509 swig_obj
[0] = args
;
28510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28511 if (!SWIG_IsOK(res1
)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28514 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28516 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28526 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28527 PyObject
*resultobj
= 0;
28528 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28529 wxGraphicsPen
*arg2
= 0 ;
28535 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28537 if (!SWIG_IsOK(res1
)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28540 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28541 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28542 if (!SWIG_IsOK(res2
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28548 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28550 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= SWIG_Py_Void();
28560 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28561 PyObject
*resultobj
= 0;
28562 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28569 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28571 if (!SWIG_IsOK(res1
)) {
28572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28574 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28575 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28576 if (!SWIG_IsOK(res2
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28582 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28584 (arg1
)->SetPen((wxPen
const &)*arg2
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_Py_Void();
28594 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28598 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28603 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28604 _v
= SWIG_CheckState(res
);
28606 if (!_v
) goto check_1
;
28607 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28612 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28616 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28621 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28622 PyObject
*resultobj
= 0;
28623 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28624 wxGraphicsBrush
*arg2
= 0 ;
28630 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28632 if (!SWIG_IsOK(res1
)) {
28633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28635 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28636 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28637 if (!SWIG_IsOK(res2
)) {
28638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28643 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28645 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= SWIG_Py_Void();
28655 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28656 PyObject
*resultobj
= 0;
28657 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28658 wxBrush
*arg2
= 0 ;
28664 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28666 if (!SWIG_IsOK(res1
)) {
28667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28669 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28670 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28671 if (!SWIG_IsOK(res2
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28677 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28679 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= SWIG_Py_Void();
28689 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28693 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28698 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28699 _v
= SWIG_CheckState(res
);
28701 if (!_v
) goto check_1
;
28702 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28707 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28711 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28716 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28717 PyObject
*resultobj
= 0;
28718 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28719 wxGraphicsFont
*arg2
= 0 ;
28725 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28727 if (!SWIG_IsOK(res1
)) {
28728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28730 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28731 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28732 if (!SWIG_IsOK(res2
)) {
28733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28738 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28740 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= SWIG_Py_Void();
28750 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28751 PyObject
*resultobj
= 0;
28752 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28754 wxColour
const &arg3_defvalue
= *wxBLACK
;
28755 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28762 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28764 if (!SWIG_IsOK(res1
)) {
28765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28767 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28768 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28769 if (!SWIG_IsOK(res2
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28775 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28779 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28783 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= SWIG_Py_Void();
28793 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28797 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28802 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28803 _v
= SWIG_CheckState(res
);
28805 if (!_v
) goto check_1
;
28806 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28810 if ((argc
>= 2) && (argc
<= 3)) {
28811 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28815 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28820 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
= 0;
28822 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28823 wxGraphicsPath
*arg2
= 0 ;
28828 PyObject
* obj0
= 0 ;
28829 PyObject
* obj1
= 0 ;
28830 char * kwnames
[] = {
28831 (char *) "self",(char *) "path", NULL
28834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28836 if (!SWIG_IsOK(res1
)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28839 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28841 if (!SWIG_IsOK(res2
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28847 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28849 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= SWIG_Py_Void();
28859 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
= 0;
28861 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28862 wxGraphicsPath
*arg2
= 0 ;
28863 int arg3
= (int) wxODDEVEN_RULE
;
28870 PyObject
* obj0
= 0 ;
28871 PyObject
* obj1
= 0 ;
28872 PyObject
* obj2
= 0 ;
28873 char * kwnames
[] = {
28874 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28879 if (!SWIG_IsOK(res1
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28882 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28884 if (!SWIG_IsOK(res2
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28890 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28893 if (!SWIG_IsOK(ecode3
)) {
28894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28896 arg3
= static_cast< int >(val3
);
28899 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_Py_Void();
28909 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
= 0;
28911 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28912 wxGraphicsPath
*arg2
= 0 ;
28913 int arg3
= (int) wxODDEVEN_RULE
;
28920 PyObject
* obj0
= 0 ;
28921 PyObject
* obj1
= 0 ;
28922 PyObject
* obj2
= 0 ;
28923 char * kwnames
[] = {
28924 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28932 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28934 if (!SWIG_IsOK(res2
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28940 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28943 if (!SWIG_IsOK(ecode3
)) {
28944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28946 arg3
= static_cast< int >(val3
);
28949 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_Py_Void();
28959 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
= 0;
28961 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28962 wxString
*arg2
= 0 ;
28965 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28966 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28969 bool temp2
= false ;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 PyObject
* obj2
= 0 ;
28979 PyObject
* obj3
= 0 ;
28980 PyObject
* obj4
= 0 ;
28981 char * kwnames
[] = {
28982 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
28985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28987 if (!SWIG_IsOK(res1
)) {
28988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28990 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28992 arg2
= wxString_in_helper(obj1
);
28993 if (arg2
== NULL
) SWIG_fail
;
28996 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28997 if (!SWIG_IsOK(ecode3
)) {
28998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29000 arg3
= static_cast< wxDouble
>(val3
);
29001 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29002 if (!SWIG_IsOK(ecode4
)) {
29003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29005 arg4
= static_cast< wxDouble
>(val4
);
29007 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29008 if (!SWIG_IsOK(res5
)) {
29009 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29014 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29017 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 resultobj
= SWIG_Py_Void();
29035 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29036 PyObject
*resultobj
= 0;
29037 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29038 wxString
*arg2
= 0 ;
29042 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29043 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29046 bool temp2
= false ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 PyObject
* obj3
= 0 ;
29059 PyObject
* obj4
= 0 ;
29060 PyObject
* obj5
= 0 ;
29061 char * kwnames
[] = {
29062 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29067 if (!SWIG_IsOK(res1
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29070 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29072 arg2
= wxString_in_helper(obj1
);
29073 if (arg2
== NULL
) SWIG_fail
;
29076 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29077 if (!SWIG_IsOK(ecode3
)) {
29078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29080 arg3
= static_cast< wxDouble
>(val3
);
29081 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29082 if (!SWIG_IsOK(ecode4
)) {
29083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29085 arg4
= static_cast< wxDouble
>(val4
);
29086 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29087 if (!SWIG_IsOK(ecode5
)) {
29088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29090 arg5
= static_cast< wxDouble
>(val5
);
29092 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29093 if (!SWIG_IsOK(res6
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29099 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29102 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= SWIG_Py_Void();
29120 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
= 0;
29122 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29123 wxString
*arg2
= 0 ;
29124 wxDouble
*arg3
= (wxDouble
*) 0 ;
29125 wxDouble
*arg4
= (wxDouble
*) 0 ;
29126 wxDouble
*arg5
= (wxDouble
*) 0 ;
29127 wxDouble
*arg6
= (wxDouble
*) 0 ;
29130 bool temp2
= false ;
29132 int res3
= SWIG_TMPOBJ
;
29134 int res4
= SWIG_TMPOBJ
;
29136 int res5
= SWIG_TMPOBJ
;
29138 int res6
= SWIG_TMPOBJ
;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 char * kwnames
[] = {
29142 (char *) "self",(char *) "text", NULL
29149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29151 if (!SWIG_IsOK(res1
)) {
29152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29154 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29156 arg2
= wxString_in_helper(obj1
);
29157 if (arg2
== NULL
) SWIG_fail
;
29161 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 resultobj
= SWIG_Py_Void();
29165 if (SWIG_IsTmpObj(res3
)) {
29166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29168 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29171 if (SWIG_IsTmpObj(res4
)) {
29172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29174 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29177 if (SWIG_IsTmpObj(res5
)) {
29178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29180 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29183 if (SWIG_IsTmpObj(res6
)) {
29184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29186 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29203 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
= 0;
29205 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29206 wxString
*arg2
= 0 ;
29207 PyObject
*result
= 0 ;
29210 bool temp2
= false ;
29211 PyObject
* obj0
= 0 ;
29212 PyObject
* obj1
= 0 ;
29213 char * kwnames
[] = {
29214 (char *) "self",(char *) "text", NULL
29217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29222 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29224 arg2
= wxString_in_helper(obj1
);
29225 if (arg2
== NULL
) SWIG_fail
;
29229 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= result
;
29247 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
= 0;
29249 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29250 wxString
*arg2
= 0 ;
29251 wxArrayDouble result
;
29254 bool temp2
= false ;
29255 PyObject
* obj0
= 0 ;
29256 PyObject
* obj1
= 0 ;
29257 char * kwnames
[] = {
29258 (char *) "self",(char *) "text", NULL
29261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29263 if (!SWIG_IsOK(res1
)) {
29264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29266 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29268 arg2
= wxString_in_helper(obj1
);
29269 if (arg2
== NULL
) SWIG_fail
;
29273 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= wxArrayDouble2PyList_helper(result
);
29293 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
= 0;
29295 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29296 wxBitmap
*arg2
= 0 ;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 PyObject
* obj2
= 0 ;
29316 PyObject
* obj3
= 0 ;
29317 PyObject
* obj4
= 0 ;
29318 PyObject
* obj5
= 0 ;
29319 char * kwnames
[] = {
29320 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29325 if (!SWIG_IsOK(res1
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29328 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29329 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29330 if (!SWIG_IsOK(res2
)) {
29331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29336 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29337 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29338 if (!SWIG_IsOK(ecode3
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29341 arg3
= static_cast< wxDouble
>(val3
);
29342 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29343 if (!SWIG_IsOK(ecode4
)) {
29344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29346 arg4
= static_cast< wxDouble
>(val4
);
29347 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29348 if (!SWIG_IsOK(ecode5
)) {
29349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29351 arg5
= static_cast< wxDouble
>(val5
);
29352 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29353 if (!SWIG_IsOK(ecode6
)) {
29354 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29356 arg6
= static_cast< wxDouble
>(val6
);
29358 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 resultobj
= SWIG_Py_Void();
29368 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
= 0;
29370 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29388 PyObject
* obj0
= 0 ;
29389 PyObject
* obj1
= 0 ;
29390 PyObject
* obj2
= 0 ;
29391 PyObject
* obj3
= 0 ;
29392 PyObject
* obj4
= 0 ;
29393 PyObject
* obj5
= 0 ;
29394 char * kwnames
[] = {
29395 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29400 if (!SWIG_IsOK(res1
)) {
29401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29403 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29405 if (!SWIG_IsOK(res2
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29411 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29412 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29413 if (!SWIG_IsOK(ecode3
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29416 arg3
= static_cast< wxDouble
>(val3
);
29417 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29418 if (!SWIG_IsOK(ecode4
)) {
29419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29421 arg4
= static_cast< wxDouble
>(val4
);
29422 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29423 if (!SWIG_IsOK(ecode5
)) {
29424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29426 arg5
= static_cast< wxDouble
>(val5
);
29427 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29428 if (!SWIG_IsOK(ecode6
)) {
29429 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29431 arg6
= static_cast< wxDouble
>(val6
);
29433 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= SWIG_Py_Void();
29443 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29444 PyObject
*resultobj
= 0;
29445 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 PyObject
* obj2
= 0 ;
29463 PyObject
* obj3
= 0 ;
29464 PyObject
* obj4
= 0 ;
29465 char * kwnames
[] = {
29466 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29471 if (!SWIG_IsOK(res1
)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29474 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29475 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29476 if (!SWIG_IsOK(ecode2
)) {
29477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29479 arg2
= static_cast< wxDouble
>(val2
);
29480 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29481 if (!SWIG_IsOK(ecode3
)) {
29482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29484 arg3
= static_cast< wxDouble
>(val3
);
29485 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29486 if (!SWIG_IsOK(ecode4
)) {
29487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29489 arg4
= static_cast< wxDouble
>(val4
);
29490 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29491 if (!SWIG_IsOK(ecode5
)) {
29492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29494 arg5
= static_cast< wxDouble
>(val5
);
29496 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 resultobj
= SWIG_Py_Void();
29506 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
= 0;
29508 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29510 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29513 PyObject
* obj0
= 0 ;
29514 PyObject
* obj1
= 0 ;
29515 char * kwnames
[] = {
29516 (char *) "self",(char *) "points", NULL
29519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29521 if (!SWIG_IsOK(res1
)) {
29522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29524 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29526 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29527 if (arg3
== NULL
) SWIG_fail
;
29530 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= SWIG_Py_Void();
29535 if (arg3
) delete [] arg3
;
29540 if (arg3
) delete [] arg3
;
29546 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29547 PyObject
*resultobj
= 0;
29548 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29549 PyObject
*arg2
= (PyObject
*) 0 ;
29550 PyObject
*arg3
= (PyObject
*) 0 ;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 PyObject
* obj2
= 0 ;
29556 char * kwnames
[] = {
29557 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29562 if (!SWIG_IsOK(res1
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29565 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29569 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= SWIG_Py_Void();
29579 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
= 0;
29581 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29583 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29584 int arg4
= (int) wxODDEVEN_RULE
;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 PyObject
* obj2
= 0 ;
29592 char * kwnames
[] = {
29593 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29598 if (!SWIG_IsOK(res1
)) {
29599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29601 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29603 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29604 if (arg3
== NULL
) SWIG_fail
;
29607 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29608 if (!SWIG_IsOK(ecode4
)) {
29609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29611 arg4
= static_cast< int >(val4
);
29614 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29617 resultobj
= SWIG_Py_Void();
29619 if (arg3
) delete [] arg3
;
29624 if (arg3
) delete [] arg3
;
29630 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
= 0;
29632 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 PyObject
* obj2
= 0 ;
29650 PyObject
* obj3
= 0 ;
29651 PyObject
* obj4
= 0 ;
29652 char * kwnames
[] = {
29653 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29658 if (!SWIG_IsOK(res1
)) {
29659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29661 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29662 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29663 if (!SWIG_IsOK(ecode2
)) {
29664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29666 arg2
= static_cast< wxDouble
>(val2
);
29667 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29668 if (!SWIG_IsOK(ecode3
)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29671 arg3
= static_cast< wxDouble
>(val3
);
29672 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29673 if (!SWIG_IsOK(ecode4
)) {
29674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29676 arg4
= static_cast< wxDouble
>(val4
);
29677 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29678 if (!SWIG_IsOK(ecode5
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29681 arg5
= static_cast< wxDouble
>(val5
);
29683 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_Py_Void();
29693 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
= 0;
29695 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29710 PyObject
* obj0
= 0 ;
29711 PyObject
* obj1
= 0 ;
29712 PyObject
* obj2
= 0 ;
29713 PyObject
* obj3
= 0 ;
29714 PyObject
* obj4
= 0 ;
29715 char * kwnames
[] = {
29716 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29721 if (!SWIG_IsOK(res1
)) {
29722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29724 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29725 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29726 if (!SWIG_IsOK(ecode2
)) {
29727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29729 arg2
= static_cast< wxDouble
>(val2
);
29730 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29731 if (!SWIG_IsOK(ecode3
)) {
29732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29734 arg3
= static_cast< wxDouble
>(val3
);
29735 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29736 if (!SWIG_IsOK(ecode4
)) {
29737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29739 arg4
= static_cast< wxDouble
>(val4
);
29740 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29741 if (!SWIG_IsOK(ecode5
)) {
29742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29744 arg5
= static_cast< wxDouble
>(val5
);
29746 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= SWIG_Py_Void();
29756 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
= 0;
29758 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29776 PyObject
* obj0
= 0 ;
29777 PyObject
* obj1
= 0 ;
29778 PyObject
* obj2
= 0 ;
29779 PyObject
* obj3
= 0 ;
29780 PyObject
* obj4
= 0 ;
29781 PyObject
* obj5
= 0 ;
29782 char * kwnames
[] = {
29783 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29788 if (!SWIG_IsOK(res1
)) {
29789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29791 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29792 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29793 if (!SWIG_IsOK(ecode2
)) {
29794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29796 arg2
= static_cast< wxDouble
>(val2
);
29797 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29798 if (!SWIG_IsOK(ecode3
)) {
29799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29801 arg3
= static_cast< wxDouble
>(val3
);
29802 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29803 if (!SWIG_IsOK(ecode4
)) {
29804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29806 arg4
= static_cast< wxDouble
>(val4
);
29807 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29808 if (!SWIG_IsOK(ecode5
)) {
29809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29811 arg5
= static_cast< wxDouble
>(val5
);
29812 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29813 if (!SWIG_IsOK(ecode6
)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29816 arg6
= static_cast< wxDouble
>(val6
);
29818 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 resultobj
= SWIG_Py_Void();
29828 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29829 PyObject
*resultobj
= 0;
29830 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29834 PyObject
*swig_obj
[1] ;
29836 if (!args
) SWIG_fail
;
29837 swig_obj
[0] = args
;
29838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29839 if (!SWIG_IsOK(res1
)) {
29840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29842 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29844 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29845 if (PyErr_Occurred()) SWIG_fail
;
29848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29856 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29859 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29860 return SWIG_Py_Void();
29863 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29864 PyObject
*resultobj
= 0;
29865 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29868 PyObject
*swig_obj
[1] ;
29870 if (!args
) SWIG_fail
;
29871 swig_obj
[0] = args
;
29872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29873 if (!SWIG_IsOK(res1
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29876 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= SWIG_Py_Void();
29889 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29890 PyObject
*resultobj
= 0;
29891 wxGraphicsRenderer
*result
= 0 ;
29893 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29895 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29896 if (PyErr_Occurred()) SWIG_fail
;
29898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29905 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29906 PyObject
*resultobj
= 0;
29907 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29908 wxWindowDC
*arg2
= 0 ;
29909 wxGraphicsContext
*result
= 0 ;
29915 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29917 if (!SWIG_IsOK(res1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29920 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29921 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29922 if (!SWIG_IsOK(res2
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29928 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29930 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29940 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29941 PyObject
*resultobj
= 0;
29942 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29943 wxWindow
*arg2
= (wxWindow
*) 0 ;
29944 wxGraphicsContext
*result
= 0 ;
29950 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29952 if (!SWIG_IsOK(res1
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29955 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29956 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29957 if (!SWIG_IsOK(res2
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29962 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29972 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29976 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29981 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29982 _v
= SWIG_CheckState(res
);
29984 if (!_v
) goto check_1
;
29985 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29990 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29994 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29999 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30000 PyObject
*resultobj
= 0;
30001 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30002 wxGraphicsContext
*result
= 0 ;
30005 PyObject
*swig_obj
[1] ;
30007 if (!args
) SWIG_fail
;
30008 swig_obj
[0] = args
;
30009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30010 if (!SWIG_IsOK(res1
)) {
30011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30013 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30015 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30025 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
= 0;
30027 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30028 void *arg2
= (void *) 0 ;
30029 wxGraphicsContext
*result
= 0 ;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 char * kwnames
[] = {
30036 (char *) "self",(char *) "context", NULL
30039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30041 if (!SWIG_IsOK(res1
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30044 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30045 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30046 if (!SWIG_IsOK(res2
)) {
30047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30050 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30060 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
= 0;
30062 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30063 void *arg2
= (void *) 0 ;
30064 wxGraphicsContext
*result
= 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 char * kwnames
[] = {
30071 (char *) "self",(char *) "window", NULL
30074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30076 if (!SWIG_IsOK(res1
)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30079 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30080 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30081 if (!SWIG_IsOK(res2
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30085 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30095 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30096 PyObject
*resultobj
= 0;
30097 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30098 wxGraphicsPath result
;
30101 PyObject
*swig_obj
[1] ;
30103 if (!args
) SWIG_fail
;
30104 swig_obj
[0] = args
;
30105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30106 if (!SWIG_IsOK(res1
)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30109 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30111 result
= (arg1
)->CreatePath();
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30121 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
= 0;
30123 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30124 wxDouble arg2
= (wxDouble
) 1.0 ;
30125 wxDouble arg3
= (wxDouble
) 0.0 ;
30126 wxDouble arg4
= (wxDouble
) 0.0 ;
30127 wxDouble arg5
= (wxDouble
) 1.0 ;
30128 wxDouble arg6
= (wxDouble
) 0.0 ;
30129 wxDouble arg7
= (wxDouble
) 0.0 ;
30130 wxGraphicsMatrix result
;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 PyObject
* obj2
= 0 ;
30148 PyObject
* obj3
= 0 ;
30149 PyObject
* obj4
= 0 ;
30150 PyObject
* obj5
= 0 ;
30151 PyObject
* obj6
= 0 ;
30152 char * kwnames
[] = {
30153 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30161 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30163 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30164 if (!SWIG_IsOK(ecode2
)) {
30165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30167 arg2
= static_cast< wxDouble
>(val2
);
30170 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30171 if (!SWIG_IsOK(ecode3
)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30174 arg3
= static_cast< wxDouble
>(val3
);
30177 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30178 if (!SWIG_IsOK(ecode4
)) {
30179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30181 arg4
= static_cast< wxDouble
>(val4
);
30184 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30185 if (!SWIG_IsOK(ecode5
)) {
30186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30188 arg5
= static_cast< wxDouble
>(val5
);
30191 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30192 if (!SWIG_IsOK(ecode6
)) {
30193 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30195 arg6
= static_cast< wxDouble
>(val6
);
30198 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30199 if (!SWIG_IsOK(ecode7
)) {
30200 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30202 arg7
= static_cast< wxDouble
>(val7
);
30205 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30208 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30215 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30216 PyObject
*resultobj
= 0;
30217 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30219 wxGraphicsPen result
;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char * kwnames
[] = {
30227 (char *) "self",(char *) "pen", NULL
30230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30235 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30237 if (!SWIG_IsOK(res2
)) {
30238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30243 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30245 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30255 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30256 PyObject
*resultobj
= 0;
30257 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30258 wxBrush
*arg2
= 0 ;
30259 wxGraphicsBrush result
;
30264 PyObject
* obj0
= 0 ;
30265 PyObject
* obj1
= 0 ;
30266 char * kwnames
[] = {
30267 (char *) "self",(char *) "brush", NULL
30270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30275 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30277 if (!SWIG_IsOK(res2
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30283 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30285 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30288 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30295 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
= 0;
30297 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30302 wxColour
*arg6
= 0 ;
30303 wxColour
*arg7
= 0 ;
30304 wxGraphicsBrush result
;
30317 PyObject
* obj0
= 0 ;
30318 PyObject
* obj1
= 0 ;
30319 PyObject
* obj2
= 0 ;
30320 PyObject
* obj3
= 0 ;
30321 PyObject
* obj4
= 0 ;
30322 PyObject
* obj5
= 0 ;
30323 PyObject
* obj6
= 0 ;
30324 char * kwnames
[] = {
30325 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30330 if (!SWIG_IsOK(res1
)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30333 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30334 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30335 if (!SWIG_IsOK(ecode2
)) {
30336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30338 arg2
= static_cast< wxDouble
>(val2
);
30339 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30340 if (!SWIG_IsOK(ecode3
)) {
30341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30343 arg3
= static_cast< wxDouble
>(val3
);
30344 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30345 if (!SWIG_IsOK(ecode4
)) {
30346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30348 arg4
= static_cast< wxDouble
>(val4
);
30349 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30350 if (!SWIG_IsOK(ecode5
)) {
30351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30353 arg5
= static_cast< wxDouble
>(val5
);
30356 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30360 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30363 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30373 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30374 PyObject
*resultobj
= 0;
30375 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30381 wxColour
*arg7
= 0 ;
30382 wxColour
*arg8
= 0 ;
30383 wxGraphicsBrush result
;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 PyObject
* obj2
= 0 ;
30401 PyObject
* obj3
= 0 ;
30402 PyObject
* obj4
= 0 ;
30403 PyObject
* obj5
= 0 ;
30404 PyObject
* obj6
= 0 ;
30405 PyObject
* obj7
= 0 ;
30406 char * kwnames
[] = {
30407 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30412 if (!SWIG_IsOK(res1
)) {
30413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30415 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30416 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30417 if (!SWIG_IsOK(ecode2
)) {
30418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30420 arg2
= static_cast< wxDouble
>(val2
);
30421 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30422 if (!SWIG_IsOK(ecode3
)) {
30423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30425 arg3
= static_cast< wxDouble
>(val3
);
30426 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30427 if (!SWIG_IsOK(ecode4
)) {
30428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30430 arg4
= static_cast< wxDouble
>(val4
);
30431 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30432 if (!SWIG_IsOK(ecode5
)) {
30433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30435 arg5
= static_cast< wxDouble
>(val5
);
30436 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30437 if (!SWIG_IsOK(ecode6
)) {
30438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30440 arg6
= static_cast< wxDouble
>(val6
);
30443 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30447 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30450 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30460 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
= 0;
30462 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30464 wxColour
const &arg3_defvalue
= *wxBLACK
;
30465 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30466 wxGraphicsFont result
;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 PyObject
* obj2
= 0 ;
30475 char * kwnames
[] = {
30476 (char *) "self",(char *) "font",(char *) "col", NULL
30479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30481 if (!SWIG_IsOK(res1
)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30484 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30486 if (!SWIG_IsOK(res2
)) {
30487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30492 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30496 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30500 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30510 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30513 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30514 return SWIG_Py_Void();
30517 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30518 PyObject
*resultobj
= 0;
30519 wxWindowDC
*arg1
= 0 ;
30520 wxGCDC
*result
= 0 ;
30524 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30526 if (!SWIG_IsOK(res1
)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30532 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30534 if (!wxPyCheckForApp()) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30547 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30548 PyObject
*resultobj
= 0;
30549 wxWindow
*arg1
= (wxWindow
*) 0 ;
30550 wxGCDC
*result
= 0 ;
30554 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30556 if (!SWIG_IsOK(res1
)) {
30557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30559 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30561 if (!wxPyCheckForApp()) SWIG_fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 result
= (wxGCDC
*)new wxGCDC(arg1
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30574 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30578 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30583 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30584 _v
= SWIG_CheckState(res
);
30586 if (!_v
) goto check_1
;
30587 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30592 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30596 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30601 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30602 PyObject
*resultobj
= 0;
30603 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30606 PyObject
*swig_obj
[1] ;
30608 if (!args
) SWIG_fail
;
30609 swig_obj
[0] = args
;
30610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30611 if (!SWIG_IsOK(res1
)) {
30612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30614 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= SWIG_Py_Void();
30627 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30628 PyObject
*resultobj
= 0;
30629 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30630 wxGraphicsContext
*result
= 0 ;
30633 PyObject
*swig_obj
[1] ;
30635 if (!args
) SWIG_fail
;
30636 swig_obj
[0] = args
;
30637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30638 if (!SWIG_IsOK(res1
)) {
30639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30641 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30643 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30653 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
= 0;
30655 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30656 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30661 PyObject
* obj0
= 0 ;
30662 PyObject
* obj1
= 0 ;
30663 char * kwnames
[] = {
30664 (char *) "self",(char *) "ctx", NULL
30667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30669 if (!SWIG_IsOK(res1
)) {
30670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30672 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30673 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30674 if (!SWIG_IsOK(res2
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30677 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30679 (arg1
)->SetGraphicsContext(arg2
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= SWIG_Py_Void();
30689 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30692 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30693 return SWIG_Py_Void();
30696 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30697 return SWIG_Python_InitShadowInstance(args
);
30700 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30701 PyObject
*resultobj
= 0;
30702 wxOverlay
*result
= 0 ;
30704 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 result
= (wxOverlay
*)new wxOverlay();
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30718 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30719 PyObject
*resultobj
= 0;
30720 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30723 PyObject
*swig_obj
[1] ;
30725 if (!args
) SWIG_fail
;
30726 swig_obj
[0] = args
;
30727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30728 if (!SWIG_IsOK(res1
)) {
30729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30731 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= SWIG_Py_Void();
30746 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30747 PyObject
*resultobj
= 0;
30748 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30751 PyObject
*swig_obj
[1] ;
30753 if (!args
) SWIG_fail
;
30754 swig_obj
[0] = args
;
30755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30756 if (!SWIG_IsOK(res1
)) {
30757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30759 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30766 resultobj
= SWIG_Py_Void();
30773 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30776 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30777 return SWIG_Py_Void();
30780 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30781 return SWIG_Python_InitShadowInstance(args
);
30784 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30785 PyObject
*resultobj
= 0;
30786 wxOverlay
*arg1
= 0 ;
30787 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30792 wxDCOverlay
*result
= 0 ;
30806 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30808 if (!SWIG_IsOK(res1
)) {
30809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30814 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30815 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30816 if (!SWIG_IsOK(res2
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30819 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30820 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30821 if (!SWIG_IsOK(ecode3
)) {
30822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30824 arg3
= static_cast< int >(val3
);
30825 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30826 if (!SWIG_IsOK(ecode4
)) {
30827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30829 arg4
= static_cast< int >(val4
);
30830 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30831 if (!SWIG_IsOK(ecode5
)) {
30832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30834 arg5
= static_cast< int >(val5
);
30835 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30836 if (!SWIG_IsOK(ecode6
)) {
30837 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30839 arg6
= static_cast< int >(val6
);
30841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30842 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30853 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30854 PyObject
*resultobj
= 0;
30855 wxOverlay
*arg1
= 0 ;
30856 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30857 wxDCOverlay
*result
= 0 ;
30863 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30865 if (!SWIG_IsOK(res1
)) {
30866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30871 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30872 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30873 if (!SWIG_IsOK(res2
)) {
30874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30876 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30890 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30894 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30897 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30900 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30904 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30909 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30910 PyObject
*resultobj
= 0;
30911 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30914 PyObject
*swig_obj
[1] ;
30916 if (!args
) SWIG_fail
;
30917 swig_obj
[0] = args
;
30918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30919 if (!SWIG_IsOK(res1
)) {
30920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30922 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 wxPyEndAllowThreads(__tstate
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30930 resultobj
= SWIG_Py_Void();
30937 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30938 PyObject
*resultobj
= 0;
30939 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30942 PyObject
*swig_obj
[1] ;
30944 if (!args
) SWIG_fail
;
30945 swig_obj
[0] = args
;
30946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30947 if (!SWIG_IsOK(res1
)) {
30948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30950 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= SWIG_Py_Void();
30964 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30967 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30968 return SWIG_Py_Void();
30971 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30972 return SWIG_Python_InitShadowInstance(args
);
30975 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
= 0;
30979 int arg3
= (int) true ;
30980 int arg4
= (int) 1 ;
30981 wxImageList
*result
= 0 ;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 PyObject
* obj2
= 0 ;
30993 PyObject
* obj3
= 0 ;
30994 char * kwnames
[] = {
30995 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30999 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31000 if (!SWIG_IsOK(ecode1
)) {
31001 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31003 arg1
= static_cast< int >(val1
);
31004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31005 if (!SWIG_IsOK(ecode2
)) {
31006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31008 arg2
= static_cast< int >(val2
);
31010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31011 if (!SWIG_IsOK(ecode3
)) {
31012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31014 arg3
= static_cast< int >(val3
);
31017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31018 if (!SWIG_IsOK(ecode4
)) {
31019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31021 arg4
= static_cast< int >(val4
);
31024 if (!wxPyCheckForApp()) SWIG_fail
;
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31037 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31038 PyObject
*resultobj
= 0;
31039 wxImageList
*arg1
= (wxImageList
*) 0 ;
31042 PyObject
*swig_obj
[1] ;
31044 if (!args
) SWIG_fail
;
31045 swig_obj
[0] = args
;
31046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31047 if (!SWIG_IsOK(res1
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31050 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= SWIG_Py_Void();
31065 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31066 PyObject
*resultobj
= 0;
31067 wxImageList
*arg1
= (wxImageList
*) 0 ;
31068 wxBitmap
*arg2
= 0 ;
31069 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31070 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31078 PyObject
* obj0
= 0 ;
31079 PyObject
* obj1
= 0 ;
31080 PyObject
* obj2
= 0 ;
31081 char * kwnames
[] = {
31082 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31087 if (!SWIG_IsOK(res1
)) {
31088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31090 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31092 if (!SWIG_IsOK(res2
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31098 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31100 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31101 if (!SWIG_IsOK(res3
)) {
31102 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31107 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31111 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 resultobj
= SWIG_From_int(static_cast< int >(result
));
31122 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
= 0;
31124 wxImageList
*arg1
= (wxImageList
*) 0 ;
31125 wxBitmap
*arg2
= 0 ;
31126 wxColour
*arg3
= 0 ;
31133 PyObject
* obj0
= 0 ;
31134 PyObject
* obj1
= 0 ;
31135 PyObject
* obj2
= 0 ;
31136 char * kwnames
[] = {
31137 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31142 if (!SWIG_IsOK(res1
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31145 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31147 if (!SWIG_IsOK(res2
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31153 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31156 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_From_int(static_cast< int >(result
));
31171 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
= 0;
31173 wxImageList
*arg1
= (wxImageList
*) 0 ;
31180 PyObject
* obj0
= 0 ;
31181 PyObject
* obj1
= 0 ;
31182 char * kwnames
[] = {
31183 (char *) "self",(char *) "icon", NULL
31186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31188 if (!SWIG_IsOK(res1
)) {
31189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31191 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31193 if (!SWIG_IsOK(res2
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31199 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= SWIG_From_int(static_cast< int >(result
));
31213 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= 0;
31215 wxImageList
*arg1
= (wxImageList
*) 0 ;
31217 SwigValueWrapper
<wxBitmap
> result
;
31222 PyObject
* obj0
= 0 ;
31223 PyObject
* obj1
= 0 ;
31224 char * kwnames
[] = {
31225 (char *) "self",(char *) "index", NULL
31228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31230 if (!SWIG_IsOK(res1
)) {
31231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31233 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31235 if (!SWIG_IsOK(ecode2
)) {
31236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31238 arg2
= static_cast< int >(val2
);
31240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31241 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31242 wxPyEndAllowThreads(__tstate
);
31243 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31252 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31253 PyObject
*resultobj
= 0;
31254 wxImageList
*arg1
= (wxImageList
*) 0 ;
31261 PyObject
* obj0
= 0 ;
31262 PyObject
* obj1
= 0 ;
31263 char * kwnames
[] = {
31264 (char *) "self",(char *) "index", NULL
31267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31269 if (!SWIG_IsOK(res1
)) {
31270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31272 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31274 if (!SWIG_IsOK(ecode2
)) {
31275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31277 arg2
= static_cast< int >(val2
);
31279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31280 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31281 wxPyEndAllowThreads(__tstate
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31284 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31291 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31292 PyObject
*resultobj
= 0;
31293 wxImageList
*arg1
= (wxImageList
*) 0 ;
31295 wxBitmap
*arg3
= 0 ;
31296 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31297 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 PyObject
* obj2
= 0 ;
31310 PyObject
* obj3
= 0 ;
31311 char * kwnames
[] = {
31312 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31317 if (!SWIG_IsOK(res1
)) {
31318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31320 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31322 if (!SWIG_IsOK(ecode2
)) {
31323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31325 arg2
= static_cast< int >(val2
);
31326 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31327 if (!SWIG_IsOK(res3
)) {
31328 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31333 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31335 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31336 if (!SWIG_IsOK(res4
)) {
31337 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31342 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31359 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31360 PyObject
*resultobj
= 0;
31361 wxImageList
*arg1
= (wxImageList
*) 0 ;
31366 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31367 bool arg7
= (bool) (bool)false ;
31383 PyObject
* obj0
= 0 ;
31384 PyObject
* obj1
= 0 ;
31385 PyObject
* obj2
= 0 ;
31386 PyObject
* obj3
= 0 ;
31387 PyObject
* obj4
= 0 ;
31388 PyObject
* obj5
= 0 ;
31389 PyObject
* obj6
= 0 ;
31390 char * kwnames
[] = {
31391 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31396 if (!SWIG_IsOK(res1
)) {
31397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31399 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31401 if (!SWIG_IsOK(ecode2
)) {
31402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31404 arg2
= static_cast< int >(val2
);
31405 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31406 if (!SWIG_IsOK(res3
)) {
31407 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31412 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31414 if (!SWIG_IsOK(ecode4
)) {
31415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31417 arg4
= static_cast< int >(val4
);
31418 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31419 if (!SWIG_IsOK(ecode5
)) {
31420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31422 arg5
= static_cast< int >(val5
);
31424 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31425 if (!SWIG_IsOK(ecode6
)) {
31426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31428 arg6
= static_cast< int >(val6
);
31431 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31432 if (!SWIG_IsOK(ecode7
)) {
31433 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31435 arg7
= static_cast< bool >(val7
);
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31452 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31453 PyObject
*resultobj
= 0;
31454 wxImageList
*arg1
= (wxImageList
*) 0 ;
31458 PyObject
*swig_obj
[1] ;
31460 if (!args
) SWIG_fail
;
31461 swig_obj
[0] = args
;
31462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31463 if (!SWIG_IsOK(res1
)) {
31464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31466 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 result
= (int)(arg1
)->GetImageCount();
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31473 resultobj
= SWIG_From_int(static_cast< int >(result
));
31480 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
= 0;
31482 wxImageList
*arg1
= (wxImageList
*) 0 ;
31489 PyObject
* obj0
= 0 ;
31490 PyObject
* obj1
= 0 ;
31491 char * kwnames
[] = {
31492 (char *) "self",(char *) "index", NULL
31495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31497 if (!SWIG_IsOK(res1
)) {
31498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31500 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31502 if (!SWIG_IsOK(ecode2
)) {
31503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31505 arg2
= static_cast< int >(val2
);
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 result
= (bool)(arg1
)->Remove(arg2
);
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31521 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31522 PyObject
*resultobj
= 0;
31523 wxImageList
*arg1
= (wxImageList
*) 0 ;
31527 PyObject
*swig_obj
[1] ;
31529 if (!args
) SWIG_fail
;
31530 swig_obj
[0] = args
;
31531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31532 if (!SWIG_IsOK(res1
)) {
31533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31535 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31538 result
= (bool)(arg1
)->RemoveAll();
31539 wxPyEndAllowThreads(__tstate
);
31540 if (PyErr_Occurred()) SWIG_fail
;
31543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31551 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31552 PyObject
*resultobj
= 0;
31553 wxImageList
*arg1
= (wxImageList
*) 0 ;
31562 int res3
= SWIG_TMPOBJ
;
31564 int res4
= SWIG_TMPOBJ
;
31565 PyObject
* obj0
= 0 ;
31566 PyObject
* obj1
= 0 ;
31567 char * kwnames
[] = {
31568 (char *) "self",(char *) "index", NULL
31573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31575 if (!SWIG_IsOK(res1
)) {
31576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31578 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31580 if (!SWIG_IsOK(ecode2
)) {
31581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31583 arg2
= static_cast< int >(val2
);
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31586 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31590 resultobj
= SWIG_Py_Void();
31591 if (SWIG_IsTmpObj(res3
)) {
31592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31594 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31597 if (SWIG_IsTmpObj(res4
)) {
31598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31600 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31609 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31612 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31613 return SWIG_Py_Void();
31616 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31617 return SWIG_Python_InitShadowInstance(args
);
31620 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31621 PyObject
*resultobj
= 0;
31622 wxStockGDI
*result
= 0 ;
31624 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31627 result
= (wxStockGDI
*)new wxStockGDI();
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31638 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31639 PyObject
*resultobj
= 0;
31640 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31643 PyObject
*swig_obj
[1] ;
31645 if (!args
) SWIG_fail
;
31646 swig_obj
[0] = args
;
31647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31648 if (!SWIG_IsOK(res1
)) {
31649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31651 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= SWIG_Py_Void();
31666 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31667 PyObject
*resultobj
= 0;
31669 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 wxStockGDI::DeleteAll();
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 resultobj
= SWIG_Py_Void();
31683 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31684 PyObject
*resultobj
= 0;
31685 wxStockGDI
*result
= 0 ;
31687 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31692 result
= (wxStockGDI
*) &_result_ref
;
31694 wxPyEndAllowThreads(__tstate
);
31695 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31704 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31705 PyObject
*resultobj
= 0;
31706 wxStockGDI::Item arg1
;
31707 wxBrush
*result
= 0 ;
31710 PyObject
* obj0
= 0 ;
31711 char * kwnames
[] = {
31712 (char *) "item", NULL
31715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31717 if (!SWIG_IsOK(ecode1
)) {
31718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31720 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31723 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31724 wxPyEndAllowThreads(__tstate
);
31725 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31734 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31735 PyObject
*resultobj
= 0;
31736 wxStockGDI::Item arg1
;
31737 wxColour
*result
= 0 ;
31740 PyObject
* obj0
= 0 ;
31741 char * kwnames
[] = {
31742 (char *) "item", NULL
31745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31747 if (!SWIG_IsOK(ecode1
)) {
31748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31750 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31753 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31764 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
= 0;
31766 wxStockGDI::Item arg1
;
31767 wxCursor
*result
= 0 ;
31770 PyObject
* obj0
= 0 ;
31771 char * kwnames
[] = {
31772 (char *) "item", NULL
31775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31777 if (!SWIG_IsOK(ecode1
)) {
31778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31780 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31794 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
= 0;
31796 wxStockGDI::Item arg1
;
31797 wxPen
*result
= 0 ;
31800 PyObject
* obj0
= 0 ;
31801 char * kwnames
[] = {
31802 (char *) "item", NULL
31805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31807 if (!SWIG_IsOK(ecode1
)) {
31808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31810 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31824 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31825 PyObject
*resultobj
= 0;
31826 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31827 wxStockGDI::Item arg2
;
31828 wxFont
*result
= 0 ;
31833 PyObject
* obj0
= 0 ;
31834 PyObject
* obj1
= 0 ;
31835 char * kwnames
[] = {
31836 (char *) "self",(char *) "item", NULL
31839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31841 if (!SWIG_IsOK(res1
)) {
31842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31844 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31846 if (!SWIG_IsOK(ecode2
)) {
31847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31849 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31852 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31863 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31866 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31867 return SWIG_Py_Void();
31870 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31871 return SWIG_Python_InitShadowInstance(args
);
31874 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31875 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31880 SWIGINTERN PyObject
*NullBitmap_get(void) {
31881 PyObject
*pyobj
= 0;
31883 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31888 SWIGINTERN
int NullIcon_set(PyObject
*) {
31889 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31894 SWIGINTERN PyObject
*NullIcon_get(void) {
31895 PyObject
*pyobj
= 0;
31897 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31902 SWIGINTERN
int NullCursor_set(PyObject
*) {
31903 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31908 SWIGINTERN PyObject
*NullCursor_get(void) {
31909 PyObject
*pyobj
= 0;
31911 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31916 SWIGINTERN
int NullPen_set(PyObject
*) {
31917 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31922 SWIGINTERN PyObject
*NullPen_get(void) {
31923 PyObject
*pyobj
= 0;
31925 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31930 SWIGINTERN
int NullBrush_set(PyObject
*) {
31931 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31936 SWIGINTERN PyObject
*NullBrush_get(void) {
31937 PyObject
*pyobj
= 0;
31939 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31944 SWIGINTERN
int NullPalette_set(PyObject
*) {
31945 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31950 SWIGINTERN PyObject
*NullPalette_get(void) {
31951 PyObject
*pyobj
= 0;
31953 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31958 SWIGINTERN
int NullFont_set(PyObject
*) {
31959 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31964 SWIGINTERN PyObject
*NullFont_get(void) {
31965 PyObject
*pyobj
= 0;
31967 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31972 SWIGINTERN
int NullColour_set(PyObject
*) {
31973 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31978 SWIGINTERN PyObject
*NullColour_get(void) {
31979 PyObject
*pyobj
= 0;
31981 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31986 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31987 PyObject
*resultobj
= 0;
31988 wxGDIObjListBase
*result
= 0 ;
31990 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32004 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32005 PyObject
*resultobj
= 0;
32006 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32009 PyObject
*swig_obj
[1] ;
32011 if (!args
) SWIG_fail
;
32012 swig_obj
[0] = args
;
32013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32014 if (!SWIG_IsOK(res1
)) {
32015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32017 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32025 resultobj
= SWIG_Py_Void();
32032 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32035 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32036 return SWIG_Py_Void();
32039 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32040 return SWIG_Python_InitShadowInstance(args
);
32043 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32044 PyObject
*resultobj
= 0;
32045 wxPenList
*arg1
= (wxPenList
*) 0 ;
32046 wxColour
*arg2
= 0 ;
32049 wxPen
*result
= 0 ;
32057 PyObject
* obj0
= 0 ;
32058 PyObject
* obj1
= 0 ;
32059 PyObject
* obj2
= 0 ;
32060 PyObject
* obj3
= 0 ;
32061 char * kwnames
[] = {
32062 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32067 if (!SWIG_IsOK(res1
)) {
32068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32070 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32073 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32076 if (!SWIG_IsOK(ecode3
)) {
32077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32079 arg3
= static_cast< int >(val3
);
32080 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32081 if (!SWIG_IsOK(ecode4
)) {
32082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32084 arg4
= static_cast< int >(val4
);
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32098 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32099 PyObject
*resultobj
= 0;
32100 wxPenList
*arg1
= (wxPenList
*) 0 ;
32101 wxPen
*arg2
= (wxPen
*) 0 ;
32106 PyObject
* obj0
= 0 ;
32107 PyObject
* obj1
= 0 ;
32108 char * kwnames
[] = {
32109 (char *) "self",(char *) "pen", NULL
32112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32114 if (!SWIG_IsOK(res1
)) {
32115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32117 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32119 if (!SWIG_IsOK(res2
)) {
32120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32122 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 (arg1
)->AddPen(arg2
);
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32129 resultobj
= SWIG_Py_Void();
32136 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
= 0;
32138 wxPenList
*arg1
= (wxPenList
*) 0 ;
32139 wxPen
*arg2
= (wxPen
*) 0 ;
32144 PyObject
* obj0
= 0 ;
32145 PyObject
* obj1
= 0 ;
32146 char * kwnames
[] = {
32147 (char *) "self",(char *) "pen", NULL
32150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32152 if (!SWIG_IsOK(res1
)) {
32153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32155 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32157 if (!SWIG_IsOK(res2
)) {
32158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32160 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32163 (arg1
)->RemovePen(arg2
);
32164 wxPyEndAllowThreads(__tstate
);
32165 if (PyErr_Occurred()) SWIG_fail
;
32167 resultobj
= SWIG_Py_Void();
32174 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32178 return SWIG_Py_Void();
32181 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
= 0;
32183 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32184 wxColour
*arg2
= 0 ;
32185 int arg3
= (int) wxSOLID
;
32186 wxBrush
*result
= 0 ;
32192 PyObject
* obj0
= 0 ;
32193 PyObject
* obj1
= 0 ;
32194 PyObject
* obj2
= 0 ;
32195 char * kwnames
[] = {
32196 (char *) "self",(char *) "colour",(char *) "style", NULL
32199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32201 if (!SWIG_IsOK(res1
)) {
32202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32204 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32211 if (!SWIG_IsOK(ecode3
)) {
32212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32214 arg3
= static_cast< int >(val3
);
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32219 wxPyEndAllowThreads(__tstate
);
32220 if (PyErr_Occurred()) SWIG_fail
;
32222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32229 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32230 PyObject
*resultobj
= 0;
32231 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32232 wxBrush
*arg2
= (wxBrush
*) 0 ;
32237 PyObject
* obj0
= 0 ;
32238 PyObject
* obj1
= 0 ;
32239 char * kwnames
[] = {
32240 (char *) "self",(char *) "brush", NULL
32243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32245 if (!SWIG_IsOK(res1
)) {
32246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32248 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32250 if (!SWIG_IsOK(res2
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32253 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32256 (arg1
)->AddBrush(arg2
);
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32260 resultobj
= SWIG_Py_Void();
32267 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32268 PyObject
*resultobj
= 0;
32269 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32270 wxBrush
*arg2
= (wxBrush
*) 0 ;
32275 PyObject
* obj0
= 0 ;
32276 PyObject
* obj1
= 0 ;
32277 char * kwnames
[] = {
32278 (char *) "self",(char *) "brush", NULL
32281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32283 if (!SWIG_IsOK(res1
)) {
32284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32286 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32288 if (!SWIG_IsOK(res2
)) {
32289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32291 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 (arg1
)->RemoveBrush(arg2
);
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32298 resultobj
= SWIG_Py_Void();
32305 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32308 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32309 return SWIG_Py_Void();
32312 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
= 0;
32314 wxFontList
*arg1
= (wxFontList
*) 0 ;
32319 bool arg6
= (bool) false ;
32320 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32321 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32322 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32323 wxFont
*result
= 0 ;
32336 bool temp7
= false ;
32339 PyObject
* obj0
= 0 ;
32340 PyObject
* obj1
= 0 ;
32341 PyObject
* obj2
= 0 ;
32342 PyObject
* obj3
= 0 ;
32343 PyObject
* obj4
= 0 ;
32344 PyObject
* obj5
= 0 ;
32345 PyObject
* obj6
= 0 ;
32346 PyObject
* obj7
= 0 ;
32347 char * kwnames
[] = {
32348 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32353 if (!SWIG_IsOK(res1
)) {
32354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32356 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32358 if (!SWIG_IsOK(ecode2
)) {
32359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32361 arg2
= static_cast< int >(val2
);
32362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32363 if (!SWIG_IsOK(ecode3
)) {
32364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32366 arg3
= static_cast< int >(val3
);
32367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32368 if (!SWIG_IsOK(ecode4
)) {
32369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32371 arg4
= static_cast< int >(val4
);
32372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32373 if (!SWIG_IsOK(ecode5
)) {
32374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32376 arg5
= static_cast< int >(val5
);
32378 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32379 if (!SWIG_IsOK(ecode6
)) {
32380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32382 arg6
= static_cast< bool >(val6
);
32386 arg7
= wxString_in_helper(obj6
);
32387 if (arg7
== NULL
) SWIG_fail
;
32392 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32393 if (!SWIG_IsOK(ecode8
)) {
32394 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32396 arg8
= static_cast< wxFontEncoding
>(val8
);
32399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32400 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32419 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32420 PyObject
*resultobj
= 0;
32421 wxFontList
*arg1
= (wxFontList
*) 0 ;
32422 wxFont
*arg2
= (wxFont
*) 0 ;
32427 PyObject
* obj0
= 0 ;
32428 PyObject
* obj1
= 0 ;
32429 char * kwnames
[] = {
32430 (char *) "self",(char *) "font", NULL
32433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32435 if (!SWIG_IsOK(res1
)) {
32436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32438 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32440 if (!SWIG_IsOK(res2
)) {
32441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32443 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 (arg1
)->AddFont(arg2
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_Py_Void();
32457 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
= 0;
32459 wxFontList
*arg1
= (wxFontList
*) 0 ;
32460 wxFont
*arg2
= (wxFont
*) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 PyObject
* obj1
= 0 ;
32467 char * kwnames
[] = {
32468 (char *) "self",(char *) "font", NULL
32471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32473 if (!SWIG_IsOK(res1
)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32476 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32478 if (!SWIG_IsOK(res2
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32481 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 (arg1
)->RemoveFont(arg2
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= SWIG_Py_Void();
32495 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32498 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32499 return SWIG_Py_Void();
32502 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32503 PyObject
*resultobj
= 0;
32504 wxColourDatabase
*result
= 0 ;
32506 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32508 if (!wxPyCheckForApp()) SWIG_fail
;
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32510 result
= (wxColourDatabase
*)new wxColourDatabase();
32511 wxPyEndAllowThreads(__tstate
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32521 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32522 PyObject
*resultobj
= 0;
32523 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32526 PyObject
*swig_obj
[1] ;
32528 if (!args
) SWIG_fail
;
32529 swig_obj
[0] = args
;
32530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32531 if (!SWIG_IsOK(res1
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32534 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 wxPyEndAllowThreads(__tstate
);
32540 if (PyErr_Occurred()) SWIG_fail
;
32542 resultobj
= SWIG_Py_Void();
32549 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32550 PyObject
*resultobj
= 0;
32551 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32552 wxString
*arg2
= 0 ;
32556 bool temp2
= false ;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 char * kwnames
[] = {
32560 (char *) "self",(char *) "name", NULL
32563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32565 if (!SWIG_IsOK(res1
)) {
32566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32568 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32570 arg2
= wxString_in_helper(obj1
);
32571 if (arg2
== NULL
) SWIG_fail
;
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32595 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
= 0;
32597 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32598 wxColour
*arg2
= 0 ;
32603 PyObject
* obj0
= 0 ;
32604 PyObject
* obj1
= 0 ;
32605 char * kwnames
[] = {
32606 (char *) "self",(char *) "colour", NULL
32609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32611 if (!SWIG_IsOK(res1
)) {
32612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32614 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32621 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32622 wxPyEndAllowThreads(__tstate
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32638 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32639 PyObject
*resultobj
= 0;
32640 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32641 wxString
*arg2
= 0 ;
32642 wxColour
*arg3
= 0 ;
32645 bool temp2
= false ;
32647 PyObject
* obj0
= 0 ;
32648 PyObject
* obj1
= 0 ;
32649 PyObject
* obj2
= 0 ;
32650 char * kwnames
[] = {
32651 (char *) "self",(char *) "name",(char *) "colour", NULL
32654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32656 if (!SWIG_IsOK(res1
)) {
32657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32659 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32661 arg2
= wxString_in_helper(obj1
);
32662 if (arg2
== NULL
) SWIG_fail
;
32667 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32671 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32672 wxPyEndAllowThreads(__tstate
);
32673 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= SWIG_Py_Void();
32690 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32691 PyObject
*resultobj
= 0;
32692 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32693 wxString
*arg2
= 0 ;
32699 bool temp2
= false ;
32706 PyObject
* obj0
= 0 ;
32707 PyObject
* obj1
= 0 ;
32708 PyObject
* obj2
= 0 ;
32709 PyObject
* obj3
= 0 ;
32710 PyObject
* obj4
= 0 ;
32711 char * kwnames
[] = {
32712 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32717 if (!SWIG_IsOK(res1
)) {
32718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32720 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32722 arg2
= wxString_in_helper(obj1
);
32723 if (arg2
== NULL
) SWIG_fail
;
32726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32727 if (!SWIG_IsOK(ecode3
)) {
32728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32730 arg3
= static_cast< int >(val3
);
32731 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32732 if (!SWIG_IsOK(ecode4
)) {
32733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32735 arg4
= static_cast< int >(val4
);
32736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32737 if (!SWIG_IsOK(ecode5
)) {
32738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32740 arg5
= static_cast< int >(val5
);
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32747 resultobj
= SWIG_Py_Void();
32762 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32765 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32766 return SWIG_Py_Void();
32769 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32770 return SWIG_Python_InitShadowInstance(args
);
32773 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32774 PyObject
*resultobj
= 0;
32775 wxFontList
*result
= 0 ;
32777 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 result
= (wxFontList
*)_wxPyInitTheFontList();
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32791 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32792 PyObject
*resultobj
= 0;
32793 wxPenList
*result
= 0 ;
32795 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32798 result
= (wxPenList
*)_wxPyInitThePenList();
32799 wxPyEndAllowThreads(__tstate
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32809 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32810 PyObject
*resultobj
= 0;
32811 wxBrushList
*result
= 0 ;
32813 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32816 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32827 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32828 PyObject
*resultobj
= 0;
32829 wxColourDatabase
*result
= 0 ;
32831 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32845 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32846 PyObject
*resultobj
= 0;
32847 wxEffects
*result
= 0 ;
32849 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 result
= (wxEffects
*)new wxEffects();
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32863 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32864 PyObject
*resultobj
= 0;
32865 wxEffects
*arg1
= (wxEffects
*) 0 ;
32869 PyObject
*swig_obj
[1] ;
32871 if (!args
) SWIG_fail
;
32872 swig_obj
[0] = args
;
32873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32877 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32881 wxPyEndAllowThreads(__tstate
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32884 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32891 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32892 PyObject
*resultobj
= 0;
32893 wxEffects
*arg1
= (wxEffects
*) 0 ;
32897 PyObject
*swig_obj
[1] ;
32899 if (!args
) SWIG_fail
;
32900 swig_obj
[0] = args
;
32901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32902 if (!SWIG_IsOK(res1
)) {
32903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32905 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32908 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32909 wxPyEndAllowThreads(__tstate
);
32910 if (PyErr_Occurred()) SWIG_fail
;
32912 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32919 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32920 PyObject
*resultobj
= 0;
32921 wxEffects
*arg1
= (wxEffects
*) 0 ;
32925 PyObject
*swig_obj
[1] ;
32927 if (!args
) SWIG_fail
;
32928 swig_obj
[0] = args
;
32929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32930 if (!SWIG_IsOK(res1
)) {
32931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32933 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32936 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32940 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32947 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32948 PyObject
*resultobj
= 0;
32949 wxEffects
*arg1
= (wxEffects
*) 0 ;
32953 PyObject
*swig_obj
[1] ;
32955 if (!args
) SWIG_fail
;
32956 swig_obj
[0] = args
;
32957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32958 if (!SWIG_IsOK(res1
)) {
32959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32961 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32964 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32965 wxPyEndAllowThreads(__tstate
);
32966 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32975 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32976 PyObject
*resultobj
= 0;
32977 wxEffects
*arg1
= (wxEffects
*) 0 ;
32981 PyObject
*swig_obj
[1] ;
32983 if (!args
) SWIG_fail
;
32984 swig_obj
[0] = args
;
32985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32986 if (!SWIG_IsOK(res1
)) {
32987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32989 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32993 wxPyEndAllowThreads(__tstate
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32996 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33003 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33004 PyObject
*resultobj
= 0;
33005 wxEffects
*arg1
= (wxEffects
*) 0 ;
33006 wxColour
*arg2
= 0 ;
33010 PyObject
* obj0
= 0 ;
33011 PyObject
* obj1
= 0 ;
33012 char * kwnames
[] = {
33013 (char *) "self",(char *) "c", NULL
33016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33018 if (!SWIG_IsOK(res1
)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33021 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33024 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33028 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33029 wxPyEndAllowThreads(__tstate
);
33030 if (PyErr_Occurred()) SWIG_fail
;
33032 resultobj
= SWIG_Py_Void();
33039 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33040 PyObject
*resultobj
= 0;
33041 wxEffects
*arg1
= (wxEffects
*) 0 ;
33042 wxColour
*arg2
= 0 ;
33046 PyObject
* obj0
= 0 ;
33047 PyObject
* obj1
= 0 ;
33048 char * kwnames
[] = {
33049 (char *) "self",(char *) "c", NULL
33052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33054 if (!SWIG_IsOK(res1
)) {
33055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33057 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33064 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33065 wxPyEndAllowThreads(__tstate
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33068 resultobj
= SWIG_Py_Void();
33075 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
= 0;
33077 wxEffects
*arg1
= (wxEffects
*) 0 ;
33078 wxColour
*arg2
= 0 ;
33082 PyObject
* obj0
= 0 ;
33083 PyObject
* obj1
= 0 ;
33084 char * kwnames
[] = {
33085 (char *) "self",(char *) "c", NULL
33088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33090 if (!SWIG_IsOK(res1
)) {
33091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33093 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= SWIG_Py_Void();
33111 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
= 0;
33113 wxEffects
*arg1
= (wxEffects
*) 0 ;
33114 wxColour
*arg2
= 0 ;
33118 PyObject
* obj0
= 0 ;
33119 PyObject
* obj1
= 0 ;
33120 char * kwnames
[] = {
33121 (char *) "self",(char *) "c", NULL
33124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33126 if (!SWIG_IsOK(res1
)) {
33127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33129 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33136 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33137 wxPyEndAllowThreads(__tstate
);
33138 if (PyErr_Occurred()) SWIG_fail
;
33140 resultobj
= SWIG_Py_Void();
33147 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33148 PyObject
*resultobj
= 0;
33149 wxEffects
*arg1
= (wxEffects
*) 0 ;
33150 wxColour
*arg2
= 0 ;
33154 PyObject
* obj0
= 0 ;
33155 PyObject
* obj1
= 0 ;
33156 char * kwnames
[] = {
33157 (char *) "self",(char *) "c", NULL
33160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33162 if (!SWIG_IsOK(res1
)) {
33163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33165 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33172 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33173 wxPyEndAllowThreads(__tstate
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33176 resultobj
= SWIG_Py_Void();
33183 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33184 PyObject
*resultobj
= 0;
33185 wxEffects
*arg1
= (wxEffects
*) 0 ;
33186 wxColour
*arg2
= 0 ;
33187 wxColour
*arg3
= 0 ;
33188 wxColour
*arg4
= 0 ;
33189 wxColour
*arg5
= 0 ;
33190 wxColour
*arg6
= 0 ;
33198 PyObject
* obj0
= 0 ;
33199 PyObject
* obj1
= 0 ;
33200 PyObject
* obj2
= 0 ;
33201 PyObject
* obj3
= 0 ;
33202 PyObject
* obj4
= 0 ;
33203 PyObject
* obj5
= 0 ;
33204 char * kwnames
[] = {
33205 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33210 if (!SWIG_IsOK(res1
)) {
33211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33213 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33216 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33220 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33224 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33228 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33232 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33240 resultobj
= SWIG_Py_Void();
33247 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33248 PyObject
*resultobj
= 0;
33249 wxEffects
*arg1
= (wxEffects
*) 0 ;
33252 int arg4
= (int) 1 ;
33260 PyObject
* obj0
= 0 ;
33261 PyObject
* obj1
= 0 ;
33262 PyObject
* obj2
= 0 ;
33263 PyObject
* obj3
= 0 ;
33264 char * kwnames
[] = {
33265 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33270 if (!SWIG_IsOK(res1
)) {
33271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33273 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33275 if (!SWIG_IsOK(res2
)) {
33276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33281 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33284 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33287 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33288 if (!SWIG_IsOK(ecode4
)) {
33289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33291 arg4
= static_cast< int >(val4
);
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_Py_Void();
33306 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
= 0;
33308 wxEffects
*arg1
= (wxEffects
*) 0 ;
33311 wxBitmap
*arg4
= 0 ;
33320 PyObject
* obj0
= 0 ;
33321 PyObject
* obj1
= 0 ;
33322 PyObject
* obj2
= 0 ;
33323 PyObject
* obj3
= 0 ;
33324 char * kwnames
[] = {
33325 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33330 if (!SWIG_IsOK(res1
)) {
33331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33333 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33336 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33338 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33339 if (!SWIG_IsOK(res3
)) {
33340 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33345 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33346 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33347 if (!SWIG_IsOK(res4
)) {
33348 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33353 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33356 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33357 wxPyEndAllowThreads(__tstate
);
33358 if (PyErr_Occurred()) SWIG_fail
;
33361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33369 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33372 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33373 return SWIG_Py_Void();
33376 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33377 return SWIG_Python_InitShadowInstance(args
);
33380 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
= 0;
33385 wxSplitterRenderParams
*result
= 0 ;
33392 PyObject
* obj0
= 0 ;
33393 PyObject
* obj1
= 0 ;
33394 PyObject
* obj2
= 0 ;
33395 char * kwnames
[] = {
33396 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33401 if (!SWIG_IsOK(ecode1
)) {
33402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33404 arg1
= static_cast< int >(val1
);
33405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33406 if (!SWIG_IsOK(ecode2
)) {
33407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33409 arg2
= static_cast< int >(val2
);
33410 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33411 if (!SWIG_IsOK(ecode3
)) {
33412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33414 arg3
= static_cast< bool >(val3
);
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33428 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33429 PyObject
*resultobj
= 0;
33430 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33433 PyObject
*swig_obj
[1] ;
33435 if (!args
) SWIG_fail
;
33436 swig_obj
[0] = args
;
33437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33438 if (!SWIG_IsOK(res1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33441 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 wxPyEndAllowThreads(__tstate
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33449 resultobj
= SWIG_Py_Void();
33456 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33457 PyObject
*resultobj
= 0;
33458 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33462 PyObject
*swig_obj
[1] ;
33464 if (!args
) SWIG_fail
;
33465 swig_obj
[0] = args
;
33466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33467 if (!SWIG_IsOK(res1
)) {
33468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33470 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33471 result
= (int)(int) ((arg1
)->widthSash
);
33472 resultobj
= SWIG_From_int(static_cast< int >(result
));
33479 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33480 PyObject
*resultobj
= 0;
33481 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33485 PyObject
*swig_obj
[1] ;
33487 if (!args
) SWIG_fail
;
33488 swig_obj
[0] = args
;
33489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33490 if (!SWIG_IsOK(res1
)) {
33491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33493 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33494 result
= (int)(int) ((arg1
)->border
);
33495 resultobj
= SWIG_From_int(static_cast< int >(result
));
33502 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33503 PyObject
*resultobj
= 0;
33504 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33508 PyObject
*swig_obj
[1] ;
33510 if (!args
) SWIG_fail
;
33511 swig_obj
[0] = args
;
33512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33513 if (!SWIG_IsOK(res1
)) {
33514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33516 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33517 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33518 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33525 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33528 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33529 return SWIG_Py_Void();
33532 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33533 return SWIG_Python_InitShadowInstance(args
);
33536 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33537 PyObject
*resultobj
= 0;
33538 wxHeaderButtonParams
*result
= 0 ;
33540 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33554 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33555 PyObject
*resultobj
= 0;
33556 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33559 PyObject
*swig_obj
[1] ;
33561 if (!args
) SWIG_fail
;
33562 swig_obj
[0] = args
;
33563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33564 if (!SWIG_IsOK(res1
)) {
33565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33567 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33572 wxPyEndAllowThreads(__tstate
);
33573 if (PyErr_Occurred()) SWIG_fail
;
33575 resultobj
= SWIG_Py_Void();
33582 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33583 PyObject
*resultobj
= 0;
33584 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33585 wxColour
*arg2
= (wxColour
*) 0 ;
33589 PyObject
*swig_obj
[2] ;
33591 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33593 if (!SWIG_IsOK(res1
)) {
33594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33596 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33599 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33601 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33603 resultobj
= SWIG_Py_Void();
33610 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33611 PyObject
*resultobj
= 0;
33612 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33613 wxColour
*result
= 0 ;
33616 PyObject
*swig_obj
[1] ;
33618 if (!args
) SWIG_fail
;
33619 swig_obj
[0] = args
;
33620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33621 if (!SWIG_IsOK(res1
)) {
33622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33624 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33625 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33633 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33634 PyObject
*resultobj
= 0;
33635 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33636 wxColour
*arg2
= (wxColour
*) 0 ;
33640 PyObject
*swig_obj
[2] ;
33642 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33644 if (!SWIG_IsOK(res1
)) {
33645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33647 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33650 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33652 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33654 resultobj
= SWIG_Py_Void();
33661 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33662 PyObject
*resultobj
= 0;
33663 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33664 wxColour
*result
= 0 ;
33667 PyObject
*swig_obj
[1] ;
33669 if (!args
) SWIG_fail
;
33670 swig_obj
[0] = args
;
33671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33672 if (!SWIG_IsOK(res1
)) {
33673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33675 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33676 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33684 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33685 PyObject
*resultobj
= 0;
33686 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33687 wxString
*arg2
= (wxString
*) 0 ;
33690 bool temp2
= false ;
33691 PyObject
*swig_obj
[2] ;
33693 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33695 if (!SWIG_IsOK(res1
)) {
33696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33698 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33700 arg2
= wxString_in_helper(swig_obj
[1]);
33701 if (arg2
== NULL
) SWIG_fail
;
33704 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33706 resultobj
= SWIG_Py_Void();
33721 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33722 PyObject
*resultobj
= 0;
33723 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33724 wxString
*result
= 0 ;
33727 PyObject
*swig_obj
[1] ;
33729 if (!args
) SWIG_fail
;
33730 swig_obj
[0] = args
;
33731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33732 if (!SWIG_IsOK(res1
)) {
33733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33735 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33736 result
= (wxString
*)& ((arg1
)->m_labelText
);
33739 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33741 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33750 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33751 PyObject
*resultobj
= 0;
33752 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33753 wxFont
*arg2
= (wxFont
*) 0 ;
33758 PyObject
*swig_obj
[2] ;
33760 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33762 if (!SWIG_IsOK(res1
)) {
33763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33765 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33766 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33767 if (!SWIG_IsOK(res2
)) {
33768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33770 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33771 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33773 resultobj
= SWIG_Py_Void();
33780 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33781 PyObject
*resultobj
= 0;
33782 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33783 wxFont
*result
= 0 ;
33786 PyObject
*swig_obj
[1] ;
33788 if (!args
) SWIG_fail
;
33789 swig_obj
[0] = args
;
33790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33791 if (!SWIG_IsOK(res1
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33794 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33795 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33803 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33804 PyObject
*resultobj
= 0;
33805 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33806 wxColour
*arg2
= (wxColour
*) 0 ;
33810 PyObject
*swig_obj
[2] ;
33812 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33814 if (!SWIG_IsOK(res1
)) {
33815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33817 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33820 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33822 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33824 resultobj
= SWIG_Py_Void();
33831 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33832 PyObject
*resultobj
= 0;
33833 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33834 wxColour
*result
= 0 ;
33837 PyObject
*swig_obj
[1] ;
33839 if (!args
) SWIG_fail
;
33840 swig_obj
[0] = args
;
33841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33842 if (!SWIG_IsOK(res1
)) {
33843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33845 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33846 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33854 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33855 PyObject
*resultobj
= 0;
33856 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33857 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33862 PyObject
*swig_obj
[2] ;
33864 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33866 if (!SWIG_IsOK(res1
)) {
33867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33869 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33870 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33871 if (!SWIG_IsOK(res2
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33874 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33875 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33877 resultobj
= SWIG_Py_Void();
33884 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33885 PyObject
*resultobj
= 0;
33886 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33887 wxBitmap
*result
= 0 ;
33890 PyObject
*swig_obj
[1] ;
33892 if (!args
) SWIG_fail
;
33893 swig_obj
[0] = args
;
33894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33895 if (!SWIG_IsOK(res1
)) {
33896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33898 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33899 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33907 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33908 PyObject
*resultobj
= 0;
33909 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33915 PyObject
*swig_obj
[2] ;
33917 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33919 if (!SWIG_IsOK(res1
)) {
33920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33922 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33923 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33924 if (!SWIG_IsOK(ecode2
)) {
33925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33927 arg2
= static_cast< int >(val2
);
33928 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33930 resultobj
= SWIG_Py_Void();
33937 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33938 PyObject
*resultobj
= 0;
33939 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33943 PyObject
*swig_obj
[1] ;
33945 if (!args
) SWIG_fail
;
33946 swig_obj
[0] = args
;
33947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33948 if (!SWIG_IsOK(res1
)) {
33949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33951 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33952 result
= (int) ((arg1
)->m_labelAlignment
);
33953 resultobj
= SWIG_From_int(static_cast< int >(result
));
33960 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33963 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33964 return SWIG_Py_Void();
33967 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33968 return SWIG_Python_InitShadowInstance(args
);
33971 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33972 PyObject
*resultobj
= 0;
33975 wxRendererVersion
*result
= 0 ;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 char * kwnames
[] = {
33983 (char *) "version_",(char *) "age_", NULL
33986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33987 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33988 if (!SWIG_IsOK(ecode1
)) {
33989 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33991 arg1
= static_cast< int >(val1
);
33992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33993 if (!SWIG_IsOK(ecode2
)) {
33994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33996 arg2
= static_cast< int >(val2
);
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34010 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34011 PyObject
*resultobj
= 0;
34012 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34015 PyObject
*swig_obj
[1] ;
34017 if (!args
) SWIG_fail
;
34018 swig_obj
[0] = args
;
34019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34020 if (!SWIG_IsOK(res1
)) {
34021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34023 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34028 wxPyEndAllowThreads(__tstate
);
34029 if (PyErr_Occurred()) SWIG_fail
;
34031 resultobj
= SWIG_Py_Void();
34038 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34039 PyObject
*resultobj
= 0;
34040 wxRendererVersion
*arg1
= 0 ;
34044 PyObject
* obj0
= 0 ;
34045 char * kwnames
[] = {
34046 (char *) "ver", NULL
34049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34050 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34051 if (!SWIG_IsOK(res1
)) {
34052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34057 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34060 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34073 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34074 PyObject
*resultobj
= 0;
34075 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34079 PyObject
*swig_obj
[1] ;
34081 if (!args
) SWIG_fail
;
34082 swig_obj
[0] = args
;
34083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34084 if (!SWIG_IsOK(res1
)) {
34085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34087 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34088 result
= (int)(int) ((arg1
)->version
);
34089 resultobj
= SWIG_From_int(static_cast< int >(result
));
34096 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34097 PyObject
*resultobj
= 0;
34098 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34102 PyObject
*swig_obj
[1] ;
34104 if (!args
) SWIG_fail
;
34105 swig_obj
[0] = args
;
34106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34107 if (!SWIG_IsOK(res1
)) {
34108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34110 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34111 result
= (int)(int) ((arg1
)->age
);
34112 resultobj
= SWIG_From_int(static_cast< int >(result
));
34119 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34122 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34123 return SWIG_Py_Void();
34126 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34127 return SWIG_Python_InitShadowInstance(args
);
34130 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34131 PyObject
*resultobj
= 0;
34132 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34133 wxWindow
*arg2
= (wxWindow
*) 0 ;
34136 int arg5
= (int) 0 ;
34137 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34138 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34153 PyObject
* obj0
= 0 ;
34154 PyObject
* obj1
= 0 ;
34155 PyObject
* obj2
= 0 ;
34156 PyObject
* obj3
= 0 ;
34157 PyObject
* obj4
= 0 ;
34158 PyObject
* obj5
= 0 ;
34159 PyObject
* obj6
= 0 ;
34160 char * kwnames
[] = {
34161 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34166 if (!SWIG_IsOK(res1
)) {
34167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34169 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34171 if (!SWIG_IsOK(res2
)) {
34172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34174 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34175 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34176 if (!SWIG_IsOK(res3
)) {
34177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34182 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34185 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34188 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34189 if (!SWIG_IsOK(ecode5
)) {
34190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34192 arg5
= static_cast< int >(val5
);
34195 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34196 if (!SWIG_IsOK(ecode6
)) {
34197 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34199 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34202 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34203 if (!SWIG_IsOK(res7
)) {
34204 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34206 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34210 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34211 wxPyEndAllowThreads(__tstate
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34214 resultobj
= SWIG_From_int(static_cast< int >(result
));
34221 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34222 PyObject
*resultobj
= 0;
34223 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34224 wxWindow
*arg2
= (wxWindow
*) 0 ;
34227 int arg5
= (int) 0 ;
34228 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34229 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34244 PyObject
* obj0
= 0 ;
34245 PyObject
* obj1
= 0 ;
34246 PyObject
* obj2
= 0 ;
34247 PyObject
* obj3
= 0 ;
34248 PyObject
* obj4
= 0 ;
34249 PyObject
* obj5
= 0 ;
34250 PyObject
* obj6
= 0 ;
34251 char * kwnames
[] = {
34252 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34257 if (!SWIG_IsOK(res1
)) {
34258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34260 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34262 if (!SWIG_IsOK(res2
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34265 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34266 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34267 if (!SWIG_IsOK(res3
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34273 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34276 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34280 if (!SWIG_IsOK(ecode5
)) {
34281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34283 arg5
= static_cast< int >(val5
);
34286 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34287 if (!SWIG_IsOK(ecode6
)) {
34288 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34290 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34293 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34294 if (!SWIG_IsOK(res7
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34297 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= SWIG_From_int(static_cast< int >(result
));
34312 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
= 0;
34314 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34315 wxWindow
*arg2
= (wxWindow
*) 0 ;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 char * kwnames
[] = {
34324 (char *) "self",(char *) "win", NULL
34327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34329 if (!SWIG_IsOK(res1
)) {
34330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34332 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34334 if (!SWIG_IsOK(res2
)) {
34335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34337 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34340 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34341 wxPyEndAllowThreads(__tstate
);
34342 if (PyErr_Occurred()) SWIG_fail
;
34344 resultobj
= SWIG_From_int(static_cast< int >(result
));
34351 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34352 PyObject
*resultobj
= 0;
34353 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34354 wxWindow
*arg2
= (wxWindow
*) 0 ;
34357 int arg5
= (int) 0 ;
34367 PyObject
* obj0
= 0 ;
34368 PyObject
* obj1
= 0 ;
34369 PyObject
* obj2
= 0 ;
34370 PyObject
* obj3
= 0 ;
34371 PyObject
* obj4
= 0 ;
34372 char * kwnames
[] = {
34373 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34378 if (!SWIG_IsOK(res1
)) {
34379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34381 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34382 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34383 if (!SWIG_IsOK(res2
)) {
34384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34386 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34387 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34388 if (!SWIG_IsOK(res3
)) {
34389 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34394 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34397 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34400 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34401 if (!SWIG_IsOK(ecode5
)) {
34402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34404 arg5
= static_cast< int >(val5
);
34407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34408 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34412 resultobj
= SWIG_Py_Void();
34419 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34420 PyObject
*resultobj
= 0;
34421 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34422 wxWindow
*arg2
= (wxWindow
*) 0 ;
34425 int arg5
= (int) 0 ;
34435 PyObject
* obj0
= 0 ;
34436 PyObject
* obj1
= 0 ;
34437 PyObject
* obj2
= 0 ;
34438 PyObject
* obj3
= 0 ;
34439 PyObject
* obj4
= 0 ;
34440 char * kwnames
[] = {
34441 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34446 if (!SWIG_IsOK(res1
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34449 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34451 if (!SWIG_IsOK(res2
)) {
34452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34455 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34456 if (!SWIG_IsOK(res3
)) {
34457 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34462 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34465 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34468 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34469 if (!SWIG_IsOK(ecode5
)) {
34470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34472 arg5
= static_cast< int >(val5
);
34475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34476 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34477 wxPyEndAllowThreads(__tstate
);
34478 if (PyErr_Occurred()) SWIG_fail
;
34480 resultobj
= SWIG_Py_Void();
34487 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34488 PyObject
*resultobj
= 0;
34489 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34490 wxWindow
*arg2
= (wxWindow
*) 0 ;
34494 wxOrientation arg6
;
34495 int arg7
= (int) 0 ;
34509 PyObject
* obj0
= 0 ;
34510 PyObject
* obj1
= 0 ;
34511 PyObject
* obj2
= 0 ;
34512 PyObject
* obj3
= 0 ;
34513 PyObject
* obj4
= 0 ;
34514 PyObject
* obj5
= 0 ;
34515 PyObject
* obj6
= 0 ;
34516 char * kwnames
[] = {
34517 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34522 if (!SWIG_IsOK(res1
)) {
34523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34525 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34527 if (!SWIG_IsOK(res2
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34530 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34531 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34532 if (!SWIG_IsOK(res3
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34538 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34541 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34543 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34544 if (!SWIG_IsOK(ecode5
)) {
34545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34547 arg5
= static_cast< int >(val5
);
34548 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34549 if (!SWIG_IsOK(ecode6
)) {
34550 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34552 arg6
= static_cast< wxOrientation
>(val6
);
34554 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34555 if (!SWIG_IsOK(ecode7
)) {
34556 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34558 arg7
= static_cast< int >(val7
);
34561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34562 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34563 wxPyEndAllowThreads(__tstate
);
34564 if (PyErr_Occurred()) SWIG_fail
;
34566 resultobj
= SWIG_Py_Void();
34573 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34574 PyObject
*resultobj
= 0;
34575 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34576 wxWindow
*arg2
= (wxWindow
*) 0 ;
34579 int arg5
= (int) 0 ;
34589 PyObject
* obj0
= 0 ;
34590 PyObject
* obj1
= 0 ;
34591 PyObject
* obj2
= 0 ;
34592 PyObject
* obj3
= 0 ;
34593 PyObject
* obj4
= 0 ;
34594 char * kwnames
[] = {
34595 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34600 if (!SWIG_IsOK(res1
)) {
34601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34603 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34605 if (!SWIG_IsOK(res2
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34608 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34609 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34610 if (!SWIG_IsOK(res3
)) {
34611 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34616 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34619 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34623 if (!SWIG_IsOK(ecode5
)) {
34624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34626 arg5
= static_cast< int >(val5
);
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34634 resultobj
= SWIG_Py_Void();
34641 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34642 PyObject
*resultobj
= 0;
34643 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34644 wxWindow
*arg2
= (wxWindow
*) 0 ;
34647 int arg5
= (int) 0 ;
34657 PyObject
* obj0
= 0 ;
34658 PyObject
* obj1
= 0 ;
34659 PyObject
* obj2
= 0 ;
34660 PyObject
* obj3
= 0 ;
34661 PyObject
* obj4
= 0 ;
34662 char * kwnames
[] = {
34663 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34668 if (!SWIG_IsOK(res1
)) {
34669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34671 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34673 if (!SWIG_IsOK(res2
)) {
34674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34677 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34678 if (!SWIG_IsOK(res3
)) {
34679 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34684 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34687 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34690 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34691 if (!SWIG_IsOK(ecode5
)) {
34692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34694 arg5
= static_cast< int >(val5
);
34697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34698 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34699 wxPyEndAllowThreads(__tstate
);
34700 if (PyErr_Occurred()) SWIG_fail
;
34702 resultobj
= SWIG_Py_Void();
34709 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34710 PyObject
*resultobj
= 0;
34711 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34712 wxWindow
*arg2
= (wxWindow
*) 0 ;
34715 int arg5
= (int) 0 ;
34725 PyObject
* obj0
= 0 ;
34726 PyObject
* obj1
= 0 ;
34727 PyObject
* obj2
= 0 ;
34728 PyObject
* obj3
= 0 ;
34729 PyObject
* obj4
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34736 if (!SWIG_IsOK(res1
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34739 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34741 if (!SWIG_IsOK(res2
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34744 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34745 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34746 if (!SWIG_IsOK(res3
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34752 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34755 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34758 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34759 if (!SWIG_IsOK(ecode5
)) {
34760 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34762 arg5
= static_cast< int >(val5
);
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 resultobj
= SWIG_Py_Void();
34777 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
= 0;
34779 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34780 wxWindow
*arg2
= (wxWindow
*) 0 ;
34783 int arg5
= (int) 0 ;
34793 PyObject
* obj0
= 0 ;
34794 PyObject
* obj1
= 0 ;
34795 PyObject
* obj2
= 0 ;
34796 PyObject
* obj3
= 0 ;
34797 PyObject
* obj4
= 0 ;
34798 char * kwnames
[] = {
34799 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34804 if (!SWIG_IsOK(res1
)) {
34805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34807 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34809 if (!SWIG_IsOK(res2
)) {
34810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34812 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34813 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34814 if (!SWIG_IsOK(res3
)) {
34815 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34820 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34823 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34826 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34827 if (!SWIG_IsOK(ecode5
)) {
34828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34830 arg5
= static_cast< int >(val5
);
34833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34834 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 resultobj
= SWIG_Py_Void();
34845 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
= 0;
34847 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34848 wxWindow
*arg2
= (wxWindow
*) 0 ;
34851 int arg5
= (int) 0 ;
34861 PyObject
* obj0
= 0 ;
34862 PyObject
* obj1
= 0 ;
34863 PyObject
* obj2
= 0 ;
34864 PyObject
* obj3
= 0 ;
34865 PyObject
* obj4
= 0 ;
34866 char * kwnames
[] = {
34867 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34872 if (!SWIG_IsOK(res1
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34875 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34877 if (!SWIG_IsOK(res2
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34880 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34881 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34882 if (!SWIG_IsOK(res3
)) {
34883 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34888 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34891 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34894 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34895 if (!SWIG_IsOK(ecode5
)) {
34896 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34898 arg5
= static_cast< int >(val5
);
34901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34902 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34903 wxPyEndAllowThreads(__tstate
);
34904 if (PyErr_Occurred()) SWIG_fail
;
34906 resultobj
= SWIG_Py_Void();
34913 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34914 PyObject
*resultobj
= 0;
34915 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34916 wxWindow
*arg2
= (wxWindow
*) 0 ;
34917 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34922 PyObject
* obj0
= 0 ;
34923 PyObject
* obj1
= 0 ;
34924 char * kwnames
[] = {
34925 (char *) "self",(char *) "win", NULL
34928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34930 if (!SWIG_IsOK(res1
)) {
34931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34933 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34934 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34935 if (!SWIG_IsOK(res2
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34938 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34941 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34945 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34952 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34953 PyObject
*resultobj
= 0;
34954 wxRendererNative
*result
= 0 ;
34956 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34958 if (!wxPyCheckForApp()) SWIG_fail
;
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34961 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34962 result
= (wxRendererNative
*) &_result_ref
;
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34974 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34975 PyObject
*resultobj
= 0;
34976 wxRendererNative
*result
= 0 ;
34978 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34980 if (!wxPyCheckForApp()) SWIG_fail
;
34981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34984 result
= (wxRendererNative
*) &_result_ref
;
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34996 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34997 PyObject
*resultobj
= 0;
34998 wxRendererNative
*result
= 0 ;
35000 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35002 if (!wxPyCheckForApp()) SWIG_fail
;
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35005 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35006 result
= (wxRendererNative
*) &_result_ref
;
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35018 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35019 PyObject
*resultobj
= 0;
35020 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35021 wxRendererNative
*result
= 0 ;
35024 PyObject
* obj0
= 0 ;
35025 char * kwnames
[] = {
35026 (char *) "renderer", NULL
35029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35031 if (!SWIG_IsOK(res1
)) {
35032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35034 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35036 if (!wxPyCheckForApp()) SWIG_fail
;
35037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35038 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35039 wxPyEndAllowThreads(__tstate
);
35040 if (PyErr_Occurred()) SWIG_fail
;
35042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35049 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35050 PyObject
*resultobj
= 0;
35051 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35052 SwigValueWrapper
<wxRendererVersion
> result
;
35055 PyObject
*swig_obj
[1] ;
35057 if (!args
) SWIG_fail
;
35058 swig_obj
[0] = args
;
35059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35060 if (!SWIG_IsOK(res1
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35063 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35066 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35067 wxPyEndAllowThreads(__tstate
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35070 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35077 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35080 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35081 return SWIG_Py_Void();
35084 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35085 PyObject
*resultobj
= 0;
35086 wxPseudoDC
*result
= 0 ;
35088 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 result
= (wxPseudoDC
*)new wxPseudoDC();
35092 wxPyEndAllowThreads(__tstate
);
35093 if (PyErr_Occurred()) SWIG_fail
;
35095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35102 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35103 PyObject
*resultobj
= 0;
35104 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35107 PyObject
*swig_obj
[1] ;
35109 if (!args
) SWIG_fail
;
35110 swig_obj
[0] = args
;
35111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35112 if (!SWIG_IsOK(res1
)) {
35113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35115 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35118 (arg1
)->BeginDrawing();
35119 wxPyEndAllowThreads(__tstate
);
35120 if (PyErr_Occurred()) SWIG_fail
;
35122 resultobj
= SWIG_Py_Void();
35129 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35130 PyObject
*resultobj
= 0;
35131 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35134 PyObject
*swig_obj
[1] ;
35136 if (!args
) SWIG_fail
;
35137 swig_obj
[0] = args
;
35138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35139 if (!SWIG_IsOK(res1
)) {
35140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35145 (arg1
)->EndDrawing();
35146 wxPyEndAllowThreads(__tstate
);
35147 if (PyErr_Occurred()) SWIG_fail
;
35149 resultobj
= SWIG_Py_Void();
35156 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35157 PyObject
*resultobj
= 0;
35158 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35161 PyObject
*swig_obj
[1] ;
35163 if (!args
) SWIG_fail
;
35164 swig_obj
[0] = args
;
35165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35166 if (!SWIG_IsOK(res1
)) {
35167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35169 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35174 wxPyEndAllowThreads(__tstate
);
35175 if (PyErr_Occurred()) SWIG_fail
;
35177 resultobj
= SWIG_Py_Void();
35184 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35185 PyObject
*resultobj
= 0;
35186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35189 PyObject
*swig_obj
[1] ;
35191 if (!args
) SWIG_fail
;
35192 swig_obj
[0] = args
;
35193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35194 if (!SWIG_IsOK(res1
)) {
35195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35197 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35200 (arg1
)->RemoveAll();
35201 wxPyEndAllowThreads(__tstate
);
35202 if (PyErr_Occurred()) SWIG_fail
;
35204 resultobj
= SWIG_Py_Void();
35211 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35212 PyObject
*resultobj
= 0;
35213 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35217 PyObject
*swig_obj
[1] ;
35219 if (!args
) SWIG_fail
;
35220 swig_obj
[0] = args
;
35221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35222 if (!SWIG_IsOK(res1
)) {
35223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35228 result
= (int)(arg1
)->GetLen();
35229 wxPyEndAllowThreads(__tstate
);
35230 if (PyErr_Occurred()) SWIG_fail
;
35232 resultobj
= SWIG_From_int(static_cast< int >(result
));
35239 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35240 PyObject
*resultobj
= 0;
35241 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35247 PyObject
* obj0
= 0 ;
35248 PyObject
* obj1
= 0 ;
35249 char * kwnames
[] = {
35250 (char *) "self",(char *) "id", NULL
35253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35255 if (!SWIG_IsOK(res1
)) {
35256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35258 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35260 if (!SWIG_IsOK(ecode2
)) {
35261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35263 arg2
= static_cast< int >(val2
);
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35266 (arg1
)->SetId(arg2
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= SWIG_Py_Void();
35277 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
= 0;
35279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35285 PyObject
* obj0
= 0 ;
35286 PyObject
* obj1
= 0 ;
35287 char * kwnames
[] = {
35288 (char *) "self",(char *) "id", NULL
35291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35293 if (!SWIG_IsOK(res1
)) {
35294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35296 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35298 if (!SWIG_IsOK(ecode2
)) {
35299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35301 arg2
= static_cast< int >(val2
);
35303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35304 (arg1
)->ClearId(arg2
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 resultobj
= SWIG_Py_Void();
35315 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
= 0;
35317 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35323 PyObject
* obj0
= 0 ;
35324 PyObject
* obj1
= 0 ;
35325 char * kwnames
[] = {
35326 (char *) "self",(char *) "id", NULL
35329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35331 if (!SWIG_IsOK(res1
)) {
35332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35334 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35336 if (!SWIG_IsOK(ecode2
)) {
35337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35339 arg2
= static_cast< int >(val2
);
35341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35342 (arg1
)->RemoveId(arg2
);
35343 wxPyEndAllowThreads(__tstate
);
35344 if (PyErr_Occurred()) SWIG_fail
;
35346 resultobj
= SWIG_Py_Void();
35353 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35354 PyObject
*resultobj
= 0;
35355 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35367 PyObject
* obj0
= 0 ;
35368 PyObject
* obj1
= 0 ;
35369 PyObject
* obj2
= 0 ;
35370 PyObject
* obj3
= 0 ;
35371 char * kwnames
[] = {
35372 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35377 if (!SWIG_IsOK(res1
)) {
35378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35380 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35382 if (!SWIG_IsOK(ecode2
)) {
35383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35385 arg2
= static_cast< int >(val2
);
35386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35387 if (!SWIG_IsOK(ecode3
)) {
35388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35390 arg3
= static_cast< int >(val3
);
35391 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35392 if (!SWIG_IsOK(ecode4
)) {
35393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35395 arg4
= static_cast< int >(val4
);
35397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35398 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35399 wxPyEndAllowThreads(__tstate
);
35400 if (PyErr_Occurred()) SWIG_fail
;
35402 resultobj
= SWIG_Py_Void();
35409 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35410 PyObject
*resultobj
= 0;
35411 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35413 bool arg3
= (bool) true ;
35420 PyObject
* obj0
= 0 ;
35421 PyObject
* obj1
= 0 ;
35422 PyObject
* obj2
= 0 ;
35423 char * kwnames
[] = {
35424 (char *) "self",(char *) "id",(char *) "greyout", NULL
35427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35429 if (!SWIG_IsOK(res1
)) {
35430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35432 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35434 if (!SWIG_IsOK(ecode2
)) {
35435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35437 arg2
= static_cast< int >(val2
);
35439 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35440 if (!SWIG_IsOK(ecode3
)) {
35441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35443 arg3
= static_cast< bool >(val3
);
35446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35447 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35448 wxPyEndAllowThreads(__tstate
);
35449 if (PyErr_Occurred()) SWIG_fail
;
35451 resultobj
= SWIG_Py_Void();
35458 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35459 PyObject
*resultobj
= 0;
35460 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35467 PyObject
* obj0
= 0 ;
35468 PyObject
* obj1
= 0 ;
35469 char * kwnames
[] = {
35470 (char *) "self",(char *) "id", NULL
35473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35475 if (!SWIG_IsOK(res1
)) {
35476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35478 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35480 if (!SWIG_IsOK(ecode2
)) {
35481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35483 arg2
= static_cast< int >(val2
);
35485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35486 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35487 wxPyEndAllowThreads(__tstate
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35499 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35500 PyObject
*resultobj
= 0;
35501 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35504 int arg4
= (int) 1 ;
35505 wxColor
const &arg5_defvalue
= *wxWHITE
;
35506 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35507 PyObject
*result
= 0 ;
35518 PyObject
* obj0
= 0 ;
35519 PyObject
* obj1
= 0 ;
35520 PyObject
* obj2
= 0 ;
35521 PyObject
* obj3
= 0 ;
35522 PyObject
* obj4
= 0 ;
35523 char * kwnames
[] = {
35524 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35529 if (!SWIG_IsOK(res1
)) {
35530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35534 if (!SWIG_IsOK(ecode2
)) {
35535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35537 arg2
= static_cast< int >(val2
);
35538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35539 if (!SWIG_IsOK(ecode3
)) {
35540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35542 arg3
= static_cast< int >(val3
);
35544 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35545 if (!SWIG_IsOK(ecode4
)) {
35546 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35548 arg4
= static_cast< int >(val4
);
35551 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35552 if (!SWIG_IsOK(res5
)) {
35553 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35558 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35561 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35562 if (PyErr_Occurred()) SWIG_fail
;
35564 resultobj
= result
;
35571 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35572 PyObject
*resultobj
= 0;
35573 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35576 PyObject
*result
= 0 ;
35583 PyObject
* obj0
= 0 ;
35584 PyObject
* obj1
= 0 ;
35585 PyObject
* obj2
= 0 ;
35586 char * kwnames
[] = {
35587 (char *) "self",(char *) "x",(char *) "y", NULL
35590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35592 if (!SWIG_IsOK(res1
)) {
35593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35595 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35597 if (!SWIG_IsOK(ecode2
)) {
35598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35600 arg2
= static_cast< int >(val2
);
35601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35602 if (!SWIG_IsOK(ecode3
)) {
35603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35605 arg3
= static_cast< int >(val3
);
35607 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35608 if (PyErr_Occurred()) SWIG_fail
;
35610 resultobj
= result
;
35617 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35618 PyObject
*resultobj
= 0;
35619 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35621 wxDC
*arg3
= (wxDC
*) 0 ;
35628 PyObject
* obj0
= 0 ;
35629 PyObject
* obj1
= 0 ;
35630 PyObject
* obj2
= 0 ;
35631 char * kwnames
[] = {
35632 (char *) "self",(char *) "id",(char *) "dc", NULL
35635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35637 if (!SWIG_IsOK(res1
)) {
35638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35640 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35642 if (!SWIG_IsOK(ecode2
)) {
35643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35645 arg2
= static_cast< int >(val2
);
35646 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35647 if (!SWIG_IsOK(res3
)) {
35648 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35650 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 (arg1
)->DrawIdToDC(arg2
,arg3
);
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35657 resultobj
= SWIG_Py_Void();
35664 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35665 PyObject
*resultobj
= 0;
35666 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35674 PyObject
* obj0
= 0 ;
35675 PyObject
* obj1
= 0 ;
35676 PyObject
* obj2
= 0 ;
35677 char * kwnames
[] = {
35678 (char *) "self",(char *) "id",(char *) "rect", NULL
35681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35683 if (!SWIG_IsOK(res1
)) {
35684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35688 if (!SWIG_IsOK(ecode2
)) {
35689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35691 arg2
= static_cast< int >(val2
);
35694 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35698 (arg1
)->SetIdBounds(arg2
,*arg3
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 resultobj
= SWIG_Py_Void();
35709 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
= 0;
35711 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 char * kwnames
[] = {
35721 (char *) "self",(char *) "id", NULL
35724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35726 if (!SWIG_IsOK(res1
)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35729 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35731 if (!SWIG_IsOK(ecode2
)) {
35732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35734 arg2
= static_cast< int >(val2
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35748 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
= 0;
35750 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35751 wxDC
*arg2
= (wxDC
*) 0 ;
35758 PyObject
* obj0
= 0 ;
35759 PyObject
* obj1
= 0 ;
35760 PyObject
* obj2
= 0 ;
35761 char * kwnames
[] = {
35762 (char *) "self",(char *) "dc",(char *) "rect", NULL
35765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35767 if (!SWIG_IsOK(res1
)) {
35768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35770 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35771 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35772 if (!SWIG_IsOK(res2
)) {
35773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35775 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35778 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35782 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35786 resultobj
= SWIG_Py_Void();
35793 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35794 PyObject
*resultobj
= 0;
35795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35796 wxDC
*arg2
= (wxDC
*) 0 ;
35797 wxRegion
*arg3
= 0 ;
35804 PyObject
* obj0
= 0 ;
35805 PyObject
* obj1
= 0 ;
35806 PyObject
* obj2
= 0 ;
35807 char * kwnames
[] = {
35808 (char *) "self",(char *) "dc",(char *) "region", NULL
35811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35813 if (!SWIG_IsOK(res1
)) {
35814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35816 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35818 if (!SWIG_IsOK(res2
)) {
35819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35821 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35822 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35823 if (!SWIG_IsOK(res3
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35829 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 resultobj
= SWIG_Py_Void();
35843 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35844 PyObject
*resultobj
= 0;
35845 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35846 wxDC
*arg2
= (wxDC
*) 0 ;
35851 PyObject
* obj0
= 0 ;
35852 PyObject
* obj1
= 0 ;
35853 char * kwnames
[] = {
35854 (char *) "self",(char *) "dc", NULL
35857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35859 if (!SWIG_IsOK(res1
)) {
35860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35864 if (!SWIG_IsOK(res2
)) {
35865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35867 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35870 (arg1
)->DrawToDC(arg2
);
35871 wxPyEndAllowThreads(__tstate
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35874 resultobj
= SWIG_Py_Void();
35881 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35882 PyObject
*resultobj
= 0;
35883 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35886 wxColour
*arg4
= 0 ;
35887 int arg5
= (int) wxFLOOD_SURFACE
;
35897 PyObject
* obj0
= 0 ;
35898 PyObject
* obj1
= 0 ;
35899 PyObject
* obj2
= 0 ;
35900 PyObject
* obj3
= 0 ;
35901 PyObject
* obj4
= 0 ;
35902 char * kwnames
[] = {
35903 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35908 if (!SWIG_IsOK(res1
)) {
35909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35911 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35913 if (!SWIG_IsOK(ecode2
)) {
35914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35916 arg2
= static_cast< int >(val2
);
35917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35918 if (!SWIG_IsOK(ecode3
)) {
35919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35921 arg3
= static_cast< int >(val3
);
35924 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35927 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35928 if (!SWIG_IsOK(ecode5
)) {
35929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35931 arg5
= static_cast< int >(val5
);
35934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35935 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35936 wxPyEndAllowThreads(__tstate
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35939 resultobj
= SWIG_Py_Void();
35946 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35947 PyObject
*resultobj
= 0;
35948 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35949 wxPoint
*arg2
= 0 ;
35950 wxColour
*arg3
= 0 ;
35951 int arg4
= (int) wxFLOOD_SURFACE
;
35958 PyObject
* obj0
= 0 ;
35959 PyObject
* obj1
= 0 ;
35960 PyObject
* obj2
= 0 ;
35961 PyObject
* obj3
= 0 ;
35962 char * kwnames
[] = {
35963 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35968 if (!SWIG_IsOK(res1
)) {
35969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35971 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35978 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35981 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35982 if (!SWIG_IsOK(ecode4
)) {
35983 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35985 arg4
= static_cast< int >(val4
);
35988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35989 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35990 wxPyEndAllowThreads(__tstate
);
35991 if (PyErr_Occurred()) SWIG_fail
;
35993 resultobj
= SWIG_Py_Void();
36000 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36001 PyObject
*resultobj
= 0;
36002 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36017 PyObject
* obj0
= 0 ;
36018 PyObject
* obj1
= 0 ;
36019 PyObject
* obj2
= 0 ;
36020 PyObject
* obj3
= 0 ;
36021 PyObject
* obj4
= 0 ;
36022 char * kwnames
[] = {
36023 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36028 if (!SWIG_IsOK(res1
)) {
36029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36031 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36033 if (!SWIG_IsOK(ecode2
)) {
36034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36036 arg2
= static_cast< int >(val2
);
36037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36038 if (!SWIG_IsOK(ecode3
)) {
36039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36041 arg3
= static_cast< int >(val3
);
36042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36043 if (!SWIG_IsOK(ecode4
)) {
36044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36046 arg4
= static_cast< int >(val4
);
36047 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36048 if (!SWIG_IsOK(ecode5
)) {
36049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36051 arg5
= static_cast< int >(val5
);
36053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36054 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36055 wxPyEndAllowThreads(__tstate
);
36056 if (PyErr_Occurred()) SWIG_fail
;
36058 resultobj
= SWIG_Py_Void();
36065 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36066 PyObject
*resultobj
= 0;
36067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36068 wxPoint
*arg2
= 0 ;
36069 wxPoint
*arg3
= 0 ;
36074 PyObject
* obj0
= 0 ;
36075 PyObject
* obj1
= 0 ;
36076 PyObject
* obj2
= 0 ;
36077 char * kwnames
[] = {
36078 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36083 if (!SWIG_IsOK(res1
)) {
36084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36093 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36097 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36098 wxPyEndAllowThreads(__tstate
);
36099 if (PyErr_Occurred()) SWIG_fail
;
36101 resultobj
= SWIG_Py_Void();
36108 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36109 PyObject
*resultobj
= 0;
36110 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36119 PyObject
* obj0
= 0 ;
36120 PyObject
* obj1
= 0 ;
36121 PyObject
* obj2
= 0 ;
36122 char * kwnames
[] = {
36123 (char *) "self",(char *) "x",(char *) "y", NULL
36126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36128 if (!SWIG_IsOK(res1
)) {
36129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36131 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36133 if (!SWIG_IsOK(ecode2
)) {
36134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36136 arg2
= static_cast< int >(val2
);
36137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36138 if (!SWIG_IsOK(ecode3
)) {
36139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36141 arg3
= static_cast< int >(val3
);
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 (arg1
)->CrossHair(arg2
,arg3
);
36145 wxPyEndAllowThreads(__tstate
);
36146 if (PyErr_Occurred()) SWIG_fail
;
36148 resultobj
= SWIG_Py_Void();
36155 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36156 PyObject
*resultobj
= 0;
36157 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36158 wxPoint
*arg2
= 0 ;
36162 PyObject
* obj0
= 0 ;
36163 PyObject
* obj1
= 0 ;
36164 char * kwnames
[] = {
36165 (char *) "self",(char *) "pt", NULL
36168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36170 if (!SWIG_IsOK(res1
)) {
36171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36173 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36180 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36181 wxPyEndAllowThreads(__tstate
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36184 resultobj
= SWIG_Py_Void();
36191 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36192 PyObject
*resultobj
= 0;
36193 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36214 PyObject
* obj0
= 0 ;
36215 PyObject
* obj1
= 0 ;
36216 PyObject
* obj2
= 0 ;
36217 PyObject
* obj3
= 0 ;
36218 PyObject
* obj4
= 0 ;
36219 PyObject
* obj5
= 0 ;
36220 PyObject
* obj6
= 0 ;
36221 char * kwnames
[] = {
36222 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36227 if (!SWIG_IsOK(res1
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36230 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36232 if (!SWIG_IsOK(ecode2
)) {
36233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36235 arg2
= static_cast< int >(val2
);
36236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36237 if (!SWIG_IsOK(ecode3
)) {
36238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36240 arg3
= static_cast< int >(val3
);
36241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36242 if (!SWIG_IsOK(ecode4
)) {
36243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36245 arg4
= static_cast< int >(val4
);
36246 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36247 if (!SWIG_IsOK(ecode5
)) {
36248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36250 arg5
= static_cast< int >(val5
);
36251 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36252 if (!SWIG_IsOK(ecode6
)) {
36253 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36255 arg6
= static_cast< int >(val6
);
36256 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36257 if (!SWIG_IsOK(ecode7
)) {
36258 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36260 arg7
= static_cast< int >(val7
);
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36263 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 resultobj
= SWIG_Py_Void();
36274 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
= 0;
36276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36277 wxPoint
*arg2
= 0 ;
36278 wxPoint
*arg3
= 0 ;
36279 wxPoint
*arg4
= 0 ;
36285 PyObject
* obj0
= 0 ;
36286 PyObject
* obj1
= 0 ;
36287 PyObject
* obj2
= 0 ;
36288 PyObject
* obj3
= 0 ;
36289 char * kwnames
[] = {
36290 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36295 if (!SWIG_IsOK(res1
)) {
36296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36298 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36305 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36309 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36313 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36314 wxPyEndAllowThreads(__tstate
);
36315 if (PyErr_Occurred()) SWIG_fail
;
36317 resultobj
= SWIG_Py_Void();
36324 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36325 PyObject
*resultobj
= 0;
36326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36341 PyObject
* obj0
= 0 ;
36342 PyObject
* obj1
= 0 ;
36343 PyObject
* obj2
= 0 ;
36344 PyObject
* obj3
= 0 ;
36345 PyObject
* obj4
= 0 ;
36346 char * kwnames
[] = {
36347 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36352 if (!SWIG_IsOK(res1
)) {
36353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36355 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36357 if (!SWIG_IsOK(ecode2
)) {
36358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36360 arg2
= static_cast< int >(val2
);
36361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36362 if (!SWIG_IsOK(ecode3
)) {
36363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36365 arg3
= static_cast< int >(val3
);
36366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36367 if (!SWIG_IsOK(ecode4
)) {
36368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36370 arg4
= static_cast< int >(val4
);
36371 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36372 if (!SWIG_IsOK(ecode5
)) {
36373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36375 arg5
= static_cast< int >(val5
);
36377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36378 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36379 wxPyEndAllowThreads(__tstate
);
36380 if (PyErr_Occurred()) SWIG_fail
;
36382 resultobj
= SWIG_Py_Void();
36389 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36390 PyObject
*resultobj
= 0;
36391 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36396 PyObject
* obj0
= 0 ;
36397 PyObject
* obj1
= 0 ;
36398 char * kwnames
[] = {
36399 (char *) "self",(char *) "rect", NULL
36402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36404 if (!SWIG_IsOK(res1
)) {
36405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36407 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36410 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36414 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36415 wxPyEndAllowThreads(__tstate
);
36416 if (PyErr_Occurred()) SWIG_fail
;
36418 resultobj
= SWIG_Py_Void();
36425 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36426 PyObject
*resultobj
= 0;
36427 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36448 PyObject
* obj0
= 0 ;
36449 PyObject
* obj1
= 0 ;
36450 PyObject
* obj2
= 0 ;
36451 PyObject
* obj3
= 0 ;
36452 PyObject
* obj4
= 0 ;
36453 PyObject
* obj5
= 0 ;
36454 PyObject
* obj6
= 0 ;
36455 char * kwnames
[] = {
36456 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36461 if (!SWIG_IsOK(res1
)) {
36462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36464 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36466 if (!SWIG_IsOK(ecode2
)) {
36467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36469 arg2
= static_cast< int >(val2
);
36470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36471 if (!SWIG_IsOK(ecode3
)) {
36472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36474 arg3
= static_cast< int >(val3
);
36475 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36476 if (!SWIG_IsOK(ecode4
)) {
36477 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36479 arg4
= static_cast< int >(val4
);
36480 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36481 if (!SWIG_IsOK(ecode5
)) {
36482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36484 arg5
= static_cast< int >(val5
);
36485 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36486 if (!SWIG_IsOK(ecode6
)) {
36487 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36489 arg6
= static_cast< double >(val6
);
36490 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36491 if (!SWIG_IsOK(ecode7
)) {
36492 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36494 arg7
= static_cast< double >(val7
);
36496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36497 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36498 wxPyEndAllowThreads(__tstate
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36501 resultobj
= SWIG_Py_Void();
36508 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36509 PyObject
*resultobj
= 0;
36510 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36511 wxPoint
*arg2
= 0 ;
36523 PyObject
* obj0
= 0 ;
36524 PyObject
* obj1
= 0 ;
36525 PyObject
* obj2
= 0 ;
36526 PyObject
* obj3
= 0 ;
36527 PyObject
* obj4
= 0 ;
36528 char * kwnames
[] = {
36529 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36534 if (!SWIG_IsOK(res1
)) {
36535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36537 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36540 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36544 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36546 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36547 if (!SWIG_IsOK(ecode4
)) {
36548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36550 arg4
= static_cast< double >(val4
);
36551 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36552 if (!SWIG_IsOK(ecode5
)) {
36553 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36555 arg5
= static_cast< double >(val5
);
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36559 wxPyEndAllowThreads(__tstate
);
36560 if (PyErr_Occurred()) SWIG_fail
;
36562 resultobj
= SWIG_Py_Void();
36569 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36570 PyObject
*resultobj
= 0;
36571 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36580 PyObject
* obj0
= 0 ;
36581 PyObject
* obj1
= 0 ;
36582 PyObject
* obj2
= 0 ;
36583 char * kwnames
[] = {
36584 (char *) "self",(char *) "x",(char *) "y", NULL
36587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36589 if (!SWIG_IsOK(res1
)) {
36590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36592 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36594 if (!SWIG_IsOK(ecode2
)) {
36595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36597 arg2
= static_cast< int >(val2
);
36598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36599 if (!SWIG_IsOK(ecode3
)) {
36600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36602 arg3
= static_cast< int >(val3
);
36604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36605 (arg1
)->DrawPoint(arg2
,arg3
);
36606 wxPyEndAllowThreads(__tstate
);
36607 if (PyErr_Occurred()) SWIG_fail
;
36609 resultobj
= SWIG_Py_Void();
36616 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36617 PyObject
*resultobj
= 0;
36618 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36619 wxPoint
*arg2
= 0 ;
36623 PyObject
* obj0
= 0 ;
36624 PyObject
* obj1
= 0 ;
36625 char * kwnames
[] = {
36626 (char *) "self",(char *) "pt", NULL
36629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36631 if (!SWIG_IsOK(res1
)) {
36632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36634 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36637 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36642 wxPyEndAllowThreads(__tstate
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36645 resultobj
= SWIG_Py_Void();
36652 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36653 PyObject
*resultobj
= 0;
36654 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36669 PyObject
* obj0
= 0 ;
36670 PyObject
* obj1
= 0 ;
36671 PyObject
* obj2
= 0 ;
36672 PyObject
* obj3
= 0 ;
36673 PyObject
* obj4
= 0 ;
36674 char * kwnames
[] = {
36675 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36680 if (!SWIG_IsOK(res1
)) {
36681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36683 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36685 if (!SWIG_IsOK(ecode2
)) {
36686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36688 arg2
= static_cast< int >(val2
);
36689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36690 if (!SWIG_IsOK(ecode3
)) {
36691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36693 arg3
= static_cast< int >(val3
);
36694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36695 if (!SWIG_IsOK(ecode4
)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36698 arg4
= static_cast< int >(val4
);
36699 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36700 if (!SWIG_IsOK(ecode5
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36703 arg5
= static_cast< int >(val5
);
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 resultobj
= SWIG_Py_Void();
36717 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
= 0;
36719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36724 PyObject
* obj0
= 0 ;
36725 PyObject
* obj1
= 0 ;
36726 char * kwnames
[] = {
36727 (char *) "self",(char *) "rect", NULL
36730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36732 if (!SWIG_IsOK(res1
)) {
36733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36735 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36738 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36742 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36743 wxPyEndAllowThreads(__tstate
);
36744 if (PyErr_Occurred()) SWIG_fail
;
36746 resultobj
= SWIG_Py_Void();
36753 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36754 PyObject
*resultobj
= 0;
36755 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36756 wxPoint
*arg2
= 0 ;
36762 PyObject
* obj0
= 0 ;
36763 PyObject
* obj1
= 0 ;
36764 PyObject
* obj2
= 0 ;
36765 char * kwnames
[] = {
36766 (char *) "self",(char *) "pt",(char *) "sz", NULL
36769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36771 if (!SWIG_IsOK(res1
)) {
36772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36774 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36781 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36785 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36786 wxPyEndAllowThreads(__tstate
);
36787 if (PyErr_Occurred()) SWIG_fail
;
36789 resultobj
= SWIG_Py_Void();
36796 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
= 0;
36798 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36816 PyObject
* obj0
= 0 ;
36817 PyObject
* obj1
= 0 ;
36818 PyObject
* obj2
= 0 ;
36819 PyObject
* obj3
= 0 ;
36820 PyObject
* obj4
= 0 ;
36821 PyObject
* obj5
= 0 ;
36822 char * kwnames
[] = {
36823 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36828 if (!SWIG_IsOK(res1
)) {
36829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36833 if (!SWIG_IsOK(ecode2
)) {
36834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36836 arg2
= static_cast< int >(val2
);
36837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36838 if (!SWIG_IsOK(ecode3
)) {
36839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36841 arg3
= static_cast< int >(val3
);
36842 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36843 if (!SWIG_IsOK(ecode4
)) {
36844 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36846 arg4
= static_cast< int >(val4
);
36847 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36848 if (!SWIG_IsOK(ecode5
)) {
36849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36851 arg5
= static_cast< int >(val5
);
36852 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36853 if (!SWIG_IsOK(ecode6
)) {
36854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36856 arg6
= static_cast< double >(val6
);
36858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36859 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36860 wxPyEndAllowThreads(__tstate
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36863 resultobj
= SWIG_Py_Void();
36870 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36871 PyObject
*resultobj
= 0;
36872 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36880 PyObject
* obj0
= 0 ;
36881 PyObject
* obj1
= 0 ;
36882 PyObject
* obj2
= 0 ;
36883 char * kwnames
[] = {
36884 (char *) "self",(char *) "r",(char *) "radius", NULL
36887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36889 if (!SWIG_IsOK(res1
)) {
36890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36897 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36898 if (!SWIG_IsOK(ecode3
)) {
36899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36901 arg3
= static_cast< double >(val3
);
36903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36904 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36905 wxPyEndAllowThreads(__tstate
);
36906 if (PyErr_Occurred()) SWIG_fail
;
36908 resultobj
= SWIG_Py_Void();
36915 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36916 PyObject
*resultobj
= 0;
36917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36918 wxPoint
*arg2
= 0 ;
36927 PyObject
* obj0
= 0 ;
36928 PyObject
* obj1
= 0 ;
36929 PyObject
* obj2
= 0 ;
36930 PyObject
* obj3
= 0 ;
36931 char * kwnames
[] = {
36932 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36937 if (!SWIG_IsOK(res1
)) {
36938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36940 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36947 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36949 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36950 if (!SWIG_IsOK(ecode4
)) {
36951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36953 arg4
= static_cast< double >(val4
);
36955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36956 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36957 wxPyEndAllowThreads(__tstate
);
36958 if (PyErr_Occurred()) SWIG_fail
;
36960 resultobj
= SWIG_Py_Void();
36967 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36968 PyObject
*resultobj
= 0;
36969 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36981 PyObject
* obj0
= 0 ;
36982 PyObject
* obj1
= 0 ;
36983 PyObject
* obj2
= 0 ;
36984 PyObject
* obj3
= 0 ;
36985 char * kwnames
[] = {
36986 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36991 if (!SWIG_IsOK(res1
)) {
36992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36996 if (!SWIG_IsOK(ecode2
)) {
36997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36999 arg2
= static_cast< int >(val2
);
37000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37001 if (!SWIG_IsOK(ecode3
)) {
37002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37004 arg3
= static_cast< int >(val3
);
37005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37006 if (!SWIG_IsOK(ecode4
)) {
37007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37009 arg4
= static_cast< int >(val4
);
37011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37012 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37013 wxPyEndAllowThreads(__tstate
);
37014 if (PyErr_Occurred()) SWIG_fail
;
37016 resultobj
= SWIG_Py_Void();
37023 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37024 PyObject
*resultobj
= 0;
37025 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37026 wxPoint
*arg2
= 0 ;
37033 PyObject
* obj0
= 0 ;
37034 PyObject
* obj1
= 0 ;
37035 PyObject
* obj2
= 0 ;
37036 char * kwnames
[] = {
37037 (char *) "self",(char *) "pt",(char *) "radius", NULL
37040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37042 if (!SWIG_IsOK(res1
)) {
37043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37045 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37048 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37051 if (!SWIG_IsOK(ecode3
)) {
37052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37054 arg3
= static_cast< int >(val3
);
37056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37057 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37058 wxPyEndAllowThreads(__tstate
);
37059 if (PyErr_Occurred()) SWIG_fail
;
37061 resultobj
= SWIG_Py_Void();
37068 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37069 PyObject
*resultobj
= 0;
37070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37085 PyObject
* obj0
= 0 ;
37086 PyObject
* obj1
= 0 ;
37087 PyObject
* obj2
= 0 ;
37088 PyObject
* obj3
= 0 ;
37089 PyObject
* obj4
= 0 ;
37090 char * kwnames
[] = {
37091 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37096 if (!SWIG_IsOK(res1
)) {
37097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37099 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37101 if (!SWIG_IsOK(ecode2
)) {
37102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37104 arg2
= static_cast< int >(val2
);
37105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37106 if (!SWIG_IsOK(ecode3
)) {
37107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37109 arg3
= static_cast< int >(val3
);
37110 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37111 if (!SWIG_IsOK(ecode4
)) {
37112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37114 arg4
= static_cast< int >(val4
);
37115 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37116 if (!SWIG_IsOK(ecode5
)) {
37117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37119 arg5
= static_cast< int >(val5
);
37121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37122 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37123 wxPyEndAllowThreads(__tstate
);
37124 if (PyErr_Occurred()) SWIG_fail
;
37126 resultobj
= SWIG_Py_Void();
37133 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37134 PyObject
*resultobj
= 0;
37135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37140 PyObject
* obj0
= 0 ;
37141 PyObject
* obj1
= 0 ;
37142 char * kwnames
[] = {
37143 (char *) "self",(char *) "rect", NULL
37146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37148 if (!SWIG_IsOK(res1
)) {
37149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37151 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37154 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37158 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37159 wxPyEndAllowThreads(__tstate
);
37160 if (PyErr_Occurred()) SWIG_fail
;
37162 resultobj
= SWIG_Py_Void();
37169 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37170 PyObject
*resultobj
= 0;
37171 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37172 wxPoint
*arg2
= 0 ;
37178 PyObject
* obj0
= 0 ;
37179 PyObject
* obj1
= 0 ;
37180 PyObject
* obj2
= 0 ;
37181 char * kwnames
[] = {
37182 (char *) "self",(char *) "pt",(char *) "sz", NULL
37185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37187 if (!SWIG_IsOK(res1
)) {
37188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37190 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37197 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37201 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37202 wxPyEndAllowThreads(__tstate
);
37203 if (PyErr_Occurred()) SWIG_fail
;
37205 resultobj
= SWIG_Py_Void();
37212 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37213 PyObject
*resultobj
= 0;
37214 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37226 PyObject
* obj0
= 0 ;
37227 PyObject
* obj1
= 0 ;
37228 PyObject
* obj2
= 0 ;
37229 PyObject
* obj3
= 0 ;
37230 char * kwnames
[] = {
37231 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37236 if (!SWIG_IsOK(res1
)) {
37237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37241 if (!SWIG_IsOK(res2
)) {
37242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37247 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37249 if (!SWIG_IsOK(ecode3
)) {
37250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37252 arg3
= static_cast< int >(val3
);
37253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37254 if (!SWIG_IsOK(ecode4
)) {
37255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37257 arg4
= static_cast< int >(val4
);
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37261 wxPyEndAllowThreads(__tstate
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37264 resultobj
= SWIG_Py_Void();
37271 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37272 PyObject
*resultobj
= 0;
37273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37275 wxPoint
*arg3
= 0 ;
37281 PyObject
* obj0
= 0 ;
37282 PyObject
* obj1
= 0 ;
37283 PyObject
* obj2
= 0 ;
37284 char * kwnames
[] = {
37285 (char *) "self",(char *) "icon",(char *) "pt", NULL
37288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37290 if (!SWIG_IsOK(res1
)) {
37291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37295 if (!SWIG_IsOK(res2
)) {
37296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37301 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37304 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37308 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37309 wxPyEndAllowThreads(__tstate
);
37310 if (PyErr_Occurred()) SWIG_fail
;
37312 resultobj
= SWIG_Py_Void();
37319 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37320 PyObject
*resultobj
= 0;
37321 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37322 wxBitmap
*arg2
= 0 ;
37325 bool arg5
= (bool) false ;
37336 PyObject
* obj0
= 0 ;
37337 PyObject
* obj1
= 0 ;
37338 PyObject
* obj2
= 0 ;
37339 PyObject
* obj3
= 0 ;
37340 PyObject
* obj4
= 0 ;
37341 char * kwnames
[] = {
37342 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37347 if (!SWIG_IsOK(res1
)) {
37348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37350 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37352 if (!SWIG_IsOK(res2
)) {
37353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37358 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37360 if (!SWIG_IsOK(ecode3
)) {
37361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37363 arg3
= static_cast< int >(val3
);
37364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37365 if (!SWIG_IsOK(ecode4
)) {
37366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37368 arg4
= static_cast< int >(val4
);
37370 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37371 if (!SWIG_IsOK(ecode5
)) {
37372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37374 arg5
= static_cast< bool >(val5
);
37377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37378 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37379 wxPyEndAllowThreads(__tstate
);
37380 if (PyErr_Occurred()) SWIG_fail
;
37382 resultobj
= SWIG_Py_Void();
37389 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37390 PyObject
*resultobj
= 0;
37391 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37392 wxBitmap
*arg2
= 0 ;
37393 wxPoint
*arg3
= 0 ;
37394 bool arg4
= (bool) false ;
37402 PyObject
* obj0
= 0 ;
37403 PyObject
* obj1
= 0 ;
37404 PyObject
* obj2
= 0 ;
37405 PyObject
* obj3
= 0 ;
37406 char * kwnames
[] = {
37407 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37412 if (!SWIG_IsOK(res1
)) {
37413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37415 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37417 if (!SWIG_IsOK(res2
)) {
37418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37423 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37426 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37429 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37430 if (!SWIG_IsOK(ecode4
)) {
37431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37433 arg4
= static_cast< bool >(val4
);
37436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37437 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37438 wxPyEndAllowThreads(__tstate
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37441 resultobj
= SWIG_Py_Void();
37448 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37449 PyObject
*resultobj
= 0;
37450 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37451 wxString
*arg2
= 0 ;
37456 bool temp2
= false ;
37461 PyObject
* obj0
= 0 ;
37462 PyObject
* obj1
= 0 ;
37463 PyObject
* obj2
= 0 ;
37464 PyObject
* obj3
= 0 ;
37465 char * kwnames
[] = {
37466 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37471 if (!SWIG_IsOK(res1
)) {
37472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37474 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37476 arg2
= wxString_in_helper(obj1
);
37477 if (arg2
== NULL
) SWIG_fail
;
37480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37481 if (!SWIG_IsOK(ecode3
)) {
37482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37484 arg3
= static_cast< int >(val3
);
37485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37486 if (!SWIG_IsOK(ecode4
)) {
37487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37489 arg4
= static_cast< int >(val4
);
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37496 resultobj
= SWIG_Py_Void();
37511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37512 PyObject
*resultobj
= 0;
37513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37514 wxString
*arg2
= 0 ;
37515 wxPoint
*arg3
= 0 ;
37518 bool temp2
= false ;
37520 PyObject
* obj0
= 0 ;
37521 PyObject
* obj1
= 0 ;
37522 PyObject
* obj2
= 0 ;
37523 char * kwnames
[] = {
37524 (char *) "self",(char *) "text",(char *) "pt", NULL
37527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37529 if (!SWIG_IsOK(res1
)) {
37530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37534 arg2
= wxString_in_helper(obj1
);
37535 if (arg2
== NULL
) SWIG_fail
;
37540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37544 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37545 wxPyEndAllowThreads(__tstate
);
37546 if (PyErr_Occurred()) SWIG_fail
;
37548 resultobj
= SWIG_Py_Void();
37563 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37564 PyObject
*resultobj
= 0;
37565 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37566 wxString
*arg2
= 0 ;
37572 bool temp2
= false ;
37579 PyObject
* obj0
= 0 ;
37580 PyObject
* obj1
= 0 ;
37581 PyObject
* obj2
= 0 ;
37582 PyObject
* obj3
= 0 ;
37583 PyObject
* obj4
= 0 ;
37584 char * kwnames
[] = {
37585 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37590 if (!SWIG_IsOK(res1
)) {
37591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37593 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37595 arg2
= wxString_in_helper(obj1
);
37596 if (arg2
== NULL
) SWIG_fail
;
37599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37600 if (!SWIG_IsOK(ecode3
)) {
37601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37603 arg3
= static_cast< int >(val3
);
37604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37605 if (!SWIG_IsOK(ecode4
)) {
37606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37608 arg4
= static_cast< int >(val4
);
37609 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37610 if (!SWIG_IsOK(ecode5
)) {
37611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37613 arg5
= static_cast< double >(val5
);
37615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37616 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37617 wxPyEndAllowThreads(__tstate
);
37618 if (PyErr_Occurred()) SWIG_fail
;
37620 resultobj
= SWIG_Py_Void();
37635 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37636 PyObject
*resultobj
= 0;
37637 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37638 wxString
*arg2
= 0 ;
37639 wxPoint
*arg3
= 0 ;
37643 bool temp2
= false ;
37647 PyObject
* obj0
= 0 ;
37648 PyObject
* obj1
= 0 ;
37649 PyObject
* obj2
= 0 ;
37650 PyObject
* obj3
= 0 ;
37651 char * kwnames
[] = {
37652 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37657 if (!SWIG_IsOK(res1
)) {
37658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37660 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37662 arg2
= wxString_in_helper(obj1
);
37663 if (arg2
== NULL
) SWIG_fail
;
37668 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37670 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37671 if (!SWIG_IsOK(ecode4
)) {
37672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37674 arg4
= static_cast< double >(val4
);
37676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37677 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37678 wxPyEndAllowThreads(__tstate
);
37679 if (PyErr_Occurred()) SWIG_fail
;
37681 resultobj
= SWIG_Py_Void();
37696 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37697 PyObject
*resultobj
= 0;
37698 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37700 wxPoint
*arg3
= (wxPoint
*) 0 ;
37701 int arg4
= (int) 0 ;
37702 int arg5
= (int) 0 ;
37709 PyObject
* obj0
= 0 ;
37710 PyObject
* obj1
= 0 ;
37711 PyObject
* obj2
= 0 ;
37712 PyObject
* obj3
= 0 ;
37713 char * kwnames
[] = {
37714 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37719 if (!SWIG_IsOK(res1
)) {
37720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37722 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37724 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37725 if (arg3
== NULL
) SWIG_fail
;
37728 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37729 if (!SWIG_IsOK(ecode4
)) {
37730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37732 arg4
= static_cast< int >(val4
);
37735 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37736 if (!SWIG_IsOK(ecode5
)) {
37737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37739 arg5
= static_cast< int >(val5
);
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37744 wxPyEndAllowThreads(__tstate
);
37745 if (PyErr_Occurred()) SWIG_fail
;
37747 resultobj
= SWIG_Py_Void();
37749 if (arg3
) delete [] arg3
;
37754 if (arg3
) delete [] arg3
;
37760 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37761 PyObject
*resultobj
= 0;
37762 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37764 wxPoint
*arg3
= (wxPoint
*) 0 ;
37765 int arg4
= (int) 0 ;
37766 int arg5
= (int) 0 ;
37767 int arg6
= (int) wxODDEVEN_RULE
;
37776 PyObject
* obj0
= 0 ;
37777 PyObject
* obj1
= 0 ;
37778 PyObject
* obj2
= 0 ;
37779 PyObject
* obj3
= 0 ;
37780 PyObject
* obj4
= 0 ;
37781 char * kwnames
[] = {
37782 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37787 if (!SWIG_IsOK(res1
)) {
37788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37790 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37792 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37793 if (arg3
== NULL
) SWIG_fail
;
37796 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37797 if (!SWIG_IsOK(ecode4
)) {
37798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37800 arg4
= static_cast< int >(val4
);
37803 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37804 if (!SWIG_IsOK(ecode5
)) {
37805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37807 arg5
= static_cast< int >(val5
);
37810 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37811 if (!SWIG_IsOK(ecode6
)) {
37812 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37814 arg6
= static_cast< int >(val6
);
37817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37818 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37819 wxPyEndAllowThreads(__tstate
);
37820 if (PyErr_Occurred()) SWIG_fail
;
37822 resultobj
= SWIG_Py_Void();
37824 if (arg3
) delete [] arg3
;
37829 if (arg3
) delete [] arg3
;
37835 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37836 PyObject
*resultobj
= 0;
37837 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37838 wxString
*arg2
= 0 ;
37840 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37841 int arg5
= (int) -1 ;
37844 bool temp2
= false ;
37850 PyObject
* obj0
= 0 ;
37851 PyObject
* obj1
= 0 ;
37852 PyObject
* obj2
= 0 ;
37853 PyObject
* obj3
= 0 ;
37854 PyObject
* obj4
= 0 ;
37855 char * kwnames
[] = {
37856 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37861 if (!SWIG_IsOK(res1
)) {
37862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37864 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37866 arg2
= wxString_in_helper(obj1
);
37867 if (arg2
== NULL
) SWIG_fail
;
37872 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37876 if (!SWIG_IsOK(ecode4
)) {
37877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37879 arg4
= static_cast< int >(val4
);
37882 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37883 if (!SWIG_IsOK(ecode5
)) {
37884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37886 arg5
= static_cast< int >(val5
);
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37890 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37891 wxPyEndAllowThreads(__tstate
);
37892 if (PyErr_Occurred()) SWIG_fail
;
37894 resultobj
= SWIG_Py_Void();
37909 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37910 PyObject
*resultobj
= 0;
37911 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37912 wxString
*arg2
= 0 ;
37913 wxBitmap
*arg3
= 0 ;
37915 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37916 int arg6
= (int) -1 ;
37919 bool temp2
= false ;
37927 PyObject
* obj0
= 0 ;
37928 PyObject
* obj1
= 0 ;
37929 PyObject
* obj2
= 0 ;
37930 PyObject
* obj3
= 0 ;
37931 PyObject
* obj4
= 0 ;
37932 PyObject
* obj5
= 0 ;
37933 char * kwnames
[] = {
37934 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37939 if (!SWIG_IsOK(res1
)) {
37940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37942 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37944 arg2
= wxString_in_helper(obj1
);
37945 if (arg2
== NULL
) SWIG_fail
;
37948 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37949 if (!SWIG_IsOK(res3
)) {
37950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37955 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37958 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37961 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37962 if (!SWIG_IsOK(ecode5
)) {
37963 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37965 arg5
= static_cast< int >(val5
);
37968 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37969 if (!SWIG_IsOK(ecode6
)) {
37970 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37972 arg6
= static_cast< int >(val6
);
37975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37976 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37980 resultobj
= SWIG_Py_Void();
37995 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37996 PyObject
*resultobj
= 0;
37997 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37999 wxPoint
*arg3
= (wxPoint
*) 0 ;
38002 PyObject
* obj0
= 0 ;
38003 PyObject
* obj1
= 0 ;
38004 char * kwnames
[] = {
38005 (char *) "self",(char *) "points", NULL
38008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38010 if (!SWIG_IsOK(res1
)) {
38011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38013 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38015 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38016 if (arg3
== NULL
) SWIG_fail
;
38019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38020 (arg1
)->DrawSpline(arg2
,arg3
);
38021 wxPyEndAllowThreads(__tstate
);
38022 if (PyErr_Occurred()) SWIG_fail
;
38024 resultobj
= SWIG_Py_Void();
38026 if (arg3
) delete [] arg3
;
38031 if (arg3
) delete [] arg3
;
38037 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38038 PyObject
*resultobj
= 0;
38039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38042 PyObject
*swig_obj
[1] ;
38044 if (!args
) SWIG_fail
;
38045 swig_obj
[0] = args
;
38046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38047 if (!SWIG_IsOK(res1
)) {
38048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38050 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= SWIG_Py_Void();
38064 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38065 PyObject
*resultobj
= 0;
38066 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38072 PyObject
* obj0
= 0 ;
38073 PyObject
* obj1
= 0 ;
38074 char * kwnames
[] = {
38075 (char *) "self",(char *) "font", NULL
38078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38080 if (!SWIG_IsOK(res1
)) {
38081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38085 if (!SWIG_IsOK(res2
)) {
38086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38091 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38094 (arg1
)->SetFont((wxFont
const &)*arg2
);
38095 wxPyEndAllowThreads(__tstate
);
38096 if (PyErr_Occurred()) SWIG_fail
;
38098 resultobj
= SWIG_Py_Void();
38105 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38106 PyObject
*resultobj
= 0;
38107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38113 PyObject
* obj0
= 0 ;
38114 PyObject
* obj1
= 0 ;
38115 char * kwnames
[] = {
38116 (char *) "self",(char *) "pen", NULL
38119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38121 if (!SWIG_IsOK(res1
)) {
38122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38126 if (!SWIG_IsOK(res2
)) {
38127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38132 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38135 (arg1
)->SetPen((wxPen
const &)*arg2
);
38136 wxPyEndAllowThreads(__tstate
);
38137 if (PyErr_Occurred()) SWIG_fail
;
38139 resultobj
= SWIG_Py_Void();
38146 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38147 PyObject
*resultobj
= 0;
38148 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38149 wxBrush
*arg2
= 0 ;
38154 PyObject
* obj0
= 0 ;
38155 PyObject
* obj1
= 0 ;
38156 char * kwnames
[] = {
38157 (char *) "self",(char *) "brush", NULL
38160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38162 if (!SWIG_IsOK(res1
)) {
38163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38165 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38167 if (!SWIG_IsOK(res2
)) {
38168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38173 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38176 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38177 wxPyEndAllowThreads(__tstate
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38180 resultobj
= SWIG_Py_Void();
38187 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
= 0;
38189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38190 wxBrush
*arg2
= 0 ;
38195 PyObject
* obj0
= 0 ;
38196 PyObject
* obj1
= 0 ;
38197 char * kwnames
[] = {
38198 (char *) "self",(char *) "brush", NULL
38201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38203 if (!SWIG_IsOK(res1
)) {
38204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38206 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38208 if (!SWIG_IsOK(res2
)) {
38209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38214 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38217 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38218 wxPyEndAllowThreads(__tstate
);
38219 if (PyErr_Occurred()) SWIG_fail
;
38221 resultobj
= SWIG_Py_Void();
38228 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38229 PyObject
*resultobj
= 0;
38230 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38236 PyObject
* obj0
= 0 ;
38237 PyObject
* obj1
= 0 ;
38238 char * kwnames
[] = {
38239 (char *) "self",(char *) "mode", NULL
38242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38244 if (!SWIG_IsOK(res1
)) {
38245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38249 if (!SWIG_IsOK(ecode2
)) {
38250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38252 arg2
= static_cast< int >(val2
);
38254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38255 (arg1
)->SetBackgroundMode(arg2
);
38256 wxPyEndAllowThreads(__tstate
);
38257 if (PyErr_Occurred()) SWIG_fail
;
38259 resultobj
= SWIG_Py_Void();
38266 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38267 PyObject
*resultobj
= 0;
38268 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38269 wxPalette
*arg2
= 0 ;
38274 PyObject
* obj0
= 0 ;
38275 PyObject
* obj1
= 0 ;
38276 char * kwnames
[] = {
38277 (char *) "self",(char *) "palette", NULL
38280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38282 if (!SWIG_IsOK(res1
)) {
38283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38285 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38287 if (!SWIG_IsOK(res2
)) {
38288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38293 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38296 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38297 wxPyEndAllowThreads(__tstate
);
38298 if (PyErr_Occurred()) SWIG_fail
;
38300 resultobj
= SWIG_Py_Void();
38307 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38308 PyObject
*resultobj
= 0;
38309 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38310 wxColour
*arg2
= 0 ;
38314 PyObject
* obj0
= 0 ;
38315 PyObject
* obj1
= 0 ;
38316 char * kwnames
[] = {
38317 (char *) "self",(char *) "colour", NULL
38320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38322 if (!SWIG_IsOK(res1
)) {
38323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38332 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38333 wxPyEndAllowThreads(__tstate
);
38334 if (PyErr_Occurred()) SWIG_fail
;
38336 resultobj
= SWIG_Py_Void();
38343 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38344 PyObject
*resultobj
= 0;
38345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38346 wxColour
*arg2
= 0 ;
38350 PyObject
* obj0
= 0 ;
38351 PyObject
* obj1
= 0 ;
38352 char * kwnames
[] = {
38353 (char *) "self",(char *) "colour", NULL
38356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38358 if (!SWIG_IsOK(res1
)) {
38359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38361 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38368 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38369 wxPyEndAllowThreads(__tstate
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38372 resultobj
= SWIG_Py_Void();
38379 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38380 PyObject
*resultobj
= 0;
38381 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38387 PyObject
* obj0
= 0 ;
38388 PyObject
* obj1
= 0 ;
38389 char * kwnames
[] = {
38390 (char *) "self",(char *) "function", NULL
38393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38395 if (!SWIG_IsOK(res1
)) {
38396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38398 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38400 if (!SWIG_IsOK(ecode2
)) {
38401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38403 arg2
= static_cast< int >(val2
);
38405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38406 (arg1
)->SetLogicalFunction(arg2
);
38407 wxPyEndAllowThreads(__tstate
);
38408 if (PyErr_Occurred()) SWIG_fail
;
38410 resultobj
= SWIG_Py_Void();
38417 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38420 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38421 return SWIG_Py_Void();
38424 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38425 return SWIG_Python_InitShadowInstance(args
);
38428 static PyMethodDef SwigMethods
[] = {
38429 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38430 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38431 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38432 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38433 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38434 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38435 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38436 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38437 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38438 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38439 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38440 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38441 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38442 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38443 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38444 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38445 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38446 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38448 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38452 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38453 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38454 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38456 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38459 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38460 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38461 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38462 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38463 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38464 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38465 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38466 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38467 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38468 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38469 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38470 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38471 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38474 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38475 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38477 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38479 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38482 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38483 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38486 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38490 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38491 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38492 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38493 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38494 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38495 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38496 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38498 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38504 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38505 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38506 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38507 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38508 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38509 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38510 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38511 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38512 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38513 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38516 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38526 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38527 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38531 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38532 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38533 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38534 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38535 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38536 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38537 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38538 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38539 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38540 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38541 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38542 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38543 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38544 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38545 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38546 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38547 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38548 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38550 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38551 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38554 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38555 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38556 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38557 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38558 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38559 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38560 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38561 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38562 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38563 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38564 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38565 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38567 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38568 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38570 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38574 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38575 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38576 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38578 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38579 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38580 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38582 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38583 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38585 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38588 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38589 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38590 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38591 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38593 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38594 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38596 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38597 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38599 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38600 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38602 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38604 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38605 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38606 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38607 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38610 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38614 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38615 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38617 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38620 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38621 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38622 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38627 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38628 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38634 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38637 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38638 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38649 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38652 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38653 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38655 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38656 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38657 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38658 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38659 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38660 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38661 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38662 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38663 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38664 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38665 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38666 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38667 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38668 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38669 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38670 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38671 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38673 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38674 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38675 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38676 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38677 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38678 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38679 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38688 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38689 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38691 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38692 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38693 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38694 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38695 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38696 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38697 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38698 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38699 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38701 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38702 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38703 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38706 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38707 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38708 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38711 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38717 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38722 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38723 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38725 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38731 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38734 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38735 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38736 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38737 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38738 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38739 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38740 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38741 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38742 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38743 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38744 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38745 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38746 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38758 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38759 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38760 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38762 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38763 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38765 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38766 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38767 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38768 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38772 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38773 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38775 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38776 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38777 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38778 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38779 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38780 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38781 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38782 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38783 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38785 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38788 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38789 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38790 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38791 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38792 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38793 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38794 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38795 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38805 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38806 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38807 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38809 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38813 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38814 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38815 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38816 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38817 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38818 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38824 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38825 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38826 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38876 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38878 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38879 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38880 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38887 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38888 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38889 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38890 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38891 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38896 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38897 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38898 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38899 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38908 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38909 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38910 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38911 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38912 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38913 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38914 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38915 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38916 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38917 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38918 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38919 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38922 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38924 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38926 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38928 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38929 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38932 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38933 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38937 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38939 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38942 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38943 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38944 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38945 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38946 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38947 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38948 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38956 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38958 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38959 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38960 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38962 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38963 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38964 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38966 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38967 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38968 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38969 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38970 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38971 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38972 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38973 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38976 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38977 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38978 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38980 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38981 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38983 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38984 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38986 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38987 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38992 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38993 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38994 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38995 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38996 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38998 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38999 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39000 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39002 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39003 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39005 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39006 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39009 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39010 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39012 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39015 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39016 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39017 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39019 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39020 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39022 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39023 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39025 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39026 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39028 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39029 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39030 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39031 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39032 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39033 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39034 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39035 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39036 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39037 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39038 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39039 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39040 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39041 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39042 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39043 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39044 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39045 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39046 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39049 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39050 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39052 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39058 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39059 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39060 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39061 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39062 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39063 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39064 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39065 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39067 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39068 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39069 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39076 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39079 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39080 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39081 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39082 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39083 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39084 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39085 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39088 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39095 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39096 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39099 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39100 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39101 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39108 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39109 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39110 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39111 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39129 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39130 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39131 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39132 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39133 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39134 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39137 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39144 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39145 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39146 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39147 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39149 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39150 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39151 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39152 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39153 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39154 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39155 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39156 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39157 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39158 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39159 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39160 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39162 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39170 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39172 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39174 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39175 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39176 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39177 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39178 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39179 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39185 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39186 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39187 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39188 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39189 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39190 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39194 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39198 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39202 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39203 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39204 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39209 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39210 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39211 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39212 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39213 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39214 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39215 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39216 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39217 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39218 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39219 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39220 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39229 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39230 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39232 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39233 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39234 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39235 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39236 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39237 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39238 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39239 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39240 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39241 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39242 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39243 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39244 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39245 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39246 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39247 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39248 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39249 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39250 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39251 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39252 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39253 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39254 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39255 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39257 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39259 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39260 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39261 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39262 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39275 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39276 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39277 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39279 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39280 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39281 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39282 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39283 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39284 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39285 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39286 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39339 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39349 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39350 { NULL
, NULL
, 0, NULL
}
39354 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39356 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39357 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39359 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39360 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39362 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39363 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39365 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39366 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39368 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39369 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39371 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39372 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39374 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39375 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39377 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39378 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39380 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39381 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39383 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39384 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39386 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39387 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39389 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39390 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39392 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39393 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39395 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39396 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39398 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39399 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39401 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39402 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39404 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39405 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39407 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39408 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39410 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39411 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39413 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39414 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39416 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39417 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39419 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39420 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39422 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39423 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39425 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39426 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39428 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39429 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39431 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39432 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39434 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39435 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39437 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39438 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39440 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39441 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39443 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39444 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39446 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39447 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39449 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39450 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39452 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39453 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39455 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39456 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39458 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39459 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39461 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39462 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39464 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39465 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39467 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39468 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39470 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39471 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39473 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39474 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39476 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39477 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39479 static void *_p_wxPenTo_p_wxObject(void *x
) {
39480 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39482 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39483 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39485 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39486 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39488 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39489 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39491 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39494 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39495 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39497 static void *_p_wxIconTo_p_wxObject(void *x
) {
39498 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39500 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39501 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39503 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39504 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39506 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39507 return (void *)((wxObject
*) ((wxSizer
*) x
));
39509 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39510 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39512 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39515 static void *_p_wxEventTo_p_wxObject(void *x
) {
39516 return (void *)((wxObject
*) ((wxEvent
*) x
));
39518 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39519 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39521 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39522 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39524 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39525 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39527 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39528 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39530 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39533 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39534 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39536 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39537 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39539 static void *_p_wxDCTo_p_wxObject(void *x
) {
39540 return (void *)((wxObject
*) ((wxDC
*) x
));
39542 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39543 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39545 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39546 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39548 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39549 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39551 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39552 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39554 static void *_p_wxControlTo_p_wxObject(void *x
) {
39555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39557 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39558 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39560 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39561 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39563 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39564 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39566 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39567 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39569 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39570 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39572 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39573 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39575 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39576 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39578 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39579 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39581 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39582 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39584 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39585 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39587 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39588 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39590 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39591 return (void *)((wxObject
*) ((wxEffects
*) x
));
39593 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39594 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39596 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39599 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39600 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39602 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39603 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39605 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39606 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39608 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39609 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39611 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39614 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39615 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39617 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39620 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39621 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39623 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39624 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39626 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39627 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39629 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39630 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39632 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39633 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39635 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39636 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39638 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39641 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39642 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39644 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39645 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39647 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39650 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39653 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39654 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39656 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39657 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39659 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39660 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39662 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39665 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39668 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39669 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39671 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39674 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39677 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39680 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39681 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39683 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39684 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39686 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39687 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39689 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39690 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39692 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39693 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39695 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39696 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39698 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39699 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39701 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39702 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39704 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39705 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39707 static void *_p_wxImageTo_p_wxObject(void *x
) {
39708 return (void *)((wxObject
*) ((wxImage
*) x
));
39710 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39711 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39713 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39714 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39716 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39717 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39719 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39720 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39722 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39723 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39725 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39726 return (void *)((wxObject
*) ((wxImageList
*) x
));
39728 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39729 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39731 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39732 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39734 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39735 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39737 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39738 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39740 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39741 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39743 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39746 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39747 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39749 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39750 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39752 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39753 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39755 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39756 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39758 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39761 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39762 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39764 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39765 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39767 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39768 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39770 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39771 return (void *)((wxObject
*) ((wxMask
*) x
));
39773 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39774 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39776 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39779 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39780 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39782 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39783 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39785 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39786 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39788 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39789 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39791 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39792 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39794 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39797 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39798 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39800 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39801 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39803 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39804 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39806 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39809 static void *_p_wxFontTo_p_wxObject(void *x
) {
39810 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39812 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39813 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39815 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39816 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39818 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39821 static void *_p_wxColourTo_p_wxObject(void *x
) {
39822 return (void *)((wxObject
*) ((wxColour
*) x
));
39824 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39827 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39828 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39830 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39831 return (void *)((wxWindow
*) ((wxControl
*) x
));
39833 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39834 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39836 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39837 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39839 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39840 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39842 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39843 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39845 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39846 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39847 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39848 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};
39849 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39850 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39851 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39852 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39853 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39854 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39855 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39856 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39857 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39858 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39859 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39860 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39861 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39862 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39863 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39864 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39865 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39866 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39867 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39868 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39869 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39870 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39871 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39872 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39873 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39874 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39875 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39876 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39877 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39878 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39879 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39880 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39881 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39882 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39883 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39884 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39885 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39886 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39887 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39888 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39889 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39890 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39891 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39892 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39893 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39894 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39895 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39896 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39897 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39898 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39899 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39900 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39901 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39902 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39903 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39904 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39905 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39908 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39909 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39910 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39911 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39912 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39913 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39914 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39915 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39916 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39917 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39918 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39919 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39920 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39921 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39922 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39923 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39924 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39925 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39926 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39927 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39928 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39929 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39930 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39931 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39932 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39933 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39934 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39935 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39936 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39937 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39938 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39939 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39940 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39941 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39942 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39943 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39944 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39945 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39946 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39947 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39948 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39949 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39950 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39951 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39952 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39953 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39954 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39955 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39956 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39957 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39958 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39959 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39960 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39961 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39962 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39963 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39964 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39965 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39966 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39967 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39968 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39969 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39970 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39971 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39972 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39986 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39987 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39988 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39989 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39990 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39991 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39992 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39993 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39994 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39995 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39996 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39997 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39998 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39999 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40000 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40001 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40002 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40003 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40004 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40005 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40006 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40007 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40008 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40009 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40010 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40011 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40012 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40013 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40014 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40016 static swig_type_info
*swig_type_initial
[] = {
40020 &_swigt__p_form_ops_t
,
40022 &_swigt__p_unsigned_char
,
40023 &_swigt__p_unsigned_int
,
40024 &_swigt__p_unsigned_long
,
40026 &_swigt__p_wxANIHandler
,
40027 &_swigt__p_wxAcceleratorTable
,
40028 &_swigt__p_wxActivateEvent
,
40029 &_swigt__p_wxAlphaPixelData
,
40030 &_swigt__p_wxAlphaPixelData_Accessor
,
40031 &_swigt__p_wxAutoBufferedPaintDC
,
40032 &_swigt__p_wxBMPHandler
,
40033 &_swigt__p_wxBitmap
,
40034 &_swigt__p_wxBoxSizer
,
40035 &_swigt__p_wxBrush
,
40036 &_swigt__p_wxBrushList
,
40037 &_swigt__p_wxBufferedDC
,
40038 &_swigt__p_wxBufferedPaintDC
,
40039 &_swigt__p_wxCURHandler
,
40041 &_swigt__p_wxChildFocusEvent
,
40042 &_swigt__p_wxClientDC
,
40043 &_swigt__p_wxClipboardTextEvent
,
40044 &_swigt__p_wxCloseEvent
,
40045 &_swigt__p_wxColor
,
40046 &_swigt__p_wxColour
,
40047 &_swigt__p_wxColourDatabase
,
40048 &_swigt__p_wxCommandEvent
,
40049 &_swigt__p_wxContextMenuEvent
,
40050 &_swigt__p_wxControl
,
40051 &_swigt__p_wxControlWithItems
,
40052 &_swigt__p_wxCursor
,
40054 &_swigt__p_wxDCBrushChanger
,
40055 &_swigt__p_wxDCClipper
,
40056 &_swigt__p_wxDCOverlay
,
40057 &_swigt__p_wxDCPenChanger
,
40058 &_swigt__p_wxDCTextColourChanger
,
40060 &_swigt__p_wxDateEvent
,
40061 &_swigt__p_wxDisplayChangedEvent
,
40062 &_swigt__p_wxDropFilesEvent
,
40063 &_swigt__p_wxDuplexMode
,
40064 &_swigt__p_wxEffects
,
40065 &_swigt__p_wxEncodingConverter
,
40066 &_swigt__p_wxEraseEvent
,
40067 &_swigt__p_wxEvent
,
40068 &_swigt__p_wxEvtHandler
,
40069 &_swigt__p_wxFSFile
,
40070 &_swigt__p_wxFileSystem
,
40071 &_swigt__p_wxFlexGridSizer
,
40072 &_swigt__p_wxFocusEvent
,
40074 &_swigt__p_wxFontList
,
40075 &_swigt__p_wxFontMapper
,
40076 &_swigt__p_wxGBSizerItem
,
40078 &_swigt__p_wxGDIObjListBase
,
40079 &_swigt__p_wxGDIObject
,
40080 &_swigt__p_wxGIFHandler
,
40081 &_swigt__p_wxGraphicsBrush
,
40082 &_swigt__p_wxGraphicsContext
,
40083 &_swigt__p_wxGraphicsFont
,
40084 &_swigt__p_wxGraphicsMatrix
,
40085 &_swigt__p_wxGraphicsObject
,
40086 &_swigt__p_wxGraphicsPath
,
40087 &_swigt__p_wxGraphicsPen
,
40088 &_swigt__p_wxGraphicsRenderer
,
40089 &_swigt__p_wxGridBagSizer
,
40090 &_swigt__p_wxGridSizer
,
40091 &_swigt__p_wxHeaderButtonParams
,
40092 &_swigt__p_wxICOHandler
,
40094 &_swigt__p_wxIconBundle
,
40095 &_swigt__p_wxIconLocation
,
40096 &_swigt__p_wxIconizeEvent
,
40097 &_swigt__p_wxIdleEvent
,
40098 &_swigt__p_wxImage
,
40099 &_swigt__p_wxImageHandler
,
40100 &_swigt__p_wxImageList
,
40101 &_swigt__p_wxIndividualLayoutConstraint
,
40102 &_swigt__p_wxInitDialogEvent
,
40103 &_swigt__p_wxJPEGHandler
,
40104 &_swigt__p_wxKeyEvent
,
40105 &_swigt__p_wxLanguageInfo
,
40106 &_swigt__p_wxLayoutConstraints
,
40107 &_swigt__p_wxLocale
,
40109 &_swigt__p_wxMaximizeEvent
,
40110 &_swigt__p_wxMemoryDC
,
40112 &_swigt__p_wxMenuBar
,
40113 &_swigt__p_wxMenuEvent
,
40114 &_swigt__p_wxMenuItem
,
40115 &_swigt__p_wxMetaFile
,
40116 &_swigt__p_wxMetaFileDC
,
40117 &_swigt__p_wxMirrorDC
,
40118 &_swigt__p_wxMouseCaptureChangedEvent
,
40119 &_swigt__p_wxMouseCaptureLostEvent
,
40120 &_swigt__p_wxMouseEvent
,
40121 &_swigt__p_wxMoveEvent
,
40122 &_swigt__p_wxNativeEncodingInfo
,
40123 &_swigt__p_wxNativeFontInfo
,
40124 &_swigt__p_wxNativePixelData
,
40125 &_swigt__p_wxNativePixelData_Accessor
,
40126 &_swigt__p_wxNavigationKeyEvent
,
40127 &_swigt__p_wxNcPaintEvent
,
40128 &_swigt__p_wxNotifyEvent
,
40129 &_swigt__p_wxObject
,
40130 &_swigt__p_wxOverlay
,
40131 &_swigt__p_wxPCXHandler
,
40132 &_swigt__p_wxPNGHandler
,
40133 &_swigt__p_wxPNMHandler
,
40134 &_swigt__p_wxPaintDC
,
40135 &_swigt__p_wxPaintEvent
,
40136 &_swigt__p_wxPalette
,
40137 &_swigt__p_wxPaletteChangedEvent
,
40138 &_swigt__p_wxPaperSize
,
40140 &_swigt__p_wxPenList
,
40141 &_swigt__p_wxPixelDataBase
,
40142 &_swigt__p_wxPoint
,
40143 &_swigt__p_wxPoint2D
,
40144 &_swigt__p_wxPostScriptDC
,
40145 &_swigt__p_wxPrintData
,
40146 &_swigt__p_wxPrinterDC
,
40147 &_swigt__p_wxPseudoDC
,
40148 &_swigt__p_wxPyApp
,
40149 &_swigt__p_wxPyCommandEvent
,
40150 &_swigt__p_wxPyEvent
,
40151 &_swigt__p_wxPyFontEnumerator
,
40152 &_swigt__p_wxPyImageHandler
,
40153 &_swigt__p_wxPyLocale
,
40154 &_swigt__p_wxPySizer
,
40155 &_swigt__p_wxPyValidator
,
40156 &_swigt__p_wxQueryNewPaletteEvent
,
40158 &_swigt__p_wxRect2D
,
40159 &_swigt__p_wxRegion
,
40160 &_swigt__p_wxRegionIterator
,
40161 &_swigt__p_wxRendererNative
,
40162 &_swigt__p_wxRendererVersion
,
40163 &_swigt__p_wxScreenDC
,
40164 &_swigt__p_wxScrollEvent
,
40165 &_swigt__p_wxScrollWinEvent
,
40166 &_swigt__p_wxSetCursorEvent
,
40167 &_swigt__p_wxShowEvent
,
40169 &_swigt__p_wxSizeEvent
,
40170 &_swigt__p_wxSizer
,
40171 &_swigt__p_wxSizerItem
,
40172 &_swigt__p_wxSplitterRenderParams
,
40173 &_swigt__p_wxStaticBoxSizer
,
40174 &_swigt__p_wxStdDialogButtonSizer
,
40175 &_swigt__p_wxStockGDI
,
40176 &_swigt__p_wxString
,
40177 &_swigt__p_wxSysColourChangedEvent
,
40178 &_swigt__p_wxTGAHandler
,
40179 &_swigt__p_wxTIFFHandler
,
40180 &_swigt__p_wxUpdateUIEvent
,
40181 &_swigt__p_wxValidator
,
40182 &_swigt__p_wxWindow
,
40183 &_swigt__p_wxWindowCreateEvent
,
40184 &_swigt__p_wxWindowDC
,
40185 &_swigt__p_wxWindowDestroyEvent
,
40186 &_swigt__p_wxXPMHandler
,
40189 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40191 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40192 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40193 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40194 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40196 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40204 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}};
40205 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40206 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40207 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}};
40208 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40210 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40211 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40212 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}};
40213 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40214 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40215 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40216 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40217 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40218 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40219 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40220 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40221 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40222 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40223 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40224 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40225 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40226 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}};
40227 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}};
40228 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40229 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40230 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40232 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}};
40233 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40234 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40235 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40236 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40238 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40239 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40240 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40241 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40242 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40243 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}};
40244 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40245 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}};
40246 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40248 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40249 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40250 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40267 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40268 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40269 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40290 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40294 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40295 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40296 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40297 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40307 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40308 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40328 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40329 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40330 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}};
40331 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40335 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40336 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40337 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}};
40338 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40342 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40343 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40344 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40345 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40349 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40350 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40355 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40356 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40357 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}};
40358 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40360 static swig_cast_info
*swig_cast_initial
[] = {
40364 _swigc__p_form_ops_t
,
40366 _swigc__p_unsigned_char
,
40367 _swigc__p_unsigned_int
,
40368 _swigc__p_unsigned_long
,
40370 _swigc__p_wxANIHandler
,
40371 _swigc__p_wxAcceleratorTable
,
40372 _swigc__p_wxActivateEvent
,
40373 _swigc__p_wxAlphaPixelData
,
40374 _swigc__p_wxAlphaPixelData_Accessor
,
40375 _swigc__p_wxAutoBufferedPaintDC
,
40376 _swigc__p_wxBMPHandler
,
40377 _swigc__p_wxBitmap
,
40378 _swigc__p_wxBoxSizer
,
40380 _swigc__p_wxBrushList
,
40381 _swigc__p_wxBufferedDC
,
40382 _swigc__p_wxBufferedPaintDC
,
40383 _swigc__p_wxCURHandler
,
40385 _swigc__p_wxChildFocusEvent
,
40386 _swigc__p_wxClientDC
,
40387 _swigc__p_wxClipboardTextEvent
,
40388 _swigc__p_wxCloseEvent
,
40390 _swigc__p_wxColour
,
40391 _swigc__p_wxColourDatabase
,
40392 _swigc__p_wxCommandEvent
,
40393 _swigc__p_wxContextMenuEvent
,
40394 _swigc__p_wxControl
,
40395 _swigc__p_wxControlWithItems
,
40396 _swigc__p_wxCursor
,
40398 _swigc__p_wxDCBrushChanger
,
40399 _swigc__p_wxDCClipper
,
40400 _swigc__p_wxDCOverlay
,
40401 _swigc__p_wxDCPenChanger
,
40402 _swigc__p_wxDCTextColourChanger
,
40404 _swigc__p_wxDateEvent
,
40405 _swigc__p_wxDisplayChangedEvent
,
40406 _swigc__p_wxDropFilesEvent
,
40407 _swigc__p_wxDuplexMode
,
40408 _swigc__p_wxEffects
,
40409 _swigc__p_wxEncodingConverter
,
40410 _swigc__p_wxEraseEvent
,
40412 _swigc__p_wxEvtHandler
,
40413 _swigc__p_wxFSFile
,
40414 _swigc__p_wxFileSystem
,
40415 _swigc__p_wxFlexGridSizer
,
40416 _swigc__p_wxFocusEvent
,
40418 _swigc__p_wxFontList
,
40419 _swigc__p_wxFontMapper
,
40420 _swigc__p_wxGBSizerItem
,
40422 _swigc__p_wxGDIObjListBase
,
40423 _swigc__p_wxGDIObject
,
40424 _swigc__p_wxGIFHandler
,
40425 _swigc__p_wxGraphicsBrush
,
40426 _swigc__p_wxGraphicsContext
,
40427 _swigc__p_wxGraphicsFont
,
40428 _swigc__p_wxGraphicsMatrix
,
40429 _swigc__p_wxGraphicsObject
,
40430 _swigc__p_wxGraphicsPath
,
40431 _swigc__p_wxGraphicsPen
,
40432 _swigc__p_wxGraphicsRenderer
,
40433 _swigc__p_wxGridBagSizer
,
40434 _swigc__p_wxGridSizer
,
40435 _swigc__p_wxHeaderButtonParams
,
40436 _swigc__p_wxICOHandler
,
40438 _swigc__p_wxIconBundle
,
40439 _swigc__p_wxIconLocation
,
40440 _swigc__p_wxIconizeEvent
,
40441 _swigc__p_wxIdleEvent
,
40443 _swigc__p_wxImageHandler
,
40444 _swigc__p_wxImageList
,
40445 _swigc__p_wxIndividualLayoutConstraint
,
40446 _swigc__p_wxInitDialogEvent
,
40447 _swigc__p_wxJPEGHandler
,
40448 _swigc__p_wxKeyEvent
,
40449 _swigc__p_wxLanguageInfo
,
40450 _swigc__p_wxLayoutConstraints
,
40451 _swigc__p_wxLocale
,
40453 _swigc__p_wxMaximizeEvent
,
40454 _swigc__p_wxMemoryDC
,
40456 _swigc__p_wxMenuBar
,
40457 _swigc__p_wxMenuEvent
,
40458 _swigc__p_wxMenuItem
,
40459 _swigc__p_wxMetaFile
,
40460 _swigc__p_wxMetaFileDC
,
40461 _swigc__p_wxMirrorDC
,
40462 _swigc__p_wxMouseCaptureChangedEvent
,
40463 _swigc__p_wxMouseCaptureLostEvent
,
40464 _swigc__p_wxMouseEvent
,
40465 _swigc__p_wxMoveEvent
,
40466 _swigc__p_wxNativeEncodingInfo
,
40467 _swigc__p_wxNativeFontInfo
,
40468 _swigc__p_wxNativePixelData
,
40469 _swigc__p_wxNativePixelData_Accessor
,
40470 _swigc__p_wxNavigationKeyEvent
,
40471 _swigc__p_wxNcPaintEvent
,
40472 _swigc__p_wxNotifyEvent
,
40473 _swigc__p_wxObject
,
40474 _swigc__p_wxOverlay
,
40475 _swigc__p_wxPCXHandler
,
40476 _swigc__p_wxPNGHandler
,
40477 _swigc__p_wxPNMHandler
,
40478 _swigc__p_wxPaintDC
,
40479 _swigc__p_wxPaintEvent
,
40480 _swigc__p_wxPalette
,
40481 _swigc__p_wxPaletteChangedEvent
,
40482 _swigc__p_wxPaperSize
,
40484 _swigc__p_wxPenList
,
40485 _swigc__p_wxPixelDataBase
,
40487 _swigc__p_wxPoint2D
,
40488 _swigc__p_wxPostScriptDC
,
40489 _swigc__p_wxPrintData
,
40490 _swigc__p_wxPrinterDC
,
40491 _swigc__p_wxPseudoDC
,
40493 _swigc__p_wxPyCommandEvent
,
40494 _swigc__p_wxPyEvent
,
40495 _swigc__p_wxPyFontEnumerator
,
40496 _swigc__p_wxPyImageHandler
,
40497 _swigc__p_wxPyLocale
,
40498 _swigc__p_wxPySizer
,
40499 _swigc__p_wxPyValidator
,
40500 _swigc__p_wxQueryNewPaletteEvent
,
40502 _swigc__p_wxRect2D
,
40503 _swigc__p_wxRegion
,
40504 _swigc__p_wxRegionIterator
,
40505 _swigc__p_wxRendererNative
,
40506 _swigc__p_wxRendererVersion
,
40507 _swigc__p_wxScreenDC
,
40508 _swigc__p_wxScrollEvent
,
40509 _swigc__p_wxScrollWinEvent
,
40510 _swigc__p_wxSetCursorEvent
,
40511 _swigc__p_wxShowEvent
,
40513 _swigc__p_wxSizeEvent
,
40515 _swigc__p_wxSizerItem
,
40516 _swigc__p_wxSplitterRenderParams
,
40517 _swigc__p_wxStaticBoxSizer
,
40518 _swigc__p_wxStdDialogButtonSizer
,
40519 _swigc__p_wxStockGDI
,
40520 _swigc__p_wxString
,
40521 _swigc__p_wxSysColourChangedEvent
,
40522 _swigc__p_wxTGAHandler
,
40523 _swigc__p_wxTIFFHandler
,
40524 _swigc__p_wxUpdateUIEvent
,
40525 _swigc__p_wxValidator
,
40526 _swigc__p_wxWindow
,
40527 _swigc__p_wxWindowCreateEvent
,
40528 _swigc__p_wxWindowDC
,
40529 _swigc__p_wxWindowDestroyEvent
,
40530 _swigc__p_wxXPMHandler
,
40534 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40536 static swig_const_info swig_const_table
[] = {
40537 {0, 0, 0, 0.0, 0, 0}};
40542 /* -----------------------------------------------------------------------------
40543 * Type initialization:
40544 * This problem is tough by the requirement that no dynamic
40545 * memory is used. Also, since swig_type_info structures store pointers to
40546 * swig_cast_info structures and swig_cast_info structures store pointers back
40547 * to swig_type_info structures, we need some lookup code at initialization.
40548 * The idea is that swig generates all the structures that are needed.
40549 * The runtime then collects these partially filled structures.
40550 * The SWIG_InitializeModule function takes these initial arrays out of
40551 * swig_module, and does all the lookup, filling in the swig_module.types
40552 * array with the correct data and linking the correct swig_cast_info
40553 * structures together.
40555 * The generated swig_type_info structures are assigned staticly to an initial
40556 * array. We just loop though that array, and handle each type individually.
40557 * First we lookup if this type has been already loaded, and if so, use the
40558 * loaded structure instead of the generated one. Then we have to fill in the
40559 * cast linked list. The cast data is initially stored in something like a
40560 * two-dimensional array. Each row corresponds to a type (there are the same
40561 * number of rows as there are in the swig_type_initial array). Each entry in
40562 * a column is one of the swig_cast_info structures for that type.
40563 * The cast_initial array is actually an array of arrays, because each row has
40564 * a variable number of columns. So to actually build the cast linked list,
40565 * we find the array of casts associated with the type, and loop through it
40566 * adding the casts to the list. The one last trick we need to do is making
40567 * sure the type pointer in the swig_cast_info struct is correct.
40569 * First off, we lookup the cast->type name to see if it is already loaded.
40570 * There are three cases to handle:
40571 * 1) If the cast->type has already been loaded AND the type we are adding
40572 * casting info to has not been loaded (it is in this module), THEN we
40573 * replace the cast->type pointer with the type pointer that has already
40575 * 2) If BOTH types (the one we are adding casting info to, and the
40576 * cast->type) are loaded, THEN the cast info has already been loaded by
40577 * the previous module so we just ignore it.
40578 * 3) Finally, if cast->type has not already been loaded, then we add that
40579 * swig_cast_info to the linked list (because the cast->type) pointer will
40581 * ----------------------------------------------------------------------------- */
40591 #define SWIGRUNTIME_DEBUG
40595 SWIG_InitializeModule(void *clientdata
) {
40597 swig_module_info
*module_head
;
40598 static int init_run
= 0;
40600 clientdata
= clientdata
;
40602 if (init_run
) return;
40605 /* Initialize the swig_module */
40606 swig_module
.type_initial
= swig_type_initial
;
40607 swig_module
.cast_initial
= swig_cast_initial
;
40609 /* Try and load any already created modules */
40610 module_head
= SWIG_GetModule(clientdata
);
40612 swig_module
.next
= module_head
->next
;
40613 module_head
->next
= &swig_module
;
40615 /* This is the first module loaded */
40616 swig_module
.next
= &swig_module
;
40617 SWIG_SetModule(clientdata
, &swig_module
);
40620 /* Now work on filling in swig_module.types */
40621 #ifdef SWIGRUNTIME_DEBUG
40622 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40624 for (i
= 0; i
< swig_module
.size
; ++i
) {
40625 swig_type_info
*type
= 0;
40626 swig_type_info
*ret
;
40627 swig_cast_info
*cast
;
40629 #ifdef SWIGRUNTIME_DEBUG
40630 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40633 /* if there is another module already loaded */
40634 if (swig_module
.next
!= &swig_module
) {
40635 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40638 /* Overwrite clientdata field */
40639 #ifdef SWIGRUNTIME_DEBUG
40640 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40642 if (swig_module
.type_initial
[i
]->clientdata
) {
40643 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40644 #ifdef SWIGRUNTIME_DEBUG
40645 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40649 type
= swig_module
.type_initial
[i
];
40652 /* Insert casting types */
40653 cast
= swig_module
.cast_initial
[i
];
40654 while (cast
->type
) {
40655 /* Don't need to add information already in the list */
40657 #ifdef SWIGRUNTIME_DEBUG
40658 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40660 if (swig_module
.next
!= &swig_module
) {
40661 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40662 #ifdef SWIGRUNTIME_DEBUG
40663 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40667 if (type
== swig_module
.type_initial
[i
]) {
40668 #ifdef SWIGRUNTIME_DEBUG
40669 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40674 /* Check for casting already in the list */
40675 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40676 #ifdef SWIGRUNTIME_DEBUG
40677 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40679 if (!ocast
) ret
= 0;
40684 #ifdef SWIGRUNTIME_DEBUG
40685 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40688 type
->cast
->prev
= cast
;
40689 cast
->next
= type
->cast
;
40695 /* Set entry in modules->types array equal to the type */
40696 swig_module
.types
[i
] = type
;
40698 swig_module
.types
[i
] = 0;
40700 #ifdef SWIGRUNTIME_DEBUG
40701 printf("**** SWIG_InitializeModule: Cast List ******\n");
40702 for (i
= 0; i
< swig_module
.size
; ++i
) {
40704 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40705 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40706 while (cast
->type
) {
40707 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40711 printf("---- Total casts: %d\n",j
);
40713 printf("**** SWIG_InitializeModule: Cast List ******\n");
40717 /* This function will propagate the clientdata field of type to
40718 * any new swig_type_info structures that have been added into the list
40719 * of equivalent types. It is like calling
40720 * SWIG_TypeClientData(type, clientdata) a second time.
40723 SWIG_PropagateClientData(void) {
40725 swig_cast_info
*equiv
;
40726 static int init_run
= 0;
40728 if (init_run
) return;
40731 for (i
= 0; i
< swig_module
.size
; i
++) {
40732 if (swig_module
.types
[i
]->clientdata
) {
40733 equiv
= swig_module
.types
[i
]->cast
;
40735 if (!equiv
->converter
) {
40736 if (equiv
->type
&& !equiv
->type
->clientdata
)
40737 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40739 equiv
= equiv
->next
;
40759 /* Python-specific SWIG API */
40760 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40761 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40762 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40764 /* -----------------------------------------------------------------------------
40765 * global variable support code.
40766 * ----------------------------------------------------------------------------- */
40768 typedef struct swig_globalvar
{
40769 char *name
; /* Name of global variable */
40770 PyObject
*(*get_attr
)(void); /* Return the current value */
40771 int (*set_attr
)(PyObject
*); /* Set the value */
40772 struct swig_globalvar
*next
;
40775 typedef struct swig_varlinkobject
{
40777 swig_globalvar
*vars
;
40778 } swig_varlinkobject
;
40780 SWIGINTERN PyObject
*
40781 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40782 return PyString_FromString("<Swig global variables>");
40785 SWIGINTERN PyObject
*
40786 swig_varlink_str(swig_varlinkobject
*v
) {
40787 PyObject
*str
= PyString_FromString("(");
40788 swig_globalvar
*var
;
40789 for (var
= v
->vars
; var
; var
=var
->next
) {
40790 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40791 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40793 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40798 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40799 PyObject
*str
= swig_varlink_str(v
);
40800 fprintf(fp
,"Swig global variables ");
40801 fprintf(fp
,"%s\n", PyString_AsString(str
));
40807 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40808 swig_globalvar
*var
= v
->vars
;
40810 swig_globalvar
*n
= var
->next
;
40817 SWIGINTERN PyObject
*
40818 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40819 PyObject
*res
= NULL
;
40820 swig_globalvar
*var
= v
->vars
;
40822 if (strcmp(var
->name
,n
) == 0) {
40823 res
= (*var
->get_attr
)();
40828 if (res
== NULL
&& !PyErr_Occurred()) {
40829 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40835 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40837 swig_globalvar
*var
= v
->vars
;
40839 if (strcmp(var
->name
,n
) == 0) {
40840 res
= (*var
->set_attr
)(p
);
40845 if (res
== 1 && !PyErr_Occurred()) {
40846 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40851 SWIGINTERN PyTypeObject
*
40852 swig_varlink_type(void) {
40853 static char varlink__doc__
[] = "Swig var link object";
40854 static PyTypeObject varlink_type
;
40855 static int type_init
= 0;
40857 const PyTypeObject tmp
40859 PyObject_HEAD_INIT(NULL
)
40860 0, /* Number of items in variable part (ob_size) */
40861 (char *)"swigvarlink", /* Type name (tp_name) */
40862 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40863 0, /* Itemsize (tp_itemsize) */
40864 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40865 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40866 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40867 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40868 0, /* tp_compare */
40869 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40870 0, /* tp_as_number */
40871 0, /* tp_as_sequence */
40872 0, /* tp_as_mapping */
40875 (reprfunc
)swig_varlink_str
, /* tp_str */
40876 0, /* tp_getattro */
40877 0, /* tp_setattro */
40878 0, /* tp_as_buffer */
40880 varlink__doc__
, /* tp_doc */
40881 0, /* tp_traverse */
40883 0, /* tp_richcompare */
40884 0, /* tp_weaklistoffset */
40885 #if PY_VERSION_HEX >= 0x02020000
40886 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40888 #if PY_VERSION_HEX >= 0x02030000
40891 #ifdef COUNT_ALLOCS
40892 0,0,0,0 /* tp_alloc -> tp_next */
40895 varlink_type
= tmp
;
40896 varlink_type
.ob_type
= &PyType_Type
;
40899 return &varlink_type
;
40902 /* Create a variable linking object for use later */
40903 SWIGINTERN PyObject
*
40904 SWIG_Python_newvarlink(void) {
40905 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40909 return ((PyObject
*) result
);
40913 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40914 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40915 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40917 size_t size
= strlen(name
)+1;
40918 gv
->name
= (char *)malloc(size
);
40920 strncpy(gv
->name
,name
,size
);
40921 gv
->get_attr
= get_attr
;
40922 gv
->set_attr
= set_attr
;
40923 gv
->next
= v
->vars
;
40929 SWIGINTERN PyObject
*
40931 static PyObject
*_SWIG_globals
= 0;
40932 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40933 return _SWIG_globals
;
40936 /* -----------------------------------------------------------------------------
40937 * constants/methods manipulation
40938 * ----------------------------------------------------------------------------- */
40940 /* Install Constants */
40942 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40945 for (i
= 0; constants
[i
].type
; ++i
) {
40946 switch(constants
[i
].type
) {
40947 case SWIG_PY_POINTER
:
40948 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40950 case SWIG_PY_BINARY
:
40951 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40958 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40964 /* -----------------------------------------------------------------------------*/
40965 /* Fix SwigMethods to carry the callback ptrs when needed */
40966 /* -----------------------------------------------------------------------------*/
40969 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40970 swig_const_info
*const_table
,
40971 swig_type_info
**types
,
40972 swig_type_info
**types_initial
) {
40974 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40975 const char *c
= methods
[i
].ml_doc
;
40976 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40978 swig_const_info
*ci
= 0;
40979 const char *name
= c
+ 10;
40980 for (j
= 0; const_table
[j
].type
; ++j
) {
40981 if (strncmp(const_table
[j
].name
, name
,
40982 strlen(const_table
[j
].name
)) == 0) {
40983 ci
= &(const_table
[j
]);
40988 size_t shift
= (ci
->ptype
) - types
;
40989 swig_type_info
*ty
= types_initial
[shift
];
40990 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40991 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40992 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40995 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40997 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40999 strncpy(buff
, "swig_ptr: ", 10);
41001 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41002 methods
[i
].ml_doc
= ndoc
;
41014 /* -----------------------------------------------------------------------------*
41015 * Partial Init method
41016 * -----------------------------------------------------------------------------*/
41021 SWIGEXPORT
void SWIG_init(void) {
41024 /* Fix SwigMethods to carry the callback ptrs when needed */
41025 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41027 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41028 d
= PyModule_GetDict(m
);
41030 SWIG_InitializeModule(0);
41031 SWIG_InstallConstants(d
,swig_const_table
);
41034 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41035 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41036 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41037 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41038 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41039 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41040 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41041 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41042 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41043 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41044 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41045 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41046 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41047 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41048 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41049 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41050 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41051 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41052 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41053 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41054 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41055 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41056 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41057 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41058 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41059 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41060 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41061 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41062 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41063 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41064 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41065 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41066 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41067 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41068 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41069 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41070 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41071 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41072 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41073 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41074 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41075 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41076 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41077 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41078 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41079 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41080 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41081 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41082 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41083 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41084 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41085 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41086 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41087 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41088 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41089 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41090 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41091 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41092 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41093 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41094 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41095 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41096 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41097 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41098 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41099 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41100 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41101 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41102 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41103 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41104 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41105 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41106 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41107 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41108 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41109 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41110 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41111 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41112 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41113 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41114 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41115 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41116 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41117 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41118 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41119 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41120 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41121 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41122 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41123 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41164 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41165 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41167 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41400 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41401 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41402 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41403 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41404 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41405 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41406 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41407 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41408 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41409 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41410 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41411 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41412 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41413 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41414 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41415 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41416 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41417 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41418 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41419 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41420 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41421 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41422 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41423 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41424 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41425 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41426 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41427 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41428 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41429 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41430 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41431 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41432 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41433 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41434 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41435 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41436 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41437 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41438 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41439 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41440 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41441 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41442 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41443 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41444 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41445 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41446 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41447 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41448 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41449 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41450 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41451 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41452 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41453 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41454 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41455 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41456 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41457 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41458 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41459 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41460 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41461 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41462 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41463 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41464 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41465 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41466 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41467 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41468 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41469 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41470 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41471 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41472 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41473 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41474 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41475 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41476 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41477 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41478 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41479 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41480 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41481 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41482 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41483 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41484 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41485 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41486 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41487 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41488 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41489 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41490 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41491 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41492 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41494 // Work around a chicken/egg problem in drawlist.cpp
41495 wxPyDrawList_SetAPIPtr();